diff options
-rw-r--r-- | .gitattributes | 2 | ||||
-rw-r--r-- | crates/ra_prof/Cargo.toml | 38 |
2 files changed, 20 insertions, 20 deletions
diff --git a/.gitattributes b/.gitattributes index 183e9b521..e749e1dc9 100644 --- a/.gitattributes +++ b/.gitattributes | |||
@@ -1,2 +1,2 @@ | |||
1 | * text=auto eol=lf | ||
1 | crates/ra_syntax/test_data/** -text eof=LF | 2 | crates/ra_syntax/test_data/** -text eof=LF |
2 | crates/ra_ide_api/src/snapshots/** -text eof=LF | ||
diff --git a/crates/ra_prof/Cargo.toml b/crates/ra_prof/Cargo.toml index bb241258c..751bcdeb8 100644 --- a/crates/ra_prof/Cargo.toml +++ b/crates/ra_prof/Cargo.toml | |||
@@ -1,19 +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 | 12 | ||
13 | [target.'cfg(not(target_env = "msvc"))'.dependencies] | 13 | [target.'cfg(not(target_env = "msvc"))'.dependencies] |
14 | jemallocator = { version = "0.3.2", optional = true } | 14 | jemallocator = { version = "0.3.2", optional = true } |
15 | jemalloc-ctl = { version = "0.3.2", optional = true } | 15 | jemalloc-ctl = { version = "0.3.2", optional = true } |
16 | 16 | ||
17 | [features] | 17 | [features] |
18 | jemalloc = [ "jemallocator", "jemalloc-ctl" ] | 18 | jemalloc = [ "jemallocator", "jemalloc-ctl" ] |
19 | cpu_profiler = [] | 19 | cpu_profiler = [] |