[package]
name = "reth-prune-types"
version.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
description = "Commonly used types for prune usage in reth."

[lints]
workspace = true

[dependencies]
reth-codecs.workspace = true

alloy-primitives.workspace = true
derive_more.workspace = true
modular-bitfield.workspace = true
serde.workspace = true
thiserror.workspace = true
arbitrary = { workspace = true, features = ["derive"], optional = true }

[dev-dependencies]
arbitrary = { workspace = true, features = ["derive"] }
assert_matches.workspace = true
proptest.workspace = true
proptest-arbitrary-interop.workspace = true
serde_json.workspace = true
test-fuzz.workspace = true
toml.workspace = true

[features]
test-utils = [
    "dep:arbitrary",
    "reth-codecs/test-utils",
]
arbitrary = [
    "alloy-primitives/arbitrary",
    "reth-codecs/arbitrary",
]
