diff options
Diffstat (limited to 'crates/ra_prof/Cargo.toml')
-rw-r--r-- | crates/ra_prof/Cargo.toml | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/crates/ra_prof/Cargo.toml b/crates/ra_prof/Cargo.toml index 7db4498c3..bb241258c 100644 --- a/crates/ra_prof/Cargo.toml +++ b/crates/ra_prof/Cargo.toml | |||
@@ -1,17 +1,19 @@ | |||
1 | [package] | 1 | [package] |
2 | edition = "2018" | 2 | edition = "2018" |
3 | name = "ra_prof" | 3 | name = "ra_prof" |
4 | version = "0.1.0" | 4 | version = "0.1.0" |
5 | authors = ["rust-analyzer developers"] | 5 | authors = ["rust-analyzer developers"] |
6 | publish = false | 6 | publish = false |
7 | 7 | ||
8 | [dependencies] | 8 | [dependencies] |
9 | once_cell = "1.0.1" | 9 | once_cell = "1.0.1" |
10 | itertools = "0.8.0" | 10 | itertools = "0.8.0" |
11 | backtrace = "0.3.28" | 11 | backtrace = "0.3.28" |
12 | jemallocator = { version = "0.3.2", optional = true } | 12 | |
13 | jemalloc-ctl = { version = "0.3.2", optional = true } | 13 | [target.'cfg(not(target_env = "msvc"))'.dependencies] |
14 | 14 | jemallocator = { version = "0.3.2", optional = true } | |
15 | [features] | 15 | jemalloc-ctl = { version = "0.3.2", optional = true } |
16 | jemalloc = [ "jemallocator", "jemalloc-ctl" ] | 16 | |
17 | cpu_profiler = [] | 17 | [features] |
18 | jemalloc = [ "jemallocator", "jemalloc-ctl" ] | ||
19 | cpu_profiler = [] | ||