alloy-eips 1.5.2

Ethereum Improvement Proprosal (EIP) implementations
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.88"
name = "alloy-eips"
version = "1.5.2"
authors = ["Alloy Contributors"]
build = false
exclude = [
    "benches/",
    "tests/",
    "testdata/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ethereum Improvement Proprosal (EIP) implementations"
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",
    "kzg-sidecar",
    "dep:arbitrary",
    "alloy-primitives/arbitrary",
    "alloy-serde?/arbitrary",
    "alloy-eip2124/arbitrary",
    "alloy-eip2930/arbitrary",
    "alloy-eip7702/arbitrary",
    "alloy-eip7702/k256",
    "alloy-eip7928/arbitrary",
    "c-kzg?/arbitrary",
]
borsh = [
    "dep:borsh",
    "alloy-primitives/borsh",
    "alloy-eip2930/borsh",
    "alloy-eip7702/borsh",
]
default = [
    "std",
    "kzg-sidecar",
]
k256 = ["alloy-eip7702/k256"]
kzg = [
    "kzg-sidecar",
    "sha2",
    "dep:c-kzg",
]
kzg-sidecar = ["sha2"]
serde = [
    "dep:alloy-serde",
    "dep:serde",
    "dep:serde_with",
    "alloy-primitives/serde",
    "c-kzg?/serde",
    "alloy-eip2930/serde",
    "alloy-eip7702/serde",
    "alloy-eip7928/serde",
    "alloy-eip2124/serde",
    "either/serde",
    "rand/serde",
]
serde-bincode-compat = ["alloy-eip7702/serde-bincode-compat"]
sha2 = ["dep:sha2"]
ssz = [
    "std",
    "dep:ethereum_ssz",
    "dep:ethereum_ssz_derive",
]
std = [
    "alloy-primitives/std",
    "alloy-rlp/std",
    "serde?/std",
    "c-kzg?/std",
    "alloy-serde?/std",
    "alloy-eip2124/std",
    "alloy-eip2930/std",
    "alloy-eip7702/std",
    "alloy-eip7928/std",
    "derive_more/std",
    "sha2?/std",
    "either/std",
    "serde_with?/std",
    "thiserror/std",
    "borsh?/std",
]

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

[dependencies.alloy-eip2124]
version = "0.2.0"
default-features = false

[dependencies.alloy-eip2930]
version = "0.2.3"
default-features = false

[dependencies.alloy-eip7702]
version = "0.6.3"
default-features = false

[dependencies.alloy-eip7928]
version = "0.3"
default-features = false

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

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

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

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

[dependencies.auto_impl]
version = "1.2"

[dependencies.borsh]
version = "1.5"
features = ["derive"]
optional = true
default-features = false

[dependencies.c-kzg]
version = "2.1.1"
features = ["ethereum_kzg_settings"]
optional = true
default-features = false

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

[dependencies.either]
version = "1.15"
default-features = false

[dependencies.ethereum_ssz]
version = "0.9"
optional = true

[dependencies.ethereum_ssz_derive]
version = "0.9"
optional = true

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

[dependencies.serde_with]
version = "3"
features = ["macros"]
optional = true
default-features = false

[dependencies.sha2]
version = "0.10"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

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

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

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

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