alloc_tracker 0.7.0

Memory allocation tracking utilities for benchmarks and performance analysis
Documentation
[package]
name = "alloc_tracker"
description = "Memory allocation tracking utilities for benchmarks and performance analysis"
publish = true
version = "0.7.0"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

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

[features]
default = []
panic_on_next_alloc = []

[dependencies]
folo_utils = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

[dev-dependencies]
# Dev-dependency loop with `all_the_time`: the lifecycle benchmarks measure this
# crate's processor time using `all_the_time` while `all_the_time`'s own benchmarks
# measure allocations using this crate. Cargo permits dev-dependency-only cycles.
all_the_time = { path = "../all_the_time" }
criterion = { workspace = true }
mutants = { workspace = true }
static_assertions = { workspace = true }
tempfile = { workspace = true }

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

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

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

[lints]
workspace = true