[[bench]]
harness = false
name = "collector"
path = "benches/collector.rs"
[[bench]]
harness = false
name = "addr_validate"
path = "benches/addr_validate.rs"
[[example]]
name = "flamegraph"
required-features = ["flamegraph"]
[[example]]
name = "profile_proto"
required-features = ["protobuf"]
[[example]]
name = "multithread_flamegraph"
required-features = ["flamegraph"]
[[example]]
name = "criterion"
required-features = ["flamegraph", "criterion"]
[build-dependencies.prost-build]
optional = true
version = "0.10"
[build-dependencies.protobuf-codegen-pure]
optional = true
version = "2.0"
[dependencies.backtrace]
optional = true
version = "0.3"
[dependencies.cfg-if]
version = "1.0"
[dependencies.criterion]
optional = true
version = "0.3"
[dependencies.findshlibs]
version = "0.10"
[dependencies.inferno]
default-features = false
features = ["nameattr"]
optional = true
version = "0.11"
[dependencies.libc]
version = "^0.2.66"
[dependencies.log]
version = "0.4"
[dependencies.nix]
default-features = false
features = ["signal", "fs"]
version = "0.24"
[dependencies.once_cell]
version = "1.9"
[dependencies.parking_lot]
version = "0.12"
[dependencies.prost]
optional = true
version = "0.10"
[dependencies.prost-derive]
optional = true
version = "0.10"
[dependencies.protobuf]
optional = true
version = "2.0"
[dependencies.smallvec]
version = "1.7"
[dependencies.symbolic-demangle]
default-features = false
features = ["rust"]
version = "8.0"
[dependencies.tempfile]
version = "3.1"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.criterion]
version = "0.3"
[dev-dependencies.rand]
version = "0.8.0"
[features]
_protobuf = []
backtrace-rs = ["backtrace"]
cpp = ["symbolic-demangle/cpp"]
default = ["cpp", "backtrace-rs"]
flamegraph = ["inferno"]
frame-pointer = ["backtrace"]
prost-codec = ["prost", "prost-derive", "prost-build", "_protobuf"]
protobuf-codec = ["protobuf", "protobuf-codegen-pure", "_protobuf"]
[package]
authors = ["Yang Keao <keao.yang@yahoo.com>"]
description = "An internal perf tools for rust programs."
documentation = "https://docs.rs/pprof/"
edition = "2021"
license = "Apache-2.0"
name = "pprof"
readme = "README.md"
repository = "https://github.com/tikv/pprof-rs"
resolver = "2"
version = "0.9.1"
[package.metadata.docs.rs]
all-features = true