1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
[package]
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
[lib]
doctest = false
[dependencies]
cfg-if = "1.0.0"
libc.workspace = true
[target.'cfg(target_os = "linux")'.dependencies]
perf-event = "=0.4.7"
[features]
cpu_profiler = []
# Uncomment to enable for the whole crate graph
# default = [ "cpu_profiler" ]
[lints]
workspace = true
|