2019-11-14 22:09:47 +00:00
|
|
|
[package]
|
2020-08-12 14:32:36 +00:00
|
|
|
name = "profile"
|
|
|
|
version = "0.0.0"
|
2020-08-24 11:06:30 +00:00
|
|
|
description = "TBD"
|
2020-07-14 01:57:26 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-10-21 15:49:28 +00:00
|
|
|
edition = "2021"
|
2022-11-07 11:59:51 +00:00
|
|
|
rust-version = "1.65"
|
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]
|
2022-10-02 17:04:47 +00:00
|
|
|
once_cell = "1.15.0"
|
2022-03-22 16:36:41 +00:00
|
|
|
cfg-if = "1.0.0"
|
2022-10-15 09:55:56 +00:00
|
|
|
libc = "0.2.135"
|
2022-05-14 10:33:48 +00:00
|
|
|
la-arena = { version = "0.3.0", path = "../../lib/la-arena" }
|
2022-03-22 16:36:41 +00:00
|
|
|
countme = { version = "3.0.1", features = ["enable"] }
|
2022-06-10 14:30:09 +00:00
|
|
|
jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = true }
|
2020-07-30 08:40:55 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2022-03-22 16:36:41 +00:00
|
|
|
perf-event = "0.4.7"
|
2019-11-14 22:09:47 +00:00
|
|
|
|
2021-06-09 20:55:50 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-03-22 16:36:41 +00:00
|
|
|
winapi = { version = "0.3.9", features = ["processthreadsapi", "psapi"] }
|
2021-06-09 20:55:50 +00:00
|
|
|
|
2019-11-14 22:09:47 +00:00
|
|
|
[features]
|
|
|
|
cpu_profiler = []
|
2021-05-07 19:41:07 +00:00
|
|
|
jemalloc = ["jemalloc-ctl"]
|
2020-07-11 01:04:37 +00:00
|
|
|
|
|
|
|
# Uncomment to enable for the whole crate graph
|
|
|
|
# default = [ "cpu_profiler" ]
|