Depend on sha2 in eth2_hashing for wasm32 (#589)

This commit is contained in:
Sam Wilson 2019-11-04 20:28:35 -05:00 committed by Paul Hauner
parent 83c571d6eb
commit dea2b5dffc

View File

@ -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"