[package]
edition = "2024"
rust-version = "1.88"
name = "alloy-eip7928"
version = "0.3.2"
authors = [
"Ishika Choudhury <ishikac720@gmail.com>",
"Soubhik Singha Mahapatra <soubhiksinghamahapatra@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation of EIP-7928 type definitions"
homepage = "https://github.com/alloy-rs/eips"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/alloy-rs/eips"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"-Zunstable-options",
"--generate-link-to-definition",
"--show-type-layout",
]
[features]
arbitrary = [
"std",
"dep:arbitrary",
"alloy-primitives/arbitrary",
]
borsh = [
"dep:borsh",
"alloy-primitives/borsh",
]
default = ["std"]
rlp = ["alloy-primitives/rlp"]
serde = [
"dep:serde",
"alloy-primitives/serde",
]
std = [
"alloy-primitives/std",
"alloy-rlp/std",
"serde?/std",
"borsh?/std",
]
[lib]
name = "alloy_eip7928"
path = "src/lib.rs"
[dependencies.alloy-primitives]
version = "1.4"
features = ["map"]
default-features = false
[dependencies.alloy-rlp]
version = "0.3"
features = ["derive"]
default-features = false
[dependencies.arbitrary]
version = "1.3"
features = ["derive"]
optional = true
[dependencies.borsh]
version = "1.5"
features = ["derive"]
optional = true
default-features = false
[dependencies.rand]
version = "0.8"
optional = true
[dependencies.serde]
version = "1.0"
features = [
"derive",
"alloc",
]
optional = true
default-features = false
[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"