[[bench]]
harness = false
name = "collector"
path = "benches/collector.rs"
[[bench]]
harness = false
name = "addr_validate"
path = "benches/addr_validate.rs"
[build-dependencies.prost-build]
optional = true
version = "0.12"
[build-dependencies.protobuf-codegen-pure]
optional = true
version = "2.0"
[build-dependencies.sha2]
optional = true
version = "0.10"
[dependencies.aligned-vec]
version = "0.6"
[dependencies.backtrace]
version = "0.3"
[dependencies.cfg-if]
version = "1.0"
[dependencies.criterion]
optional = true
version = "0.5"
[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.26"
[dependencies.once_cell]
version = "1.9"
[dependencies.parking_lot]
version = "0.12"
[dependencies.prost]
optional = true
version = "0.12"
[dependencies.prost-derive]
optional = true
version = "0.12"
[dependencies.protobuf]
optional = true
version = "2.0"
[dependencies.smallvec]
version = "1.7"
[dependencies.symbolic-demangle]
default-features = false
features = ["rust"]
version = "12.1"
[dependencies.tempfile]
version = "3.1"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.rand]
version = "0.8.0"
[[example]]
name = "flamegraph"
required-features = ["flamegraph"]
[[example]]
name = "profile_proto_with_prost"
required-features = ["protobuf", "prost-codec"]
[[example]]
name = "profile_proto_with_protobuf_codec"
required-features = ["protobuf", "protobuf-codec"]
[[example]]
name = "multithread_flamegraph"
required-features = ["flamegraph"]
[[example]]
name = "criterion"
required-features = ["flamegraph", "criterion"]
[features]
_protobuf = []
cpp = ["symbolic-demangle/cpp"]
default = ["cpp"]
flamegraph = ["inferno"]
frame-pointer = []
prost-codec = ["prost", "prost-derive", "prost-build", "sha2", "_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"
rust-version = "1.66.0"
version = "0.14.0"
[package.metadata.docs.rs]
all-features = true