aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_prof/Cargo.toml
blob: 751bcdeb8a0a64959aa450b22eaa2d64ead68f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[package]
edition = "2018"
name = "ra_prof"
version = "0.1.0"
authors = ["rust-analyzer developers"]
publish = false

[dependencies]
once_cell = "1.0.1"
itertools = "0.8.0"
backtrace = "0.3.28"

[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.3.2", optional = true }
jemalloc-ctl = { version = "0.3.2", optional = true }

[features]
jemalloc = [ "jemallocator", "jemalloc-ctl" ]
cpu_profiler = []