[package]
edition = "2024"
rust-version = "1.85"
name = "heapster"
version = "0.5.0"
authors = ["ljedrz <ljedrz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight wrapper enhancing the global allocator with useful metrics."
homepage = "https://github.com/ljedrz/heapster"
documentation = "https://docs.rs/heapster"
readme = "README.md"
keywords = [
"allocator",
"heap",
"memory",
"telemetry",
"no_std",
]
categories = [
"memory-management",
"development-tools::profiling",
]
license = "CC0-1.0 OR MIT"
repository = "https://github.com/ljedrz/heapster"
[package.metadata.docs.rs]
all-features = true
[features]
fmt = [
"dep:humansize",
"dep:num-format",
]
serde = ["dep:serde"]
[lib]
name = "heapster"
path = "src/lib.rs"
[[test]]
name = "basics"
path = "tests/basics.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "contention"
path = "benches/contention.rs"
harness = false
[dependencies.humansize]
version = "2"
optional = true
[dependencies.num-format]
version = "0.4"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.divan]
version = "0.1"
[dev-dependencies.rand]
version = "0.10"
[dev-dependencies.serde_json]
version = "1"