Files
nanoreth/crates/storage/codecs/Cargo.toml
2024-05-02 12:02:51 +00:00

42 lines
1.1 KiB
TOML

[package]
name = "reth-codecs"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
[lints]
workspace = true
[dependencies]
# reth
reth-codecs-derive = { path = "./derive", default-features = false }
# eth
alloy-eips = { workspace = true, optional = true }
alloy-genesis = { workspace = true, optional = true }
alloy-primitives.workspace = true
# misc
bytes.workspace = true
modular-bitfield = { workspace = true, optional = true }
serde.workspace = true
[dev-dependencies]
alloy-eips = { workspace = true, default-features = false, features = ["arbitrary", "serde"] }
alloy-primitives = { workspace = true, features = ["arbitrary", "serde"] }
test-fuzz.workspace = true
serde_json.workspace = true
arbitrary = { workspace = true, features = ["derive"] }
proptest.workspace = true
proptest-derive.workspace = true
[features]
default = ["std", "alloy"]
std = ["alloy-primitives/std", "bytes/std"]
alloy = ["dep:alloy-eips", "dep:alloy-genesis", "dep:modular-bitfield"]
optimism = ["reth-codecs-derive/optimism"]