aboutsummaryrefslogtreecommitdiff
path: root/crates/profile/Cargo.toml
blob: e271e3a56700b138fc147e7af4e6e1da9baa2ae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
name = "profile"
version = "0.0.0"
license = "MIT OR Apache-2.0"
authors = ["rust-analyzer developers"]
edition = "2018"

[lib]
doctest = false

[dependencies]
once_cell = "1.3.1"
cfg-if = "0.1.10"
libc = "0.2.73"
backtrace = { version = "0.3.44", optional = true }

arena = { path = "../arena" }

[target.'cfg(target_os = "linux")'.dependencies]
perf-event = "0.4"

[features]
cpu_profiler = []

# Uncomment to enable for the whole crate graph
# default = [ "backtrace" ]
# default = [ "cpu_profiler" ]