Disable std feature for twox-hash to fix Wasm build

This commit is contained in:
Héctor Ramón Jiménez 2023-02-04 12:42:02 +01:00
parent 17470bf7d3
commit da4182099d
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 16 additions and 4 deletions

View file

@ -35,9 +35,16 @@ futures = "0.3"
bitflags = "1.2"
once_cell = "1.0"
rustc-hash = "1.1"
twox-hash = "1.6"
ouroboros = "0.15"
[dependencies.twox-hash]
version = "1.6"
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.twox-hash]
version = "1.6.1"
features = ["std"]
[dependencies.bytemuck]
version = "1.9"
features = ["derive"]