# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
name = "etcommon-block"
version = "0.5.1"
authors = ["Wei Tang <hi@that.world>"]
description = "Block and transaction types for Ethereum."
license = "Apache-2.0"
repository = "https://github.com/ethereumproject/etcommon-rs"

[lib]
name = "block"
[dependencies.etcommon-bigint]
version = "0.2"

[dependencies.etcommon-block-core]
version = "0.3"

[dependencies.etcommon-bloom]
version = "0.2"

[dependencies.etcommon-rlp]
version = "0.2"

[dependencies.etcommon-trie]
version = "0.4"

[dependencies.libsecp256k1]
version = "0.1"
optional = true

[dependencies.secp256k1-plus]
version = "0.5"
optional = true

[dependencies.sha3]
version = "0.6"
[dev-dependencies.etcommon-hexutil]
version = "0.2"

[dev-dependencies.rand]
version = "0.3"

[dev-dependencies.serde]
version = "1.0"

[dev-dependencies.serde_derive]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0"

[features]
c-secp256k1 = ["secp256k1-plus"]
default = ["c-secp256k1"]
rust-secp256k1 = ["libsecp256k1"]
