parity-common/fixed-hash/Cargo.toml

31 lines
1.1 KiB
TOML

[package]
name = "fixed-hash"
version = "0.3.1"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
homepage = "https://github.com/paritytech/parity-common"
repository = "https://github.com/paritytech/parity-common"
description = "Macros to define custom fixed-size hash types"
documentation = "https://docs.rs/fixed-hash/"
readme = "README.md"
[package.metadata.docs.rs]
features = ["heapsize", "quickcheck", "api-dummy"]
[dependencies]
heapsize = { version = "0.4", optional = true }
rand = { version = "0.5", optional = true, default-features = false }
rustc-hex = { version = "2.0", optional = true, default-features = false }
quickcheck = { version = "0.7", optional = true }
byteorder = { version = "1.2", optional = true, default-features = false }
static_assertions = "0.2"
[target.'cfg(not(target_os = "unknown"))'.dependencies]
libc = { version = "0.2", optional = true, default-features = false }
[features]
default = ["std", "libc", "rand", "rustc-hex", "byteorder"]
std = ["rustc-hex/std", "rand/std", "byteorder/std"]
api-dummy = [] # Feature used by docs.rs to display documentation of hash types