[dependencies.alloy-consensus]
default-features = false
version = "0.6.0"
[dependencies.alloy-eips]
default-features = false
version = "0.6.0"
[dependencies.alloy-primitives]
default-features = false
features = ["rlp"]
version = "0.8.11"
[dependencies.alloy-rlp]
default-features = false
version = "0.3"
[dependencies.alloy-serde]
default-features = false
optional = true
version = "0.6.0"
[dependencies.arbitrary]
features = ["derive", "derive"]
optional = true
version = "1.3"
[dependencies.derive_more]
default-features = false
features = ["display"]
version = "1.0"
[dependencies.serde]
default-features = false
features = ["derive", "alloc", "derive"]
optional = true
version = "1.0"
[dependencies.serde_with]
optional = true
version = "3.11"
[dependencies.spin]
features = ["mutex"]
version = "0.9.8"
[dev-dependencies.alloy-primitives]
default-features = false
features = ["rand"]
version = "0.8.11"
[dev-dependencies.alloy-signer]
default-features = false
version = "0.6.0"
[dev-dependencies.arbitrary]
features = ["derive", "derive"]
version = "1.3"
[dev-dependencies.bincode]
version = "1.3.3"
[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:arbitrary", "alloy-consensus/arbitrary", "alloy-eips/arbitrary", "alloy-primitives/rand"]
default = ["std"]
k256 = ["alloy-primitives/k256", "alloy-consensus/k256"]
kzg = ["alloy-eips/kzg", "alloy-consensus/kzg", "std"]
serde = ["dep:serde", "dep:alloy-serde", "alloy-primitives/serde", "alloy-consensus/serde", "alloy-eips/serde"]
serde-bincode-compat = ["serde_with"]
std = ["alloy-eips/std", "alloy-consensus/std", "derive_more/std"]
[lib]
name = "op_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 = "Optimism alloy consensus types"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/alloy-rs/op-alloy"
license = "MIT OR Apache-2.0"
name = "op-alloy-consensus"
readme = "README.md"
repository = "https://github.com/alloy-rs/op-alloy"
rust-version = "1.81"
version = "0.6.2"