alloy-consensus-any 2.2.0

Consensus interface for any network
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.94.1"
name = "alloy-consensus-any"
version = "2.2.0"
authors = ["Alloy Contributors"]
build = false
exclude = [
    "benches/",
    "tests/",
    "testdata/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Consensus interface for any network"
homepage = "https://github.com/alloy-rs/alloy"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/alloy-rs/alloy"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "-Zunstable-options",
    "--generate-link-to-definition",
    "--show-type-layout",
]

[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"

[dependencies.alloy-consensus]
version = "2.2.0"
features = ["serde"]
default-features = false

[dependencies.alloy-eips]
version = "2.2.0"
default-features = false

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

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

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

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

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

[dev-dependencies.alloy-consensus]
version = "2.2.0"
features = ["arbitrary"]
default-features = false

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

[dev-dependencies.bincode]
version = "2.0"
features = ["serde"]

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

[lints.clippy]
large-enum-variant = "allow"
missing-const-for-fn = "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"