# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.56.1"
name = "ethereum-types"
version = "0.13.1"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Ethereum types"
homepage = "https://github.com/paritytech/parity-common"
license = "MIT OR Apache-2.0"
[dependencies.ethbloom]
version = "0.12"
default-features = false

[dependencies.fixed-hash]
version = "0.7"
features = ["byteorder", "rustc-hex"]
default-features = false

[dependencies.impl-codec]
version = "0.6.0"
optional = true
default-features = false

[dependencies.impl-rlp]
version = "0.3"
optional = true
default-features = false

[dependencies.impl-serde]
version = "0.3.2"
optional = true
default-features = false

[dependencies.primitive-types]
version = "0.11"
features = ["byteorder", "rustc-hex"]
default-features = false

[dependencies.scale-info]
version = ">=1.0, <3"
features = ["derive"]
optional = true
default-features = false

[dependencies.uint-crate]
version = "0.9"
default-features = false
package = "uint"
[dev-dependencies.serde_json]
version = "1.0.41"

[features]
arbitrary = ["ethbloom/arbitrary", "fixed-hash/arbitrary", "uint-crate/arbitrary"]
codec = ["impl-codec", "ethbloom/codec", "scale-info", "primitive-types/scale-info"]
default = ["std", "rlp", "serialize"]
num-traits = ["primitive-types/num-traits"]
rlp = ["impl-rlp", "ethbloom/rlp", "primitive-types/rlp"]
serialize = ["impl-serde", "primitive-types/serde_no_std", "ethbloom/serialize"]
std = ["uint-crate/std", "fixed-hash/std", "ethbloom/std", "primitive-types/std"]
