[dependencies.alloy-primitives]
default-features = false
features = ["rlp", "serde"]
version = "0.8.5"
[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1.3"
[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
version = "1.0"
[dependencies.serde_json]
default-features = false
features = ["alloc", "alloc"]
version = "1.0"
[dev-dependencies.alloy-primitives]
default-features = false
features = ["rand", "rlp", "serde", "arbitrary"]
version = "0.8.5"
[dev-dependencies.arbitrary]
features = ["derive"]
version = "1.3"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.similar-asserts]
version = "1.5"
[features]
arbitrary = ["dep:arbitrary", "alloy-primitives/arbitrary", "std"]
default = ["std"]
std = ["alloy-primitives/std", "serde/std", "serde_json/std"]
[lib]
name = "alloy_serde"
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 = "Alloy serde helpers"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/alloy-rs/alloy"
license = "MIT OR Apache-2.0"
name = "alloy-serde"
readme = "README.md"
repository = "https://github.com/alloy-rs/alloy"
rust-version = "1.79"
version = "0.5.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]