parity-common/fixed-hash/Cargo.toml

23 lines
666 B
TOML

[package]
name = "fixed-hash"
version = "0.2.1"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
homepage = "https://github.com/paritytech/primitives"
description = "Fixed-size hashes"
[dependencies]
heapsize = { version = "0.4", optional = true }
rand = { version = "0.4", optional = true }
rustc-hex = { version = "1.0", optional = true }
quickcheck = { version = "0.6", optional = true }
[target.'cfg(not(target_os = "unknown"))'.dependencies]
libc = { version = "0.2", optional = true, default-features = false }
[features]
default = ["libc"]
std = ["rustc-hex", "rand"]
heapsizeof = ["heapsize"]
impl_quickcheck_arbitrary = ["quickcheck"]