forked from grafana/pyroscope-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
112 lines (98 loc) · 2.48 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[package]
name = "pyroscope"
description = """
Pyroscope Profiler Agent for continuous profiling of Rust, Python and Ruby applications.
"""
keywords = ["pyroscope", "profiler", "profiling", "pprof"]
authors = ["Abid Omar <contact@omarabid.com>"]
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.4.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