-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
58 lines (54 loc) · 1.73 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
[workspace]
members = ["mappings", "capi", "util", "example"]
[package]
name = "jemalloc_pprof"
description = "Convert jemalloc heap profiles to pprof to understand memory usage, fix memory leaks, and fix OOM Kills."
version = "0.6.0"
edition = "2021"
publish = true
license = "Apache-2.0"
authors = [
"Frederic Branczyk <[email protected]>",
"Brennan Vincent <[email protected]>",
]
repository = "https://github.com/polarsignals/rust-jemalloc-pprof"
keywords = ["jemalloc", "pprof", "memory", "profiling", "observability"]
categories = [
"development-tools",
"development-tools::profiling",
"development-tools::debugging",
"memory-management",
]
documentation = "https://docs.rs/jemalloc_pprof/latest/jemalloc_pprof/"
homepage = "https://crates.io/crates/jemalloc_pprof"
[workspace.dependencies]
anyhow = "1"
flate2 = "1.0"
libc = "0.2"
once_cell = "1.19"
prost = { version = "0.13", features = ["no-recursion-limit"] }
tempfile = "3.11"
tikv-jemalloc-ctl = { version = "0.6", features = ["use_std"] }
tracing = "0.1"
tokio = { version = "1", features = ["time", "sync"] }
paste = "1.0"
num = "0.4"
errno = "0.3"
util = { path = "./util", version = "0.6", package = "pprof_util" }
mappings = { path = "./mappings", version = "0.6" }
[dependencies]
util.workspace = true
mappings.workspace = true
libc.workspace = true
anyhow.workspace = true
tikv-jemalloc-ctl.workspace = true
once_cell.workspace = true
tracing.workspace = true
tempfile.workspace = true
tokio.workspace = true
[dev-dependencies]
tikv-jemallocator = "0.6"
axum = "0.7"
# re-import tokio to enable all its features. This is required to
# successfully compile the test snipptes that are part of the documentation
tokio = { version = "1", features = ["full"] }