# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.64" name = "pyroscope" version = "0.5.8" authors = ["Abid Omar "] build = 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" [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 [profile.test] opt-level = 1 lto = false codegen-units = 4 debug = 2 debug-assertions = true rpath = false [lib] name = "pyroscope" path = "src/lib.rs" [[example]] name = "async" path = "examples/async.rs" [[example]] name = "auth" path = "examples/auth.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "error" path = "examples/error.rs" [[example]] name = "internal-backend-pprof" path = "examples/internal/backend-pprof.rs" [[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-pyspy-connect" path = "examples/internal/pyspy-connect.rs" [[example]] name = "internal-rbspy-connect" path = "examples/internal/rbspy-connect.rs" [[example]] name = "internal-timer" path = "examples/internal/timer.rs" [[example]] name = "multi-thread" path = "examples/multi-thread.rs" [[example]] name = "multi-thread-report" path = "examples/multi-thread-report.rs" [[example]] name = "tags" path = "examples/tags.rs" [[example]] name = "transform" path = "examples/transform.rs" [[example]] name = "with-logger" path = "examples/with-logger.rs" [[test]] name = "agent" path = "tests/agent.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.libc] version = "^0.2.124" [dependencies.libflate] version = "1.2.0" [dependencies.log] version = "0.4" [dependencies.names] version = "0.14.0" default-features = false [dependencies.prost] version = "0.11" [dependencies.reqwest] version = "0.12" features = ["blocking"] default-features = false [dependencies.serde_json] version = "1.0.115" [dependencies.thiserror] version = "1.0" [dependencies.url] version = "2.2.2" [dependencies.winapi] version = "0.3.9" [dev-dependencies.assert_matches] version = "1" [dev-dependencies.claims] version = "0.7.1" [dev-dependencies.pretty_env_logger] version = "0.5.0" [dev-dependencies.tokio] version = "1.18" features = ["full"] [features] default = ["rustls-tls"] native-tls = ["reqwest/native-tls"] rustls-tls = ["reqwest/rustls-tls"]