rust/crates/profile/Cargo.toml

32 lines
714 B
TOML
Raw Normal View History

2019-11-14 16:09:47 -06:00
[package]
2020-08-12 09:32:36 -05:00
name = "profile"
version = "0.0.0"
description = "TBD"
2020-07-13 20:57:26 -05:00
license = "MIT OR Apache-2.0"
2021-10-21 10:49:28 -05:00
edition = "2021"
2021-10-23 07:07:11 -05:00
rust-version = "1.56"
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]
2020-02-18 07:57:41 -06:00
once_cell = "1.3.1"
cfg-if = "1"
2021-10-01 10:51:45 -05:00
libc = "0.2"
2021-10-04 22:10:25 -05:00
la-arena = { version = "0.3.0", path = "../../lib/arena" }
2021-12-04 07:14:31 -06:00
countme = { version = "3.0", features = ["enable"] }
jemalloc-ctl = { version = "0.4.1", package = "tikv-jemalloc-ctl", optional = true }
2020-07-30 03:40:55 -05:00
[target.'cfg(target_os = "linux")'.dependencies]
perf-event = "0.4"
2019-11-14 16:09:47 -06:00
2021-06-09 15:55:50 -05:00
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["psapi"] }
2019-11-14 16:09:47 -06:00
[features]
cpu_profiler = []
jemalloc = ["jemalloc-ctl"]
2020-07-10 20:04:37 -05:00
# Uncomment to enable for the whole crate graph
# default = [ "cpu_profiler" ]