diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-28 12:52:45 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-28 12:52:45 +0000 |
commit | ebb19bb95c79671d5ef1e21a8fcb4daafc356490 (patch) | |
tree | daa75c52c641577945c44b0d4f9838772341988f /crates/ra_ide_api/Cargo.toml | |
parent | 3432c4366f578b4f0a9a6e0384292d72e43ebf03 (diff) | |
parent | 2ee08098a6315aaab07f14c67db024ee0e95af3e (diff) |
Merge #697
697: opt-in jemalloc r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/Cargo.toml')
-rw-r--r-- | crates/ra_ide_api/Cargo.toml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/ra_ide_api/Cargo.toml b/crates/ra_ide_api/Cargo.toml index ad9dd2088..908899129 100644 --- a/crates/ra_ide_api/Cargo.toml +++ b/crates/ra_ide_api/Cargo.toml | |||
@@ -14,8 +14,9 @@ fst = "0.3.1" | |||
14 | rustc-hash = "1.0" | 14 | rustc-hash = "1.0" |
15 | parking_lot = "0.7.0" | 15 | parking_lot = "0.7.0" |
16 | unicase = "2.2.0" | 16 | unicase = "2.2.0" |
17 | jemallocator = "0.1.9" | 17 | |
18 | jemalloc-ctl = "0.2.0" | 18 | jemallocator = { version = "0.1.9", optional = true } |
19 | jemalloc-ctl = { version = "0.2.0", optional = true } | ||
19 | 20 | ||
20 | ra_syntax = { path = "../ra_syntax" } | 21 | ra_syntax = { path = "../ra_syntax" } |
21 | ra_ide_api_light = { path = "../ra_ide_api_light" } | 22 | ra_ide_api_light = { path = "../ra_ide_api_light" } |
@@ -26,3 +27,6 @@ test_utils = { path = "../test_utils" } | |||
26 | 27 | ||
27 | [dev-dependencies] | 28 | [dev-dependencies] |
28 | insta = "0.5.1" | 29 | insta = "0.5.1" |
30 | |||
31 | [features] | ||
32 | jemalloc = [ "jemallocator", "jemalloc-ctl" ] | ||