[package]
edition = "2021"
name = "mimalloc-pprof"
version = "0.10.0"
build = "build.rs"
links = "mimalloc"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "mimalloc global allocator with pprof-compatible sampled heap profiling"
homepage = "https://github.com/zackees/mimalloc-pprof"
documentation = "https://docs.rs/mimalloc-pprof"
readme = "README.md"
keywords = [
"mimalloc",
"allocator",
"pprof",
"profiling",
"heap",
]
categories = [
"memory-management",
"development-tools::profiling",
]
license = "MIT"
repository = "https://github.com/zackees/mimalloc-pprof"
[features]
default = ["pprof"]
pprof = []
[lib]
name = "mimalloc_pprof"
path = "src/lib.rs"
[[test]]
name = "feature_contract"
path = "tests/feature_contract.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "t10_snapshot_concurrency"
path = "tests/t10_snapshot_concurrency.rs"
required-features = ["pprof"]
[[test]]
name = "t11_enable"
path = "tests/t11_enable.rs"
required-features = ["pprof"]
[[test]]
name = "t12_proto"
path = "tests/t12_proto.rs"
required-features = ["pprof"]
[[test]]
name = "t14_modules"
path = "tests/t14_modules.rs"
required-features = ["pprof"]
[[test]]
name = "t15_heap_stats"
path = "tests/t15_heap_stats.rs"
required-features = ["pprof"]
[[test]]
name = "t16_rezalloc"
path = "tests/t16_rezalloc.rs"
[[test]]
name = "t17_realloc_profiling"
path = "tests/t17_realloc_profiling.rs"
required-features = ["pprof"]
[[test]]
name = "t18_thread_idle"
path = "tests/t18_thread_idle.rs"
[[test]]
name = "t19_layout"
path = "tests/t19_layout.rs"
[[test]]
name = "t1_smoke"
path = "tests/t1_smoke.rs"
required-features = ["pprof"]
[[test]]
name = "t20_memory_events"
path = "tests/t20_memory_events.rs"
[[test]]
name = "t21_visit_live"
path = "tests/t21_visit_live.rs"
[[test]]
name = "t22_options_stats"
path = "tests/t22_options_stats.rs"
[[test]]
name = "t23_purge_holes_report"
path = "tests/t23_purge_holes_report.rs"
[[test]]
name = "t2_format"
path = "tests/t2_format.rs"
required-features = ["pprof"]
[[test]]
name = "t3_stats"
path = "tests/t3_stats.rs"
required-features = ["pprof"]
[[test]]
name = "t4_accum"
path = "tests/t4_accum.rs"
required-features = ["pprof"]
[[test]]
name = "t5_stacks"
path = "tests/t5_stacks.rs"
required-features = ["pprof"]
[[test]]
name = "t6_concurrency"
path = "tests/t6_concurrency.rs"
required-features = ["pprof"]
[[test]]
name = "t8_query"
path = "tests/t8_query.rs"
required-features = ["pprof"]
[[test]]
name = "t9_stats"
path = "tests/t9_stats.rs"
required-features = ["pprof"]
[[test]]
name = "vendored_atomics"
path = "tests/vendored_atomics.rs"
[dependencies]
[dev-dependencies.regex]
version = "1"
[build-dependencies.cc]
version = "1.2"