[package]
name = "pyroscope_pprofrs"
description = """
pprof-rs backend for Pyroscope Profiler.
"""
keywords = ["pyroscope", "profiler", "pprof-rs"]
authors = ["Abid Omar <contact@omarabid.com>"]
version = "0.2.7"
edition = "2021"
license = "Apache-2.0"
homepage = "https://pyroscope.io"
documentation = "https://docs.rs/pyroscope"
repository = "https://github.com/pyroscope-io/pyroscope-rs"
readme = "README.md"
[dependencies]
pprof = "0.12"
pyroscope = { version = "0.5.7", path = "../../", default-features = false }
thiserror ="1.0"
log = "0.4"
[features]
default = ["pyroscope/default"]
frame-pointer = ["pprof/frame-pointer"]
[target.aarch64-apple-darwin.dependencies]
pprof = { version = "0.12", features = ["frame-pointer"] }
[profile.dev]
opt-level=0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4
[profile.release]
opt-level=3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
[profile.test]
opt-level = 1
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1