mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Depend on sha2 in eth2_hashing for wasm32 (#589)
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user