This commit is contained in:
Wilson Lin 2020-01-31 23:16:48 +11:00
parent aaf57a9c22
commit ddf7834c90
12 changed files with 30 additions and 30 deletions

20
Cargo.lock generated
View File

@ -88,7 +88,7 @@ dependencies = [
[[package]]
name = "hyperbuild"
version = "0.0.41"
version = "0.0.42"
dependencies = [
"cascade 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"fastrie 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@ -160,10 +160,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "proc-macro-error"
version = "0.4.5"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro-error-attr 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro-error-attr 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rustversion 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
@ -172,14 +172,14 @@ dependencies = [
[[package]]
name = "proc-macro-error-attr"
version = "0.4.5"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rustversion 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
"syn-mid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"syn-mid 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@ -323,7 +323,7 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro-error 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro-error 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
@ -341,7 +341,7 @@ dependencies = [
[[package]]
name = "syn-mid"
version = "0.4.0"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
@ -421,8 +421,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum phf_macros 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7f6fde18ff429ffc8fe78e2bf7f8b7a5a5a6e2a8b58bc5a9ac69198bbda9189c"
"checksum phf_shared 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
"checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b"
"checksum proc-macro-error 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "1b79a464461615532fcc8a6ed8296fa66cc12350c18460ab3f4594a6cee0fcb6"
"checksum proc-macro-error-attr 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "23832e5eae6bac56bbac190500eef1aaede63776b5cd131eaa4ee7fe120cd892"
"checksum proc-macro-error 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a427176b1223957a219780f6bd014fad03f59543ff7feb3854a6fb8e9626ac2b"
"checksum proc-macro-error-attr 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1f3e4daa0eae3f30db348ecfa5f942281173d441588ebdac871d730acbfc7f16"
"checksum proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5"
"checksum proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3acb317c6ff86a4e579dfa00fc5e6cca91ecbb4e7eb2df0468805b674eb88548"
"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
@ -441,7 +441,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum structopt 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "df136b42d76b1fbea72e2ab3057343977b04b4a2e00836c3c7c0673829572713"
"checksum structopt-derive 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fd50a87d2f7b8958055f3e73a963d78feaccca3836767a9069844e34b5b03c0a"
"checksum syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)" = "af6f3550d8dff9ef7dc34d384ac6f107e5d31c8f57d9f28e0081503f547ac8f5"
"checksum syn-mid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9fd3937748a7eccff61ba5b90af1a20dbf610858923a9192ea0ecb0cb77db1d0"
"checksum syn-mid 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a"
"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
"checksum unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
"checksum unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479"

View File

@ -7,7 +7,7 @@ readme = "README.md"
keywords = ["html", "compress", "minifier", "minify", "minification"]
categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"]
repository = "https://github.com/wilsonzlin/hyperbuild.git"
version = "0.0.41"
version = "0.0.42"
authors = ["Wilson Lin <code@wilsonl.in>"]
edition = "2018"
include = ["/gen/*.json", "/src/**/*", "/build.rs", "/Cargo.toml", "/LICENSE", "/README.md"]

View File

@ -17,7 +17,7 @@ Available as:
Speed and effectiveness of Node.js version compared to [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize). See [bench](./bench) folder for more details.
<img width="435" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/hyperbuild/bench/0.0.41/average-speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/hyperbuild/bench/0.0.41/average-sizes.png">
<img width="435" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/hyperbuild/bench/0.0.42/average-speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/hyperbuild/bench/0.0.42/average-sizes.png">
## Usage
@ -27,9 +27,9 @@ Precompiled binaries are available for x86-64 Windows, macOS, and Linux. To comp
##### Get
[Windows](https://wilsonl.in/hyperbuild/bin/0.0.41-windows-x86_64.exe) |
[macOS](https://wilsonl.in/hyperbuild/bin/0.0.41-macos-x86_64) |
[Linux](https://wilsonl.in/hyperbuild/bin/0.0.41-linux-x86_64)
[Windows](https://wilsonl.in/hyperbuild/bin/0.0.42-windows-x86_64.exe) |
[macOS](https://wilsonl.in/hyperbuild/bin/0.0.42-macos-x86_64) |
[Linux](https://wilsonl.in/hyperbuild/bin/0.0.42-linux-x86_64)
##### Use
@ -46,7 +46,7 @@ hyperbuild --src /path/to/src.html --out /path/to/output.min.html
```toml
[dependencies]
hyperbuild = "0.0.41"
hyperbuild = "0.0.42"
```
##### Use
@ -107,7 +107,7 @@ Add as a Maven dependency:
<dependency>
<groupId>in.wilsonl.hyperbuild</groupId>
<artifactId>hyperbuild</artifactId>
<version>0.0.41</version>
<version>0.0.42</version>
</dependency>
```

View File

@ -33,7 +33,7 @@ For more information on how the tests are fetched, see [fetch.js](./fetch.js).
On this [project's README](../README.md), average graphs are shown. Graphs showing per-test results are shown below:
<img width="435" alt="Chart showing speed of HTML minifiers per test" src="https://wilsonl.in/hyperbuild/bench/0.0.41/speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers per test" src="https://wilsonl.in/hyperbuild/bench/0.0.41/sizes.png">
<img width="435" alt="Chart showing speed of HTML minifiers per test" src="https://wilsonl.in/hyperbuild/bench/0.0.42/speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers per test" src="https://wilsonl.in/hyperbuild/bench/0.0.42/sizes.png">
Since speed depends on the input, speed charts show performance relative to hyperbuild-nodejs as a percentage.

View File

@ -1,12 +1,12 @@
[package]
name = "hyperbuild-java"
publish = false
version = "0.0.41"
version = "0.0.42"
authors = ["Wilson Lin <code@wilsonl.in>"]
edition = "2018"
[dependencies]
hyperbuild = "0.0.41"
hyperbuild = "0.0.42"
jni = "0.14.0"
[lib]

View File

@ -6,7 +6,7 @@
<groupId>in.wilsonl.hyperbuild</groupId>
<artifactId>hyperbuild</artifactId>
<version>0.0.41</version>
<version>0.0.42</version>
<name>hyperbuild</name>
<description>Fast one-pass in-place HTML minifier written in Rust with context-aware whitespace handling</description>

View File

@ -1,7 +1,7 @@
[package]
name = "hyperbuild-nodejs"
publish = false
version = "0.0.41"
version = "0.0.42"
authors = ["Wilson Lin <code@wilsonl.in>"]
license = "MIT"
build = "build.rs"
@ -16,5 +16,5 @@ crate-type = ["cdylib"]
neon-build = "0.3.3"
[dependencies]
hyperbuild = "0.0.41"
hyperbuild = "0.0.42"
neon = "0.3.3"

View File

@ -1,6 +1,6 @@
{
"name": "hyperbuild",
"version": "0.0.41",
"version": "0.0.42",
"description": "Fast one-pass in-place HTML minifier written in Rust with context-aware whitespace handling",
"main": "dist/index.js",
"files": [

View File

@ -1,7 +1,7 @@
[package]
name = "hyperbuild-python"
publish = false
version = "0.0.41"
version = "0.0.42"
authors = ["Wilson Lin <code@wilsonl.in>"]
edition = "2018"
@ -10,7 +10,7 @@ name = "hyperbuild_python_lib"
crate-type = ["cdylib"]
[dependencies]
hyperbuild = "0.0.41"
hyperbuild = "0.0.42"
[dependencies.pyo3]
version = "0.9.0-alpha.1"
features = ["extension-module"]

View File

@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="hyperbuild",
version="0.0.41",
version="0.0.42",
author="Wilson Lin",
author_email="code@wilsonl.in",
description="Fast one-pass in-place HTML minifier written in Rust with context-aware whitespace handling",

View File

@ -1,7 +1,7 @@
[package]
name = "hyperbuild-ruby"
publish = false
version = "0.0.41"
version = "0.0.42"
authors = ["Wilson Lin <code@wilsonl.in>"]
edition = "2018"
@ -10,5 +10,5 @@ name = "hyperbuild_ruby_lib"
crate-type = ["cdylib"]
[dependencies]
hyperbuild = "0.0.41"
hyperbuild = "0.0.42"
rutie = "0.7.0"

View File

@ -2,7 +2,7 @@ require 'rake'
Gem::Specification.new do |spec|
spec.name = "hyperbuild"
spec.version = "0.0.41"
spec.version = "0.0.42"
spec.authors = ["Wilson Lin"]
spec.email = ["code@wilsonl.in"]
spec.license = "MIT"