Skip to content

Commit

Permalink
Don't use -sys in -rs with default features enabled
Browse files Browse the repository at this point in the history
The -rs crate passes the features through one by one and enables them by
default by having them in its default config. However, disabling
features does not work, since -sys is always loaded with default
features. Therefore disable default features for -sys and everything
works as expected.
  • Loading branch information
sophie-h committed Sep 2, 2024
1 parent a3e5f33 commit 77449eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jpegxl-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ byteorder = "1.5.0"
[dependencies.jpegxl-sys]
version = "0.10.3"
path = "../jpegxl-sys"
default-features = false

[dev-dependencies]
image = { version = "0.25.2", default-features = false, features = [
Expand Down

0 comments on commit 77449eb

Please sign in to comment.