2019-11-14 16:09:47 -06:00
|
|
|
[package]
|
2020-08-12 09:32:36 -05:00
|
|
|
name = "profile"
|
|
|
|
version = "0.0.0"
|
2020-08-24 06:06:30 -05:00
|
|
|
description = "TBD"
|
2023-01-16 09:41:47 -06:00
|
|
|
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
2023-01-16 09:33:01 -06:00
|
|
|
rust-version.workspace = true
|
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]
|
2023-01-21 00:48:46 -06:00
|
|
|
once_cell = "1.17.0"
|
2022-03-22 11:36:41 -05:00
|
|
|
cfg-if = "1.0.0"
|
2023-06-19 05:44:09 -05:00
|
|
|
la-arena.workspace = true
|
2023-11-16 13:48:49 -06:00
|
|
|
libc.workspace = true
|
2022-03-22 11:36:41 -05:00
|
|
|
countme = { version = "3.0.1", features = ["enable"] }
|
2022-06-10 09:30:09 -05:00
|
|
|
jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = true }
|
2020-07-30 03:40:55 -05:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2023-03-25 08:43:08 -05:00
|
|
|
perf-event = "=0.4.7"
|
2019-11-14 16:09:47 -06:00
|
|
|
|
2021-06-09 15:55:50 -05:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-03-22 11:36:41 -05:00
|
|
|
winapi = { version = "0.3.9", features = ["processthreadsapi", "psapi"] }
|
2021-06-09 15:55:50 -05:00
|
|
|
|
2019-11-14 16:09:47 -06:00
|
|
|
[features]
|
|
|
|
cpu_profiler = []
|
2021-05-07 14:41:07 -05:00
|
|
|
jemalloc = ["jemalloc-ctl"]
|
2020-07-10 20:04:37 -05:00
|
|
|
|
|
|
|
# Uncomment to enable for the whole crate graph
|
|
|
|
# default = [ "cpu_profiler" ]
|
2023-12-29 08:22:29 -06:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|