[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 = ["map"]
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.async-trait]
version = "0.1.83"
[dependencies.derive_more]
default-features = false
version = "1.0"
[dependencies.op-alloy-consensus]
default-features = false
version = "0.6.2"
[dependencies.op-alloy-genesis]
default-features = false
version = "0.6.2"
[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
optional = true
version = "1.0"
[dependencies.spin]
features = ["mutex"]
optional = true
version = "0.9.8"
[dependencies.tracing]
default-features = false
version = "0.1.40"
[dependencies.tracing-subscriber]
features = ["fmt"]
optional = true
version = "0.3.18"
[dependencies.unsigned-varint]
version = "0.8.0"
[dev-dependencies.alloy-sol-types]
default-features = false
version = "0.8.11"
[dev-dependencies.arbitrary]
features = ["derive", "derive"]
version = "1.3"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.revm]
version = "18.0.0"
[dev-dependencies.rstest]
version = "0.23.0"
[dev-dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0"
[dev-dependencies.spin]
features = ["mutex"]
version = "0.9.8"
[dev-dependencies.tokio]
features = ["full"]
version = "1"
[dev-dependencies.tracing-subscriber]
features = ["fmt"]
version = "0.3.18"
[features]
arbitrary = ["std", "dep:arbitrary", "alloy-consensus/arbitrary", "alloy-eips/arbitrary", "alloy-primitives/rand"]
default = ["serde", "std"]
serde = ["dep:serde", "dep:alloy-serde", "op-alloy-consensus/serde", "op-alloy-genesis/serde"]
std = ["op-alloy-consensus/std", "op-alloy-genesis/std"]
test-utils = ["dep:spin", "dep:tracing-subscriber"]
[lib]
name = "op_alloy_protocol"
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 protocol-specific types"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/alloy-rs/op-alloy"
license = "MIT OR Apache-2.0"
name = "op-alloy-protocol"
readme = "README.md"
repository = "https://github.com/alloy-rs/op-alloy"
rust-version = "1.81"
version = "0.6.2"