mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
28 lines
645 B
TOML
28 lines
645 B
TOML
[package]
|
|
name = "profile"
|
|
version = "0.0.0"
|
|
description = "TBD"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = ["rust-analyzer developers"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
once_cell = "1.3.1"
|
|
cfg-if = "1"
|
|
libc = "0.2.73"
|
|
la-arena = { version = "0.2.0", path = "../../lib/arena" }
|
|
countme = { version = "2.0.1", features = ["enable"] }
|
|
jemalloc-ctl = { version = "0.4.1", package = "tikv-jemalloc-ctl", optional = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
perf-event = "0.4"
|
|
|
|
[features]
|
|
cpu_profiler = []
|
|
jemalloc = ["jemalloc-ctl"]
|
|
|
|
# Uncomment to enable for the whole crate graph
|
|
# default = [ "cpu_profiler" ]
|