26 lines
1.0 KiB
TOML
26 lines
1.0 KiB
TOML
[package]
|
|
name = "primitive-types"
|
|
version = "0.2.2"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
license = "Apache-2.0/MIT"
|
|
homepage = "https://github.com/paritytech/parity-common"
|
|
description = "Primitive types shared by Ethereum and Substrate"
|
|
|
|
[dependencies]
|
|
fixed-hash = { version = "0.3", path = "../fixed-hash", default-features = false }
|
|
uint = { version = "0.6", path = "../uint", default-features = false }
|
|
impl-serde = { version = "0.1", path = "impls/serde", default-features = false, optional = true }
|
|
impl-codec = { version = "0.2", path = "impls/codec", default-features = false, optional = true }
|
|
impl-rlp = { version = "0.1", path = "impls/rlp", default-features = false, optional = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["uint/std", "fixed-hash/std", "impl-codec/std"]
|
|
heapsize = ["uint/heapsize", "fixed-hash/heapsize"]
|
|
byteorder = ["fixed-hash/byteorder"]
|
|
libc = ["fixed-hash/libc"]
|
|
rustc-hex = ["fixed-hash/rustc-hex"]
|
|
serde = ["std", "impl-serde"]
|
|
codec = ["impl-codec"]
|
|
rlp = ["std", "impl-rlp"]
|