-
Notifications
You must be signed in to change notification settings - Fork 211
/
Cargo.toml
32 lines (26 loc) · 1.09 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "fixed-hash"
version = "0.5.0"
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 = ["quickcheck", "api-dummy"]
[dependencies]
rand = { version = "0.7", 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"
[dev-dependencies]
rand_xorshift = "0.2.0"
[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