2019-11-14 17:09:47 -05:00
|
|
|
[package]
|
2020-08-12 16:32:36 +02:00
|
|
|
name = "profile"
|
|
|
|
version = "0.0.0"
|
2020-08-24 13:06:30 +02:00
|
|
|
description = "TBD"
|
2020-07-14 10:57:26 +09:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-08-12 16:32:36 +02:00
|
|
|
authors = ["rust-analyzer developers"]
|
|
|
|
edition = "2018"
|
2019-11-14 17:09:47 -05:00
|
|
|
|
2019-11-17 18:35:05 +03:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
2019-11-14 17:09:47 -05:00
|
|
|
[dependencies]
|
2020-02-18 15:57:41 +02:00
|
|
|
once_cell = "1.3.1"
|
2020-10-08 09:43:00 -04:00
|
|
|
cfg-if = "1"
|
2020-07-21 19:30:17 +02:00
|
|
|
libc = "0.2.73"
|
2021-01-17 11:41:45 +03:00
|
|
|
la-arena = { version = "0.2.0", path = "../../lib/arena" }
|
2021-01-27 12:16:24 +03:00
|
|
|
countme = { version = "2.0.1", features = ["enable"] }
|
2021-01-18 19:25:55 +01:00
|
|
|
jemalloc-ctl = { version = "0.3.3", optional = true }
|
2020-07-30 10:40:55 +02:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2020-07-30 09:44:21 +02:00
|
|
|
perf-event = "0.4"
|
2019-11-14 17:09:47 -05:00
|
|
|
|
|
|
|
[features]
|
|
|
|
cpu_profiler = []
|
2021-01-18 19:25:55 +01:00
|
|
|
jemalloc = ["jemalloc-ctl"]
|
2020-07-11 03:04:37 +02:00
|
|
|
|
|
|
|
# Uncomment to enable for the whole crate graph
|
|
|
|
# default = [ "cpu_profiler" ]
|