[package]
edition = "2024"
rust-version = "1.87.0"
name = "libdd-profiling-heap-allocator"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust GlobalAlloc wrapper that drives libdd-profiling-heap-sampler."
homepage = "https://github.com/DataDog/libdatadog/tree/main/libdd-profiling-heap-allocator"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/DataDog/libdatadog/tree/main/libdd-profiling-heap-allocator"
resolver = "2"
[features]
live-heap = ["libdd-profiling-heap-sampler/live-heap"]
[lib]
name = "libdd_profiling_heap_allocator"
path = "src/lib.rs"
bench = false
[[example]]
name = "usdt_demo"
path = "examples/usdt_demo.rs"
[[bench]]
name = "sampler_overhead"
path = "benches/sampler_overhead.rs"
harness = false
[dependencies.libdd-profiling-heap-sampler]
version = "1.1.1"
[dev-dependencies.criterion]
version = "0.5.1"
default-features = true
[target.'cfg(target_os = "linux")'.dev-dependencies.libc]
version = "0.2"
default-features = true