mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-25 04:57:17 +00:00
5dbfb37d74
## Issue Addressed #3308 ## Proposed Changes * add `cpufeatures` feature. * make `cpufeature` default feature to preserve the compatibility; * hide all `cpufeature`-related code with `cpufeatures` feature. Co-authored-by: Kirill <kirill@aurora.dev>
25 lines
610 B
TOML
25 lines
610 B
TOML
[package]
|
|
name = "eth2_hashing"
|
|
version = "0.3.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
description = "Hashing primitives used in Ethereum 2.0"
|
|
|
|
[dependencies]
|
|
lazy_static = { version = "1.4.0", optional = true }
|
|
cpufeatures = { version = "0.2.2", optional = true }
|
|
ring = "0.16.19"
|
|
sha2 = "0.10.2"
|
|
|
|
[dev-dependencies]
|
|
rustc-hex = "2.1.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
wasm-bindgen-test = "0.3.18"
|
|
|
|
[features]
|
|
default = ["zero_hash_cache", "detect-cpufeatures"]
|
|
zero_hash_cache = ["lazy_static"]
|
|
detect-cpufeatures = ["cpufeatures"]
|