mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
85 lines
1.9 KiB
TOML
85 lines
1.9 KiB
TOML
[package]
|
|
name = "reth-primitives-traits"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
description = "Common types in reth."
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
reth-codecs.workspace = true
|
|
|
|
alloy-consensus = { workspace = true, features = ["serde"] }
|
|
alloy-eips.workspace = true
|
|
alloy-genesis.workspace = true
|
|
alloy-primitives.workspace = true
|
|
alloy-rlp.workspace = true
|
|
|
|
revm-primitives = { workspace = true, features = ["serde"] }
|
|
|
|
# misc
|
|
byteorder = "1"
|
|
derive_more.workspace = true
|
|
roaring = "0.10.2"
|
|
serde_with = { workspace = true, optional = true }
|
|
|
|
# required by reth-codecs
|
|
bytes.workspace = true
|
|
modular-bitfield.workspace = true
|
|
serde.workspace = true
|
|
|
|
# arbitrary utils
|
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
|
proptest = { workspace = true, optional = true }
|
|
proptest-arbitrary-interop = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
reth-testing-utils.workspace = true
|
|
|
|
alloy-primitives = { workspace = true, features = ["arbitrary"] }
|
|
alloy-consensus = { workspace = true, features = ["arbitrary"] }
|
|
|
|
arbitrary = { workspace = true, features = ["derive"] }
|
|
bincode.workspace = true
|
|
proptest-arbitrary-interop.workspace = true
|
|
proptest.workspace = true
|
|
rand.workspace = true
|
|
serde_json.workspace = true
|
|
test-fuzz.workspace = true
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"alloy-consensus/std",
|
|
"alloy-eips/std",
|
|
"alloy-genesis/std",
|
|
"alloy-primitives/std",
|
|
"revm-primitives/std",
|
|
"serde/std"
|
|
]
|
|
test-utils = [
|
|
"arbitrary",
|
|
"reth-codecs/test-utils"
|
|
]
|
|
arbitrary = [
|
|
"std",
|
|
"alloy-consensus/arbitrary",
|
|
"alloy-primitives/arbitrary",
|
|
"dep:arbitrary",
|
|
"dep:proptest",
|
|
"dep:proptest-arbitrary-interop",
|
|
"alloy-eips/arbitrary",
|
|
"revm-primitives/arbitrary",
|
|
"reth-codecs/arbitrary"
|
|
]
|
|
serde-bincode-compat = [
|
|
"serde_with",
|
|
"alloy-consensus/serde-bincode-compat",
|
|
"alloy-eips/serde-bincode-compat"
|
|
]
|