mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
51 lines
1.3 KiB
TOML
51 lines
1.3 KiB
TOML
[package]
|
|
name = "reth-cli-util"
|
|
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-fs-util.workspace = true
|
|
|
|
# eth
|
|
alloy-primitives.workspace = true
|
|
alloy-eips.workspace = true
|
|
|
|
# misc
|
|
cfg-if.workspace = true
|
|
eyre.workspace = true
|
|
rand.workspace = true
|
|
secp256k1 = { workspace = true, features = ["rand"] }
|
|
thiserror.workspace = true
|
|
serde.workspace = true
|
|
|
|
tracy-client = { workspace = true, optional = true, features = ["demangle"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
tikv-jemallocator = { workspace = true, optional = true }
|
|
snmalloc-rs = { workspace = true, optional = true }
|
|
libc = "0.2"
|
|
|
|
[features]
|
|
jemalloc = ["dep:tikv-jemallocator"]
|
|
|
|
# Enables jemalloc profiling features
|
|
jemalloc-prof = ["jemalloc", "tikv-jemallocator?/profiling"]
|
|
|
|
# Wraps the selected allocator in the tracy profiling allocator
|
|
tracy-allocator = ["dep:tracy-client"]
|
|
|
|
snmalloc = ["dep:snmalloc-rs"]
|
|
|
|
# Enables the snmalloc-rs `native-cpu` feature, which optimizes snmalloc for the
|
|
# native CPU of the host machine. Not sure why this feature is not derived from
|
|
# RUSTFLAGS or enabled when `target-cpu=native`.
|
|
snmalloc-native = ["snmalloc", "snmalloc-rs/native-cpu"]
|