mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix: include jemalloc-ctl only in node-core (#6199)
This commit is contained in:
3
Cargo.lock
generated
3
Cargo.lock
generated
@ -5774,7 +5774,6 @@ dependencies = [
|
||||
"humantime",
|
||||
"hyper",
|
||||
"itertools 0.12.0",
|
||||
"jemalloc-ctl",
|
||||
"jemallocator",
|
||||
"jsonrpsee",
|
||||
"metrics",
|
||||
@ -6457,6 +6456,8 @@ dependencies = [
|
||||
"futures",
|
||||
"humantime",
|
||||
"hyper",
|
||||
"jemalloc-ctl",
|
||||
"jemallocator",
|
||||
"jsonrpsee",
|
||||
"metrics",
|
||||
"metrics-exporter-prometheus",
|
||||
|
||||
@ -113,7 +113,6 @@ boyer-moore-magiclen = "0.2.16"
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
jemallocator = { version = "0.5.0", optional = true }
|
||||
jemalloc-ctl = { version = "0.5.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
jsonrpsee.workspace = true
|
||||
@ -124,7 +123,7 @@ default = ["jemalloc"]
|
||||
|
||||
asm-keccak = ["reth-primitives/asm-keccak"]
|
||||
|
||||
jemalloc = ["dep:jemallocator", "dep:jemalloc-ctl"]
|
||||
jemalloc = ["dep:jemallocator", "reth-node-core/jemalloc"]
|
||||
jemalloc-prof = ["jemalloc", "jemallocator?/profiling"]
|
||||
|
||||
min-error-logs = ["tracing/release_max_level_error"]
|
||||
|
||||
@ -91,6 +91,10 @@ secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recov
|
||||
# async
|
||||
futures.workspace = true
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
jemallocator = { version = "0.5.0", optional = true }
|
||||
jemalloc-ctl = { version = "0.5.0", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
procfs = { version = "0.16.0" }
|
||||
|
||||
@ -124,5 +128,7 @@ optimism = [
|
||||
"reth-node-api/optimism",
|
||||
]
|
||||
|
||||
jemalloc = ["dep:jemallocator", "dep:jemalloc-ctl"]
|
||||
|
||||
[build-dependencies]
|
||||
vergen = { version = "8.0.0", features = ["build", "cargo", "git", "git2"] }
|
||||
|
||||
Reference in New Issue
Block a user