Files
lighthouse/common/malloc_utils/Cargo.toml

22 lines
648 B
TOML

[package]
name = "malloc_utils"
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.3.0", optional = true, features = ["background_threads"] }
jemalloc-sys = { version = "0.3.0", optional = true }
[features]
mallinfo2 = []
jemalloc = ["jemallocator", "jemalloc-sys"]
jemalloc-stats = ["jemallocator/stats"]
jemalloc-profiling = ["jemallocator/profiling"]