parity-common/ethereum-types/Cargo.toml

25 lines
842 B
TOML

[package]
name = "ethereum-types"
version = "0.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
homepage = "https://github.com/paritytech/primitives"
description = "Ethereum types"
[build-dependencies]
rustc_version = "0.2"
[dependencies]
uint = { path = "../uint", version = "0.1" }
fixed-hash = { path = "../fixed-hash", version = "0.1.1" }
ethbloom = { path = "../ethbloom", version = "0.4" }
crunchy = "0.1.5"
ethereum-types-serialize = { version = "0.2", path = "../serialize", optional = true }
serde = { version = "1.0", optional = true }
[features]
default = ["std", "heapsizeof", "serialize"]
std = ["uint/std", "fixed-hash/std", "ethbloom/std"]
heapsizeof = ["uint/heapsizeof", "fixed-hash/heapsizeof", "ethbloom/heapsizeof"]
serialize = ["std", "ethereum-types-serialize", "serde", "ethbloom/serialize"]