pyroscope 1.0.0

Pyroscope Profiler Agent for continuous profiling of Rust, Python and Ruby applications.
Documentation
# 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 = "1.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-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"

[[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.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.15"
features = [
    "framehop",
    "framehop-unwinder",
]
optional = true

[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"

[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