2019-02-14 01:09:18 +00:00
|
|
|
[package]
|
2019-08-08 01:39:47 +00:00
|
|
|
name = "eth2_hashing"
|
2022-04-04 00:26:16 +00:00
|
|
|
version = "0.3.0"
|
2019-02-14 01:09:18 +00:00
|
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
2022-02-25 00:10:17 +00:00
|
|
|
edition = "2021"
|
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 }
|
2022-09-22 06:08:52 +00:00
|
|
|
cpufeatures = { version = "0.2.5", optional = true }
|
2020-12-14 02:28:19 +00:00
|
|
|
ring = "0.16.19"
|
2022-04-04 00:26:16 +00:00
|
|
|
sha2 = "0.10.2"
|
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]
|
2022-07-06 22:00:58 +00:00
|
|
|
default = ["zero_hash_cache", "detect-cpufeatures"]
|
2019-11-05 04:46:52 +00:00
|
|
|
zero_hash_cache = ["lazy_static"]
|
2022-07-06 22:00:58 +00:00
|
|
|
detect-cpufeatures = ["cpufeatures"]
|