rust/crates/profile/Cargo.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
788 B
TOML
Raw Normal View History

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