# 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.65" name = "linera-alloy-primitives" version = "0.7.4" authors = ["Alloy Contributors"] exclude = ["tests"] description = "Ethereum primitive types" homepage = "https://github.com/MathieuDutSik/ethreum_core/tree/main/crates/primitives" readme = "README.md" keywords = [ "ethers", "primitives", "ethereum", "revm", "reth", ] categories = [ "no-std", "data-structures", "cryptography::cryptocurrencies", ] license = "MIT OR Apache-2.0" repository = "https://github.com/MathieuDutSik/ethreum_core" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "primitives" path = "benches/primitives.rs" harness = false required-features = ["rand"] [dependencies.allocative] version = "0.3.2" optional = true default-features = false [dependencies.alloy-rlp] version = "0.3" optional = true default-features = false [dependencies.arbitrary] version = "1.3" optional = true [dependencies.bytes] version = "1" default-features = false [dependencies.cfg-if] version = "1.0.0" [dependencies.derive_arbitrary] version = "1.3" optional = true [dependencies.derive_more] version = "0.99" [dependencies.ethereum_ssz] version = "0.5.3" optional = true default-features = false [dependencies.getrandom] version = "0.2" optional = true [dependencies.hex] version = "1.10" features = ["alloc"] default-features = false package = "const-hex" [dependencies.hex-literal] version = "0.4" [dependencies.itoa] version = "1" [dependencies.k256] version = "0.13" features = ["ecdsa"] optional = true default-features = false [dependencies.keccak-asm] version = "0.1.0" optional = true default-features = false [dependencies.postgres-types] version = "0.2.6" optional = true [dependencies.proptest] version = "1" optional = true [dependencies.proptest-derive] version = "0.4" optional = true [dependencies.rand] version = "0.8" features = ["getrandom"] optional = true default-features = false [dependencies.ruint] version = "1.11.1" features = ["alloc"] default-features = false [dependencies.serde] version = "1.0" features = [ "alloc", "derive", ] optional = true default-features = false [dependencies.tiny-keccak] version = "2.0" features = ["keccak"] [dev-dependencies.bincode] version = "1.3" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.serde_json] version = "1.0" features = ["alloc"] default-features = false [features] allocative = ["dep:allocative"] arbitrary = [ "std", "dep:arbitrary", "dep:derive_arbitrary", "dep:proptest", "dep:proptest-derive", "ruint/arbitrary", "ruint/proptest", "ethereum_ssz?/arbitrary", ] asm-keccak = ["dep:keccak-asm"] default = ["std"] getrandom = ["dep:getrandom"] hex-compat = ["hex/hex"] k256 = ["dep:k256"] native-keccak = [] postgres = [ "std", "dep:postgres-types", "ruint/postgres", ] rand = [ "dep:rand", "getrandom", "ruint/rand", ] rlp = [ "dep:alloy-rlp", "ruint/alloy-rlp", ] serde = [ "dep:serde", "bytes/serde", "hex/serde", "ruint/serde", ] ssz = [ "std", "dep:ethereum_ssz", "ruint/ssz", ] std = [ "bytes/std", "hex/std", "ruint/std", "alloy-rlp?/std", "keccak-asm?/std", "proptest?/std", "rand?/std", "serde?/std", "k256?/std", ] tiny-keccak = []