Skip to content

Commit

Permalink
Make brotli optional
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Feb 3, 2025
1 parent 9d3d79a commit a1470af
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
34 changes: 31 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions azul-text-layout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ autoexamples = false
azul-css = { path = "../azul-css", version = "0.0.1", default-features = false }
azul-core = { path = "../azul-core", version = "0.0.2", default-features = false, features = ["std"] }
unicode-normalization = { version = "0.1.21", default-features = false }
allsorts = { version = "0.15.0", default-features = false, features = ["flate2_rust"] }
allsorts = { version = "0.15.0", git = "https://github.com/fschutt/allsorts", branch = "optional-brotli", default-features = false, features = ["flate2_rust"] }
tinyvec = { version = "1.6.0", default-features = false }
rayon = { version = "1.5.3", default-features = false }
ttf-parser = { version = "0.15.2", default-features = false, features = ["variable-fonts"] }
ttf-parser = { version = "0.15.2", default-features = false, features = ["variable-fonts"] }

[features]
default = ["woff2"]
woff2 = ["allsorts/brotli"]

0 comments on commit a1470af

Please sign in to comment.