]> git.lizzy.rs Git - rust.git/blob - crates/profile/Cargo.toml
Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links
[rust.git] / crates / profile / Cargo.toml
1 [package]
2 name = "profile"
3 version = "0.0.0"
4 description = "TBD"
5 license = "MIT OR Apache-2.0"
6 authors = ["rust-analyzer developers"]
7 edition = "2018"
8
9 [lib]
10 doctest = false
11
12 [dependencies]
13 once_cell = "1.3.1"
14 cfg-if = "0.1.10"
15 libc = "0.2.73"
16 backtrace = { version = "0.3.44", optional = true }
17
18 arena = { path = "../arena", version = "0.0.0" }
19
20 [target.'cfg(target_os = "linux")'.dependencies]
21 perf-event = "0.4"
22
23 [features]
24 cpu_profiler = []
25
26 # Uncomment to enable for the whole crate graph
27 # default = [ "backtrace" ]
28 # default = [ "cpu_profiler" ]