rust-analyzer/crates/profile/Cargo.toml

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

35 lines
787 B
TOML
Raw Normal View History

2019-11-14 22:09:47 +00:00
[package]
2020-08-12 14:32:36 +00:00
name = "profile"
version = "0.0.0"
repository.workspace = true
description = "A collection of tools for profiling rust-analyzer."
authors.workspace = true
edition.workspace = true
license.workspace = true
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]
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 = []
jemalloc = ["jemalloc-ctl"]
2020-07-11 01:04:37 +00:00
# Uncomment to enable for the whole crate graph
# default = [ "cpu_profiler" ]
[lints]
workspace = true