alloy-primitives 0.8.11

Ethereum primitive types
Documentation
[[bench]]
harness = false
name = "primitives"
path = "benches/primitives.rs"
required-features = ["rand"]

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

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

[dependencies.arbitrary]
optional = true
version = "1.3"

[dependencies.bytes]
default-features = false
version = "1"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.derive_arbitrary]
optional = true
version = "1.3"

[dependencies.derive_more]
default-features = false
features = ["as_ref", "add", "add_assign", "not", "deref", "deref_mut", "from", "from_str", "index", "index_mut", "into", "into_iterator", "display", "deref"]
version = "1.0"

[dependencies.foldhash]
default-features = false
optional = true
version = "0.1"

[dependencies.getrandom]
optional = true
version = "0.2"

[dependencies.hashbrown]
default-features = false
features = ["default-hasher", "inline-more"]
optional = true
version = "0.15"

[dependencies.hex]
default-features = false
features = ["alloc"]
package = "const-hex"
version = "1.10"

[dependencies.hex-literal]
version = "0.4"

[dependencies.indexmap]
default-features = false
optional = true
version = "2.5"

[dependencies.itoa]
version = "1"

[dependencies.k256]
default-features = false
features = ["ecdsa"]
optional = true
version = "0.13"

[dependencies.keccak-asm]
default-features = false
optional = true
version = "0.1.0"

[dependencies.paste]
version = "1.0"

[dependencies.postgres-types]
optional = true
version = "0.2.6"

[dependencies.proptest]
optional = true
version = "1"

[dependencies.proptest-derive]
optional = true
version = "0.5"

[dependencies.rand]
default-features = false
features = ["getrandom"]
optional = true
version = "0.8"

[dependencies.ruint]
default-features = false
features = ["alloc"]
version = "1.12.3"

[dependencies.rustc-hash]
default-features = false
optional = true
version = "2.0"

[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
optional = true
version = "1.0"

[dependencies.sha3]
default-features = false
optional = true
version = "0.10.8"

[dependencies.tiny-keccak]
default-features = false
features = ["keccak"]
version = "2.0"

[dev-dependencies.bcs]
version = "0.1.6"

[dev-dependencies.bincode]
version = "1.3"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0"

[features]
allocative = ["dep:allocative"]
arbitrary = ["std", "dep:arbitrary", "dep:derive_arbitrary", "dep:proptest", "dep:proptest-derive", "ruint/arbitrary", "ruint/proptest", "indexmap?/arbitrary"]
asm-keccak = ["dep:keccak-asm"]
default = ["std", "map", "map-foldhash"]
getrandom = ["dep:getrandom"]
hex-compat = ["hex/hex"]
k256 = ["dep:k256"]
map = ["dep:hashbrown"]
map-foldhash = ["map", "dep:foldhash"]
map-fxhash = ["map", "dep:rustc-hash"]
map-hashbrown = ["map"]
map-indexmap = ["map", "dep:indexmap"]
native-keccak = []
nightly = ["hex/nightly", "ruint/nightly", "hashbrown?/nightly", "rustc-hash?/nightly"]
postgres = ["std", "dep:postgres-types", "ruint/postgres"]
rand = ["dep:rand", "getrandom", "ruint/rand", "rustc-hash?/rand"]
rlp = ["dep:alloy-rlp", "ruint/alloy-rlp"]
serde = ["dep:serde", "bytes/serde", "hex/serde", "ruint/serde", "hashbrown?/serde", "indexmap?/serde", "rand?/serde"]
sha3-keccak = ["dep:sha3"]
std = ["bytes/std", "hex/std", "ruint/std", "alloy-rlp?/std", "foldhash?/std", "indexmap?/std", "k256?/std", "keccak-asm?/std", "proptest?/std", "rand?/std", "rustc-hash?/std", "serde?/std", "sha3?/std"]
tiny-keccak = []

[lib]
name = "alloy_primitives"
path = "src/lib.rs"

[lints.clippy]
dbg-macro = "warn"
manual-string-new = "warn"
missing-const-for-fn = "warn"
redundant-clone = "warn"
uninlined-format-args = "warn"
use-self = "warn"

[lints.rust]
missing-copy-implementations = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
redundant-lifetimes = "warn"
rust-2018-idioms = "warn"
unnameable-types = "warn"
unreachable-pub = "warn"
unused-must-use = "warn"

[lints.rustdoc]
all = "warn"

[package]
authors = ["Alloy Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["no-std", "data-structures", "cryptography::cryptocurrencies"]
description = "Ethereum primitive types"
edition = "2021"
exclude = ["tests"]
homepage = "https://github.com/alloy-rs/core/tree/main/crates/primitives"
keywords = ["ethers", "primitives", "ethereum", "revm", "reth"]
license = "MIT OR Apache-2.0"
name = "alloy-primitives"
readme = "README.md"
repository = "https://github.com/alloy-rs/core"
rust-version = "1.79"
version = "0.8.11"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]