diff --git a/eth2/utils/eth2_hashing/Cargo.toml b/eth2/utils/eth2_hashing/Cargo.toml index 3e7d8ed3f1..af48d0d4e7 100644 --- a/eth2/utils/eth2_hashing/Cargo.toml +++ b/eth2/utils/eth2_hashing/Cargo.toml @@ -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"