forked from grafana/pyroscope-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
101 lines (88 loc) · 2.1 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
[package]
name = "pyroscope"
description = """
Pyroscope Profiler Agent for continuous profiling of Rust, Python and Ruby applications.
"""
keywords = ["pyroscope", "profiler", "profiling", "pprof"]
authors = ["Abid Omar <[email protected]>"]
version = "0.5.4"
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
[workspace]
members = [
]
exclude = [
"pyroscope_backends",
"pyroscope_cli",
"pyroscope_ffi",
]
[[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 = "0.13.0"
reqwest = { version = "0.11", features = ["blocking", "rustls-tls-native-roots"]}
url = "2.2.2"
libflate = "1.2.0"
libc = "^0.2.124"
prost = "0.10"
[dev-dependencies]
tokio = { version = "1.18", features = ["full"] }
pretty_env_logger = "0.4.0"
assert_matches = "1"
pyroscope_pprofrs = { path = "pyroscope_backends/pyroscope_pprofrs" }
pyroscope_pyspy = { path = "pyroscope_backends/pyroscope_pyspy" }
pyroscope_rbspy = { path = "pyroscope_backends/pyroscope_rbspy" }
[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