Depend on sha2 in eth2_hashing for wasm32 (#589)
This commit is contained in:
parent
83c571d6eb
commit
dea2b5dffc
@ -9,6 +9,9 @@ description = "Hashing primitives used in Ethereum 2.0"
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
ring = "0.16.9"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
sha2 = "0.8.0"
|
||||
|
||||
[dev-dependencies]
|
||||
rustc-hex = "2.0.1"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user