[package] name = "pyroscope" description = """ Pyroscope Profiler Agent for continuous profiling of Rust, Python and Ruby applications. """ keywords = ["pyroscope", "profiler", "profiling", "pprof"] authors = ["Abid Omar "] version = "0.5.8" edition = "2021" license = "Apache-2.0" homepage = "https://pyroscope.io/docs/rust" documentation = "https://docs.rs/pyroscope" repository = "https://github.com/pyroscope-io/pyroscope-rs" readme = "README.md" autobins = false autoexamples = true autotests = true autobenches = true rust-version = "1.64" [workspace] members = [ "pyroscope_backends/pyroscope_pprofrs", "pyroscope_backends/pyroscope_pyspy", "pyroscope_cli", "pyroscope_ffi/ruby/ext/rbspy", "pyroscope_ffi/ruby/ext/thread_id", "pyroscope_ffi/python/lib", "pyroscope_ffi/ffikit", ] [[example]] name = "internal-backend-void" path = "examples/internal/backend-void.rs" [[example]] name = "internal-backend-void-run" path = "examples/internal/backend-void-run.rs" [[example]] name = "internal-backend-pprof" path = "examples/internal/backend-pprof.rs" [[example]] name = "internal-timer" path = "examples/internal/timer.rs" [[example]] name = "internal-pyspy-connect" path = "examples/internal/pyspy-connect.rs" [[example]] name = "internal-rbspy-connect" path = "examples/internal/rbspy-connect.rs" [dependencies] thiserror ="1.0" log = "0.4" names = { version = "0.14.0", default-features = false } reqwest = { version = "0.12", features = ["blocking"], default-features = false } url = "2.2.2" libflate = "1.2.0" libc = "^0.2.124" prost = "0.11" winapi = "0.3.9" serde_json = "1.0.115" [dev-dependencies] tokio = { version = "1.18", features = ["full"] } pretty_env_logger = "0.5.0" assert_matches = "1" claims = "0.7.1" pyroscope_pprofrs = { path = "pyroscope_backends/pyroscope_pprofrs" } pyroscope_pyspy = { path = "pyroscope_backends/pyroscope_pyspy" } pyroscope_rbspy = { path = "pyroscope_backends/pyroscope_rbspy" } [features] default = ["rustls-tls"] rustls-tls = ["reqwest/rustls-tls"] native-tls = ["reqwest/native-tls"] [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