mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-08 05:55:21 -05:00
82 lines
1.8 KiB
TOML
82 lines
1.8 KiB
TOML
[package]
|
|
name = "reth-db-models"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = "Database models used in storage module."
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
# reth
|
|
reth-codecs = { workspace = true, optional = true }
|
|
reth-primitives-traits.workspace = true
|
|
|
|
# ethereum
|
|
alloy-primitives.workspace = true
|
|
alloy-eips.workspace = true
|
|
|
|
# codecs
|
|
modular-bitfield = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true }
|
|
|
|
# misc
|
|
bytes = { workspace = true, optional = true }
|
|
|
|
# arbitrary utils
|
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
# reth
|
|
reth-primitives-traits = { workspace = true, features = ["arbitrary", "reth-codec"] }
|
|
reth-codecs.workspace = true
|
|
|
|
bytes.workspace = true
|
|
modular-bitfield.workspace = true
|
|
arbitrary = { workspace = true, features = ["derive"] }
|
|
|
|
proptest.workspace = true
|
|
proptest-arbitrary-interop.workspace = true
|
|
test-fuzz.workspace = true
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"alloy-eips/std",
|
|
"alloy-primitives/std",
|
|
"reth-primitives-traits/std",
|
|
"bytes?/std",
|
|
"serde?/std",
|
|
]
|
|
serde = [
|
|
"dep:serde",
|
|
"alloy-eips/serde",
|
|
"alloy-primitives/serde",
|
|
"bytes?/serde",
|
|
"reth-codecs?/serde",
|
|
"reth-primitives-traits/serde",
|
|
]
|
|
test-utils = [
|
|
"reth-primitives-traits/test-utils",
|
|
"arbitrary",
|
|
"reth-codecs?/test-utils",
|
|
]
|
|
arbitrary = [
|
|
"std",
|
|
"reth-primitives-traits/arbitrary",
|
|
"dep:arbitrary",
|
|
"alloy-primitives/arbitrary",
|
|
"alloy-eips/arbitrary",
|
|
"reth-codecs?/arbitrary",
|
|
]
|
|
reth-codec = [
|
|
"dep:reth-codecs",
|
|
"dep:modular-bitfield",
|
|
"dep:bytes",
|
|
"reth-primitives-traits/reth-codec",
|
|
]
|