[package]
edition = "2021"
name = "jemalloc_pprof"
version = "0.8.2"
authors = [
"Frederic Branczyk <frederic.branczyk@polarsignals.com>",
"Brennan Vincent <brennan.vincent@polarsignals.com>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert jemalloc heap profiles to pprof to understand memory usage, fix memory leaks, and fix OOM Kills."
homepage = "https://crates.io/crates/jemalloc_pprof"
documentation = "https://docs.rs/jemalloc_pprof/latest/jemalloc_pprof/"
readme = "README.md"
keywords = [
"jemalloc",
"pprof",
"memory",
"profiling",
"observability",
]
categories = [
"development-tools",
"development-tools::profiling",
"development-tools::debugging",
"memory-management",
]
license = "Apache-2.0"
repository = "https://github.com/polarsignals/rust-jemalloc-pprof"
[package.metadata.docs.rs]
all-features = true
[features]
flamegraph = ["util/flamegraph"]
symbolize = ["util/symbolize"]
[lib]
name = "jemalloc_pprof"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.libc]
version = "0.2"
[dependencies.mappings]
version = "0.7"
[dependencies.once_cell]
version = "1.19"
[dependencies.tempfile]
version = "3.11"
[dependencies.tikv-jemalloc-ctl]
version = "0.6"
features = ["use_std"]
[dependencies.tokio]
version = "1"
features = [
"time",
"sync",
]
[dependencies.tracing]
version = "0.1"
[dependencies.util]
version = "0.8"
package = "pprof_util"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.tikv-jemallocator]
version = "0.6"
[dev-dependencies.tokio]
version = "1"
features = ["full"]