diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 96c0176..b99d161 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -56,7 +56,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: clippy - args: -- -D warnings + args: --features=macro -- -D warnings boostrap: runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index ccb8a35..f16ecce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ --> -# 0.12.1 (unreleased) +# 0.12.1 - add `grass::include!` macro to make it easier to include CSS at compile time - various optimizations improving the bootstrap benchmark by ~30% and the bulma benchmark by ~15% diff --git a/Cargo.toml b/Cargo.toml index dc08ff8..fdbaabd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grass" -version = "0.12.0" +version = "0.12.1" description = "A Sass compiler written purely in Rust" readme = "README.md" license = "MIT" @@ -24,8 +24,8 @@ path = "src/lib.rs" bench = false [dependencies] -grass_internal = { path = "./grass_internal" } -include_sass = { path = "./include_sass", optional = true } +grass_internal = { path = "./grass_internal", version = "0.12.1" } +include_sass = { path = "./include_sass", version = "0.12.1", optional = true } clap = { version = "2.34.0", optional = true } [features] diff --git a/README.md b/README.md index b646bd8..50eb2ef 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,9 @@ The spec runner does not work on Windows. Using a modified version of the spec runner that ignores warnings and error spans (but does include error messages), `grass` achieves the following results: ``` -2022-01-03 -PASSING: 6153 -FAILING: 752 +2022-01-07 +PASSING: 6152 +FAILING: 753 TOTAL: 6905 ``` diff --git a/grass_internal/Cargo.toml b/grass_internal/Cargo.toml index 0a1ece9..b2e115f 100644 --- a/grass_internal/Cargo.toml +++ b/grass_internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grass_internal" -version = "0.12.0" +version = "0.12.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -26,10 +26,8 @@ phf = { version = "0.10.1", features = ["macros"] } indexmap = "1.9.0" # todo: do we really need interning for things? lasso = "0.6" -# include_sass = { path = "./include_sass", optional = true } [features] -# todo: no commandline by default default = ["random"] # Option (enabled by default): enable the builtin functions `random([$limit])` and `unique-id()` random = ["rand"] diff --git a/include_sass/Cargo.toml b/include_sass/Cargo.toml index 772afcf..10bb742 100644 --- a/include_sass/Cargo.toml +++ b/include_sass/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "include_sass" -version = "0.12.0" +version = "0.12.1" edition = "2021" [lib] @@ -9,7 +9,7 @@ proc-macro = true [dependencies] syn = { version = "1.0.103", default-features = false } grass_internal = { path = "../grass_internal" } -quote = "1.0.23" +quote = { version = "1.0.23", default-features = false } [features] nightly = []