mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 05:48:31 +00:00
Add jemalloc support
This commit is contained in:
@@ -4,13 +4,16 @@ version = "0.1.0"
|
||||
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
lighthouse_metrics = { path = "../lighthouse_metrics" }
|
||||
lazy_static = "1.4.0"
|
||||
libc = "0.2.79"
|
||||
parking_lot = "0.12.0"
|
||||
jemallocator = { version = "0.5.0", optional = true, features = ["background_threads"] }
|
||||
jemalloc-ctl = { version = "0.5.0", optional = true }
|
||||
|
||||
[features]
|
||||
mallinfo2 = []
|
||||
jemalloc = ["jemallocator", "jemallocator/stats", "jemalloc-ctl"]
|
||||
jemalloc-stats = ["jemallocator/stats"]
|
||||
jemalloc-profiling = ["jemallocator/profiling"]
|
||||
|
||||
Reference in New Issue
Block a user