mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(reth-db): no_std support (#9597)
This commit is contained in:
@ -35,21 +35,21 @@ eyre = { workspace = true, optional = true }
|
||||
serde = { workspace = true, default-features = false }
|
||||
|
||||
# metrics
|
||||
reth-metrics.workspace = true
|
||||
metrics.workspace = true
|
||||
reth-metrics = { workspace = true, optional = true }
|
||||
metrics = { workspace = true, optional = true }
|
||||
|
||||
# misc
|
||||
bytes.workspace = true
|
||||
page_size = "0.6.0"
|
||||
page_size = { version = "0.6.0", optional = true }
|
||||
thiserror.workspace = true
|
||||
tempfile = { workspace = true, optional = true }
|
||||
derive_more.workspace = true
|
||||
paste.workspace = true
|
||||
rustc-hash.workspace = true
|
||||
rustc-hash = { workspace = true, optional = true }
|
||||
sysinfo = { version = "0.30", default-features = false }
|
||||
|
||||
# arbitrary utils
|
||||
strum = { workspace = true, features = ["derive"] }
|
||||
strum = { workspace = true, features = ["derive"], optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
# reth libs with arbitrary
|
||||
@ -77,7 +77,15 @@ assert_matches.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["mdbx"]
|
||||
mdbx = ["dep:reth-libmdbx", "dep:eyre"]
|
||||
mdbx = [
|
||||
"dep:reth-libmdbx",
|
||||
"dep:eyre",
|
||||
"dep:page_size",
|
||||
"reth-metrics",
|
||||
"dep:metrics",
|
||||
"dep:strum",
|
||||
"dep:rustc-hash",
|
||||
]
|
||||
test-utils = ["dep:tempfile", "arbitrary"]
|
||||
bench = []
|
||||
arbitrary = ["reth-primitives/arbitrary", "reth-db-api/arbitrary"]
|
||||
|
||||
Reference in New Issue
Block a user