fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1[package] 2name = "profile" 3version = "0.0.0" 4description = "TBD" 5 6authors.workspace = true 7edition.workspace = true 8license.workspace = true 9rust-version.workspace = true 10 11[lib] 12doctest = false 13 14[dependencies] 15once_cell = "1.17.0" 16cfg-if = "1.0.0" 17libc = "0.2.135" 18la-arena.workspace = true 19countme = { version = "3.0.1", features = ["enable"] } 20jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = true } 21 22[target.'cfg(target_os = "linux")'.dependencies] 23perf-event = "=0.4.7" 24 25[target.'cfg(windows)'.dependencies] 26winapi = { version = "0.3.9", features = ["processthreadsapi", "psapi"] } 27 28[features] 29cpu_profiler = [] 30jemalloc = ["jemalloc-ctl"] 31 32# Uncomment to enable for the whole crate graph 33# default = [ "cpu_profiler" ]