Skip to content

Commit

Permalink
wip: no need to turn off default feautures
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangengDong committed Oct 27, 2023
1 parent 753023f commit b35ce27
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ thiserror = "1.0"
lz4_flex = { version = "0.11.1", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
zstd = { version = "0.11", default-features = false, features = [
"wasm",
], optional = true }
zstd = { version = "0.11", features = ["wasm"], optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
zstd = { version = "0.11", features = ["zstdmt"], optional = true }
Expand Down

0 comments on commit b35ce27

Please sign in to comment.