2019-02-14 01:09:18 +00:00
|
|
|
[package]
|
2019-08-08 01:39:47 +00:00
|
|
|
name = "eth2_hashing"
|
2019-11-05 04:46:52 +00:00
|
|
|
version = "0.1.1"
|
2019-02-14 01:09:18 +00:00
|
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
|
|
edition = "2018"
|
2019-08-08 01:39:47 +00:00
|
|
|
license = "Apache-2.0"
|
|
|
|
description = "Hashing primitives used in Ethereum 2.0"
|
2019-02-14 01:09:18 +00:00
|
|
|
|
2019-11-05 04:46:52 +00:00
|
|
|
[dependencies]
|
|
|
|
lazy_static = { version = "1.4.0", optional = true }
|
|
|
|
|
2019-06-22 17:57:37 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2019-10-30 01:22:18 +00:00
|
|
|
ring = "0.16.9"
|
2019-06-22 17:57:37 +00:00
|
|
|
|
2019-11-05 01:28:35 +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]
|
2019-10-30 01:22:18 +00:00
|
|
|
wasm-bindgen-test = "0.3.2"
|
2019-11-05 04:46:52 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["zero_hash_cache"]
|
|
|
|
zero_hash_cache = ["lazy_static"]
|