25cd91ce26
* Run cargo update * Upgrade prometheus * Update hex * Upgrade parking-lot * Upgrade num-bigint * Upgrade sha2 * Update dockerfile Rust version * Run cargo update
27 lines
607 B
TOML
27 lines
607 B
TOML
[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 }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
ring = "0.16.9"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
sha2 = "0.9.1"
|
|
|
|
[dev-dependencies]
|
|
rustc-hex = "2.1.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
wasm-bindgen-test = "0.3.12"
|
|
|
|
[features]
|
|
default = ["zero_hash_cache"]
|
|
zero_hash_cache = ["lazy_static"]
|