-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
49 lines (44 loc) · 1.44 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
[package]
name = "ying-profiler"
version = "0.2.0"
edition = "2021"
authors = ["Evan Chan <velvia@gmail.com>"]
description = "Sampling retained memory profiler for Rust, low resource usage, can write out flamegraphs."
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/velvia/ying-profiler"
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
keywords = ["profiling", "sampling", "memory", "profiler", "flamegraph"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
backtrace = "^0.3"
coarsetime = "^0.1"
chrono = "0.4.0"
# This is custom dashmap that uses hashbrown using System allocator, not global. Removes most allocations
# to make our lives easier
dashmap = { git = "https://github.com/velvia/dashmap", rev = "a6e36242044f86412531c24c437e95beadc67b62"}
libc = "^0.2"
log = "^0.4"
once_cell = "1.14"
regex = "^1.6"
wyhash = "0.5.0"
tracing = { version = "^0.1.30", optional = true }
inferno = "0.9"
derive_builder = "0.20"
[dev-dependencies]
futures = "^0.3"
moka = "0.9"
rand = { version = "0.8", features = ["small_rng"] } # no-std, so no allocation
serial_test = "0.9.0"
tokio = { version = "1.20.1", features = ["full"] }
tracing-subscriber = "0.3"
[features]
profile-spans = ["tracing"]
[profile.bench]
strip = "none"
# debug = 1 means line charts only, which is minimum needed for good stack traces
debug = 1