[dependencies.alloy-consensus]
default-features = false
features = ["serde"]
version = "1.0"
[dependencies.alloy-eips]
default-features = false
version = "1.0"
[dependencies.alloy-primitives]
default-features = false
version = "1.2.0"
[dependencies.alloy-rlp]
default-features = false
version = "0.3.9"
[dependencies.alloy-serde]
default-features = false
optional = true
version = "1.0"
[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1.3"
[dependencies.serde]
default-features = false
features = ["derive", "alloc", "derive"]
optional = true
version = "1.0"
[dev-dependencies.alloy-consensus]
default-features = false
features = ["arbitrary"]
version = "1.0"
[dev-dependencies.arbitrary]
features = ["derive"]
version = "1.3"
[dev-dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0"
[features]
arbitrary = ["std", "dep:arbitrary", "alloy-eips/arbitrary", "alloy-consensus/arbitrary", "alloy-primitives/arbitrary", "alloy-serde?/arbitrary"]
default = ["std"]
serde = ["dep:serde", "alloy-primitives/serde", "dep:alloy-serde", "alloy-eips/serde", "alloy-consensus/serde"]
std = ["alloy-eips/std", "alloy-consensus/std", "alloy-serde?/std", "alloy-primitives/std", "alloy-rlp/std", "serde?/std"]
[lib]
name = "alloy_consensus_any"
path = "src/lib.rs"
[lints.clippy]
large-enum-variant = "allow"
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
result-large-err = "allow"
use-self = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing-debug-implementations = "warn"
missing-docs = "warn"
rust-2018-idioms = "deny"
unnameable-types = "warn"
unreachable-pub = "warn"
unused-must-use = "deny"
[lints.rustdoc]
all = "warn"
[package]
authors = ["Alloy Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Consensus interface for any network"
edition = "2021"
exclude = ["benches/", "tests/", "testdata/"]
homepage = "https://github.com/alloy-rs/alloy"
license = "MIT OR Apache-2.0"
name = "alloy-consensus-any"
readme = "README.md"
repository = "https://github.com/alloy-rs/alloy"
rust-version = "1.85"
version = "1.0.21"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition", "--show-type-layout"]