mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
e1ea7c8844
This commit also adds `tracing` to NotificationDispatcher/RequestDispatcher, bumps `rust-analyzer-salsa` to 0.17.0-pre.6, `always-assert` to 0.2, and removes the homegrown `hprof` implementation in favor of a vendored tracing-span-tree.
37 lines
809 B
TOML
37 lines
809 B
TOML
[package]
|
|
name = "profile"
|
|
version = "0.0.0"
|
|
description = "TBD"
|
|
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
once_cell = "1.17.0"
|
|
tracing.workspace = true
|
|
cfg-if = "1.0.0"
|
|
la-arena.workspace = true
|
|
libc.workspace = true
|
|
countme = { version = "3.0.1", features = ["enable"] }
|
|
jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
perf-event = "=0.4.7"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3.9", features = ["processthreadsapi", "psapi"] }
|
|
|
|
[features]
|
|
cpu_profiler = []
|
|
jemalloc = ["jemalloc-ctl"]
|
|
|
|
# Uncomment to enable for the whole crate graph
|
|
# default = [ "cpu_profiler" ]
|
|
|
|
[lints]
|
|
workspace = true
|