This commit is contained in:
Wilson Lin 2021-08-08 13:01:44 +10:00
commit 613f98c302
12 changed files with 18 additions and 18 deletions

View file

@ -19,7 +19,7 @@ A Rust HTML minifier meticulously optimised for speed and effectiveness, with bi
Comparison with [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on the top web pages. [See the breakdown here.](./bench)
<img width="415" alt="Chart showing speed and compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.5.3/core/average-combined.png">
<img width="415" alt="Chart showing speed and compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.0/core/average-combined.png">
Need even faster performance? Check the [one](https://github.com/wilsonzlin/minify-html/tree/one) branch.
@ -32,10 +32,10 @@ Precompiled binaries are available for Linux, macOS, and Windows.
### Get
[Linux x86-64](https://wilsonl.in/minify-html/bin/0.5.3-linux-x86_64) |
[Linux ARM](https://wilsonl.in/minify-html/bin/0.5.3-linux-arm64) |
[macOS](https://wilsonl.in/minify-html/bin/0.5.3-macos-x86_64) |
[Windows](https://wilsonl.in/minify-html/bin/0.5.3-windows-x86_64.exe)
[Linux x86-64](https://wilsonl.in/minify-html/bin/0.6.0-linux-x86_64) |
[Linux ARM](https://wilsonl.in/minify-html/bin/0.6.0-linux-arm64) |
[macOS](https://wilsonl.in/minify-html/bin/0.6.0-macos-x86_64) |
[Windows](https://wilsonl.in/minify-html/bin/0.6.0-windows-x86_64.exe)
### Use
@ -54,7 +54,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
```toml
[dependencies]
minify-html = { version = "0.5.3", features = ["js-esbuild"] }
minify-html = { version = "0.6.0", features = ["js-esbuild"] }
```
Building with the `js-esbuild` feature requires the Go compiler to be installed as well, to build the [JS and CSS minifier](https://github.com/wilsonzlin/esbuild-rs).
@ -125,7 +125,7 @@ Add as a Maven dependency:
<dependency>
<groupId>in.wilsonl.minifyhtml</groupId>
<artifactId>minify-html</artifactId>
<version>0.5.3</version>
<version>0.6.0</version>
</dependency>
```