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]
|
2020-08-11 05:16:30 +00:00
|
|
|
ring = "0.16.12"
|
2019-06-22 17:57:37 +00:00
|
|
|
|
2019-11-05 01:28:35 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2020-07-06 01:55:56 +00:00
|
|
|
sha2 = "0.9.1"
|
2019-11-05 01:28:35 +00:00
|
|
|
|
2019-06-22 17:57:37 +00:00
|
|
|
[dev-dependencies]
|
2020-05-17 11:16:48 +00:00
|
|
|
rustc-hex = "2.1.0"
|
2019-06-22 17:57:37 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2020-10-05 08:22:19 +00:00
|
|
|
wasm-bindgen-test = "0.3.18"
|
2019-11-05 04:46:52 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["zero_hash_cache"]
|
|
|
|
zero_hash_cache = ["lazy_static"]
|