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