fork/rust-analyzer

git clone https://git.julia.blue/fork/rust-analyzer

borsAuto merge of #12502 - Veykril:deps, r=Veykrile9d3fe0484

2022-06-20
751 B31 linesraw
1[package]
2name = "profile"
3version = "0.0.0"
4description = "TBD"
5license = "MIT OR Apache-2.0"
6edition = "2021"
7rust-version = "1.57"
8
9[lib]
10doctest = false
11
12[dependencies]
13once_cell = "1.12.0"
14cfg-if = "1.0.0"
15libc = "0.2.126"
16la-arena = { version = "0.3.0", path = "../../lib/la-arena" }
17countme = { version = "3.0.1", features = ["enable"] }
18jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = true }
19
20[target.'cfg(target_os = "linux")'.dependencies]
21perf-event = "0.4.7"
22
23[target.'cfg(windows)'.dependencies]
24winapi = { version = "0.3.9", features = ["processthreadsapi", "psapi"] }
25
26[features]
27cpu_profiler = []
28jemalloc = ["jemalloc-ctl"]
29
30# Uncomment to enable for the whole crate graph
31# default = [ "cpu_profiler" ]