Skip to content

Commit

Permalink
release: 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Jan 21, 2024
2 parents ad79be9 + 6237817 commit 4e57cd2
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 33 deletions.
22 changes: 11 additions & 11 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Project Dependencies
Package: htminl
Version: 0.8.1
Generated: 2023-12-28 19:19:51 UTC
Version: 0.8.2
Generated: 2024-01-21 06:47:13 UTC

| Package | Version | Author(s) | License |
| ---- | ---- | ---- | ---- |
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.6 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
| [argyle](https://github.com/Blobfolio/argyle) | 0.6.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.7 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
| [argyle](https://github.com/Blobfolio/argyle) | 0.7.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [bytecount](https://github.com/llogiq/bytecount) | 0.6.7 | [Andre Bogus](mailto:[email protected]) and [Joshua Landau](mailto:[email protected]) | Apache-2.0 or MIT |
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
| [crossbeam-deque](https://github.com/crossbeam-rs/crossbeam) | 0.8.4 | | Apache-2.0 or MIT |
| [crossbeam-epoch](https://github.com/crossbeam-rs/crossbeam) | 0.9.17 | | Apache-2.0 or MIT |
| [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) | 0.8.18 | | Apache-2.0 or MIT |
| [crossbeam-deque](https://github.com/crossbeam-rs/crossbeam) | 0.8.5 | | Apache-2.0 or MIT |
| [crossbeam-epoch](https://github.com/crossbeam-rs/crossbeam) | 0.9.18 | | Apache-2.0 or MIT |
| [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) | 0.8.19 | | Apache-2.0 or MIT |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.6.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dowser](https://github.com/Blobfolio/dowser) | 0.8.1 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [either](https://github.com/bluss/either) | 1.9.0 | bluss | Apache-2.0 or MIT |
Expand All @@ -34,12 +34,12 @@
| [phf](https://github.com/sfackler/rust-phf) | 0.10.1 | [Steven Fackler](mailto:[email protected]) | MIT |
| [phf_shared](https://github.com/sfackler/rust-phf) | 0.10.0 | [Steven Fackler](mailto:[email protected]) | MIT |
| [precomputed-hash](https://github.com/emilio/precomputed-hash) | 0.1.1 | [Emilio Cobos Álvarez](mailto:[email protected]) | MIT |
| [rayon](https://github.com/rayon-rs/rayon) | 1.8.0 | [Niko Matsakis](mailto:[email protected]) and [Josh Stone](mailto:[email protected]) | Apache-2.0 or MIT |
| [rayon-core](https://github.com/rayon-rs/rayon) | 1.12.0 | [Niko Matsakis](mailto:[email protected]) and [Josh Stone](mailto:[email protected]) | Apache-2.0 or MIT |
| [rayon](https://github.com/rayon-rs/rayon) | 1.8.1 | [Niko Matsakis](mailto:[email protected]) and [Josh Stone](mailto:[email protected]) | Apache-2.0 or MIT |
| [rayon-core](https://github.com/rayon-rs/rayon) | 1.12.1 | [Niko Matsakis](mailto:[email protected]) and [Josh Stone](mailto:[email protected]) | Apache-2.0 or MIT |
| [scopeguard](https://github.com/bluss/scopeguard) | 1.2.0 | bluss | Apache-2.0 or MIT |
| [serde](https://github.com/serde-rs/serde) | 1.0.193 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
| [serde](https://github.com/serde-rs/serde) | 1.0.195 | [Erick Tryzelaar](mailto:[email protected]) and [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
| [siphasher](https://github.com/jedisct1/rust-siphash) | 0.3.11 | [Frank Denis](mailto:[email protected]) | Apache-2.0 or MIT |
| [smallvec](https://github.com/servo/rust-smallvec) | 1.11.2 | The Servo Project Developers | Apache-2.0 or MIT |
| [smallvec](https://github.com/servo/rust-smallvec) | 1.13.1 | The Servo Project Developers | Apache-2.0 or MIT |
| [string_cache](https://github.com/servo/string-cache) | 0.8.7 | The Servo Project Developers | Apache-2.0 or MIT |
| [tempfile](https://github.com/Stebalien/tempfile) | 3.9.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | Apache-2.0 or MIT |
| [tendril](https://github.com/servo/tendril) | 0.4.3 | [Keegan McAllister](mailto:[email protected]), [Simon Sapin](mailto:[email protected]), and [Chris Morgan](mailto:[email protected]) | Apache-2.0 or MIT |
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "htminl"
version = "0.8.1"
version = "0.8.2"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
Expand All @@ -12,14 +12,14 @@ publish = false

[package.metadata.deb]
maintainer = "Josh Stoik <[email protected]>"
copyright = "2022, Blobfolio, LLC <[email protected]>"
copyright = "2024, Blobfolio, LLC <[email protected]>"
license-file = ["./LICENSE", "0"]
extended-description = ""
revision = "1"
depends = "$auto"
section = "utils"
assets = [
["./target/x86_64-unknown-linux-gnu/release/htminl", "usr/bin/", "755"],
["./target/release/htminl", "usr/bin/", "755"],
["./release/completions/htminl.bash", "etc/bash_completion.d/", "644"],
["./release/man/htminl.1.gz", "usr/share/man/man1/", "644"],
]
Expand Down Expand Up @@ -49,7 +49,7 @@ description = "Print program version and exit."
short = "-l"
long = "--list"
label = "<FILE>"
description = "Read (absolute) file and/or directory paths from this text file, one entry per line."
description = "Read (absolute) file and/or directory paths from this text file — or STDIN if '-' — one entry per line, instead of or in addition to the trailing <PATH(S)>."
path = true

[[package.metadata.bashman.arguments]]
Expand All @@ -60,7 +60,7 @@ description = "Any number of files and directories to crawl and crunch."
dowser = "0.8.*"

[dependencies]
argyle = "0.6.*"
argyle = "0.7.*"
dactyl = "0.6.*"
dowser = "0.8.*"
html5ever = "=0.26.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Still, not too shabby!

See also: [CREDITS.md](CREDITS.md)

Copyright © 2023 [Blobfolio, LLC](https://blobfolio.com) &lt;[email protected]&gt;
Copyright © 2024 [Blobfolio, LLC](https://blobfolio.com) &lt;[email protected]&gt;

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2.

Expand Down
14 changes: 4 additions & 10 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ pkg_name := "HTMinL"
pkg_dir1 := justfile_directory()

cargo_dir := "/tmp/" + pkg_id + "-cargo"
cargo_bin := cargo_dir + "/x86_64-unknown-linux-gnu/release/" + pkg_id
cargo_bin := cargo_dir + "/release/" + pkg_id
data_dir := "/tmp/bench-data"
doc_dir := justfile_directory() + "/doc"
release_dir := justfile_directory() + "/release"

export RUSTFLAGS := "-C target-cpu=x86-64-v3"



# Bench it!
Expand All @@ -35,12 +37,10 @@ bench BENCH="":
if [ -z "{{ BENCH }}" ]; then
cargo bench \
--benches \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"
else
cargo bench \
--bench "{{ BENCH }}" \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"
fi
exit 0
Expand Down Expand Up @@ -128,7 +128,6 @@ bench-bin DIR NATIVE="":
cargo build \
--bin "{{ pkg_id }}" \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"


Expand Down Expand Up @@ -165,7 +164,6 @@ bench-bin DIR NATIVE="":
clear
cargo clippy \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"


Expand All @@ -181,12 +179,11 @@ bench-bin DIR NATIVE="":
cargo doc \
--release \
--no-deps \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"

# Move the docs and clean up ownership.
[ ! -d "{{ doc_dir }}" ] || rm -rf "{{ doc_dir }}"
mv "{{ cargo_dir }}/x86_64-unknown-linux-gnu/doc" "{{ justfile_directory() }}"
mv "{{ cargo_dir }}/doc" "{{ justfile_directory() }}"
just _fix-chown "{{ doc_dir }}"

exit 0
Expand All @@ -197,7 +194,6 @@ bench-bin DIR NATIVE="":
cargo run \
--bin "{{ pkg_id }}" \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}" \
-- {{ ARGS }}

Expand All @@ -206,11 +202,9 @@ bench-bin DIR NATIVE="":
@test:
clear
cargo test \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"
cargo test \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"


Expand Down
6 changes: 3 additions & 3 deletions release/man/htminl.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "HTMINL" "1" "December 2023" "HTMinL v0.8.1" "User Commands"
.TH "HTMINL" "1" "January 2024" "HTMinL v0.8.2" "User Commands"
.SH NAME
HTMinL \- Manual page for htminl v0.8.1.
HTMinL \- Manual page for htminl v0.8.2.
.SH DESCRIPTION
In\-place minification of HTML file(s).
.SS USAGE:
Expand All @@ -19,7 +19,7 @@ Print program version and exit.
.SS OPTIONS:
.TP
\fB\-l\fR, \fB\-\-list\fR <FILE>
Read (absolute) file and/or directory paths from this text file, one entry per line.
Read (absolute) file and/or directory paths from this text file — or STDIN if '\-' — one entry per line, instead of or in addition to the trailing <PATH(S)>.
.SS <PATH(S)…>:
.TP
Any number of files and directories to crawl and crunch.
7 changes: 4 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fn helper() {
__,---.__
,-' `-.__
&/ `._\ _\
/ ''._ ", "\x1b[38;5;199mHTMinL\x1b[0;38;5;69m v", env!("CARGO_PKG_VERSION"), "\x1b[0m", r"
/ ''._ ", "\x1b[38;5;199mHTMinL\x1b[0;38;5;69m v", env!("CARGO_PKG_VERSION"), "\x1b[0m", r#"
| , (∞) Fast, safe, in-place
|__,'`-..--|__|--'' HTML minification.
Expand All @@ -182,10 +182,11 @@ FLAGS:
OPTIONS:
-l, --list <FILE> Read (absolute) file and/or directory paths from this
text file, one entry per line.
text file — or STDIN if "-" — one entry per line, instead
of or in addition to the trailing <PATH(S)>.
ARGS:
<PATH(S)>... One or more files or directories to compress.
"
"#
));
}

0 comments on commit 4e57cd2

Please sign in to comment.