lighthouse/eth2/utils/eth2_hashing/Cargo.toml

27 lines
606 B
TOML
Raw Normal View History

[package]
name = "eth2_hashing"
version = "0.1.1"
authors = ["Paul Hauner <paul@paulhauner.com>"]
edition = "2018"
license = "Apache-2.0"
description = "Hashing primitives used in Ethereum 2.0"
[dependencies]
lazy_static = { version = "1.4.0", optional = true }
2019-06-22 17:57:37 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ring = "0.16.9"
2019-06-22 17:57:37 +00:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
sha2 = "0.8.0"
2019-06-22 17:57:37 +00:00
[dev-dependencies]
rustc-hex = "2.0.1"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.2"
[features]
default = ["zero_hash_cache"]
zero_hash_cache = ["lazy_static"]