[package]
name = "heapster"
version = "0.6.0"
authors = ["ljedrz <ljedrz@gmail.com>"]
edition = "2024"
description = "A lightweight wrapper enhancing the global allocator with useful metrics."
license = "CC0-1.0 OR MIT"
repository = "https://github.com/ljedrz/heapster"
homepage = "https://github.com/ljedrz/heapster"
documentation = "https://docs.rs/heapster"
readme = "README.md"
categories = ["memory-management", "development-tools::profiling"]
keywords = ["allocator", "heap", "memory", "telemetry", "no_std"]
rust-version = "1.85"

[package.metadata.docs.rs]
all-features = true

[features]
fmt = ["dep:humansize", "dep:num-format"]
serde = ["dep:serde"]

[[bench]]
name = "contention"
harness = false

[dependencies]
humansize = { version = "2", optional = true }
num-format = { version = "0.4", optional = true }
serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
divan = "0.1"
rand = "0.10"
serde_json = "1"
