alloy-consensus 0.6.1

Ethereum consensus interface
Documentation
[dependencies.alloy-eips]
default-features = false
features = ["kzg-sidecar"]
version = "0.6"

[dependencies.alloy-primitives]
default-features = false
features = ["rlp"]
version = "0.8.11"

[dependencies.alloy-rlp]
default-features = false
version = "0.3.9"

[dependencies.alloy-serde]
default-features = false
optional = true
version = "0.6"

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

[dependencies.auto_impl]
version = "1.2"

[dependencies.c-kzg]
default-features = false
features = ["serde"]
optional = true
version = "1.0"

[dependencies.derive_more]
default-features = false
features = ["from", "deref", "deref_mut", "into_iterator"]
version = "1.0.0"

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

[dependencies.rand]
optional = true
version = "0.8"

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

[dependencies.serde_with]
optional = true
version = "3.3.0"

[dev-dependencies.alloy-eips]
default-features = false
features = ["arbitrary"]
version = "0.6"

[dev-dependencies.alloy-primitives]
default-features = false
features = ["arbitrary", "rand"]
version = "0.8.11"

[dev-dependencies.alloy-signer]
default-features = false
version = "0.6"

[dev-dependencies.arbitrary]
features = ["derive"]
version = "1.3"

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

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

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

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

[dev-dependencies.tokio]
features = ["macros"]
version = "1"

[features]
arbitrary = ["std", "dep:rand", "dep:arbitrary", "alloy-eips/arbitrary"]
default = ["std"]
k256 = ["dep:k256", "alloy-primitives/k256", "alloy-eips/k256"]
kzg = ["dep:c-kzg", "alloy-eips/kzg", "std"]
serde = ["dep:serde", "alloy-primitives/serde", "dep:alloy-serde", "alloy-eips/serde"]
serde-bincode-compat = ["alloy-eips/serde-bincode-compat", "serde_with"]
std = ["alloy-eips/std", "c-kzg?/std"]

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

[lints.clippy]
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
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 = "Ethereum consensus interface"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/alloy-rs/alloy"
license = "MIT OR Apache-2.0"
name = "alloy-consensus"
readme = "README.md"
repository = "https://github.com/alloy-rs/alloy"
rust-version = "1.79"
version = "0.6.1"

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