2019-11-14 16:09:47 -06:00
|
|
|
[package]
|
2020-08-12 09:32:36 -05:00
|
|
|
name = "profile"
|
|
|
|
version = "0.0.0"
|
2020-07-13 20:57:26 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-08-12 09:32:36 -05:00
|
|
|
authors = ["rust-analyzer developers"]
|
|
|
|
edition = "2018"
|
2019-11-14 16:09:47 -06:00
|
|
|
|
2019-11-17 09:35:05 -06:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
2019-11-14 16:09:47 -06:00
|
|
|
[dependencies]
|
2020-02-18 07:57:41 -06:00
|
|
|
once_cell = "1.3.1"
|
2020-07-21 12:30:17 -05:00
|
|
|
cfg-if = "0.1.10"
|
|
|
|
libc = "0.2.73"
|
2020-08-12 09:32:36 -05:00
|
|
|
backtrace = { version = "0.3.44", optional = true }
|
|
|
|
|
|
|
|
arena = { path = "../arena" }
|
2020-07-30 03:40:55 -05:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2020-07-30 02:44:21 -05:00
|
|
|
perf-event = "0.4"
|
2019-11-14 16:09:47 -06:00
|
|
|
|
|
|
|
[features]
|
|
|
|
cpu_profiler = []
|
2020-07-10 20:04:37 -05:00
|
|
|
|
|
|
|
# Uncomment to enable for the whole crate graph
|
|
|
|
# default = [ "backtrace" ]
|
|
|
|
# default = [ "cpu_profiler" ]
|