[package]
edition = "2021"
rust-version = "1.66"
name = "pyroscope"
version = "2.0.0"
authors = ["Abid Omar <contact@omarabid.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Pyroscope Profiler Agent for continuous profiling of Rust, Python and Ruby applications.
"""
homepage = "https://pyroscope.io/docs/rust"
documentation = "https://docs.rs/pyroscope"
readme = "README.md"
keywords = [
"pyroscope",
"profiler",
"profiling",
"pprof",
]
license = "Apache-2.0"
repository = "https://github.com/pyroscope-io/pyroscope-rs"
[features]
backend-jemalloc = ["dep:jemalloc_pprof"]
backend-pprof-rs = ["dep:pprof"]
default = ["rustls-tls"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
rustls-no-provider = ["reqwest/rustls-no-provider"]
rustls-tls = ["reqwest/rustls"]
[lib]
name = "pyroscope"
path = "src/lib.rs"
[[example]]
name = "jemalloc"
path = "examples/jemalloc.rs"
required-features = ["backend-jemalloc"]
[[test]]
name = "agent"
path = "tests/agent.rs"
[[test]]
name = "pprof_backend"
path = "tests/pprof_backend.rs"
[[test]]
name = "session"
path = "tests/session.rs"
[[test]]
name = "timer"
path = "tests/timer.rs"
[[test]]
name = "timer-epoll"
path = "tests/timer-epoll.rs"
[dependencies.jemalloc_pprof]
version = "0.8"
features = ["symbolize"]
optional = true
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.libc]
version = "^0.2.124"
[dependencies.libflate]
version = "2.1.0"
[dependencies.log]
version = "0.4"
[dependencies.names]
version = "0.14.0"
default-features = false
[dependencies.pprof]
version = "0.1500.2"
features = [
"framehop",
"framehop-unwinder",
]
optional = true
package = "pprof-pyroscope-fork"
[dependencies.prost]
version = "0.14"
[dependencies.reqwest]
version = "0.13"
features = [
"blocking",
"query",
]
default-features = false
[dependencies.serde_json]
version = "1.0.115"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.url]
version = "2.2.2"
[dependencies.uuid]
version = "1.20.0"
features = ["v4"]
[dev-dependencies.assert_matches]
version = "=1.5.0"
[dev-dependencies.claims]
version = "=0.8.0"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.tikv-jemallocator]
version = "0.6"
features = ["profiling"]
[profile.bench]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
[profile.dev]
opt-level = 0
lto = false
codegen-units = 4
debug = 2
debug-assertions = true
rpath = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
strip = "symbols"
[profile.test]
opt-level = 1
lto = false
codegen-units = 4
debug = 2
debug-assertions = true
rpath = false