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"
|
2023-01-16 15:41:47 +00:00
|
|
|
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
2023-01-16 15:33:01 +00:00
|
|
|
rust-version.workspace = true
|
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-03-22 16:36:41 +00:00
|
|
|
cfg-if = "1.0.0"
|
2023-11-16 19:48:49 +00:00
|
|
|
libc.workspace = true
|
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]
|
2023-03-25 13:43:08 +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]
|
2024-05-01 14:04:13 +00:00
|
|
|
windows-sys = { version = "0.52", features = ["Win32_System_Threading", "Win32_System_ProcessStatus"] }
|
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" ]
|
2023-12-29 14:22:29 +00:00
|
|
|
|
|
|
|
[lints]
|
2024-01-18 02:27:38 +00:00
|
|
|
workspace = true
|