rust/crates/ra_prof/Cargo.toml

31 lines
772 B
TOML
Raw Normal View History

2019-11-14 16:09:47 -06:00
[package]
edition = "2018"
name = "ra_prof"
version = "0.1.0"
authors = ["rust-analyzer developers"]
publish = false
2020-07-13 20:57:26 -05:00
license = "MIT OR Apache-2.0"
2019-11-14 16:09:47 -06:00
2019-11-17 09:35:05 -06:00
[lib]
doctest = false
2019-11-14 16:09:47 -06:00
[dependencies]
ra_arena = { path = "../ra_arena" }
2020-02-18 07:57:41 -06:00
once_cell = "1.3.1"
2020-02-19 09:28:25 -06:00
backtrace = { version = "0.3.44", optional = true }
2020-07-13 19:12:49 -05:00
mimalloc = { version = "0.1.19", default-features = false, optional = true }
2019-11-14 16:09:47 -06:00
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.3.2", optional = true }
2020-02-18 07:57:41 -06:00
jemalloc-ctl = { version = "0.3.3", optional = true }
2019-11-14 16:09:47 -06:00
[features]
jemalloc = [ "jemallocator", "jemalloc-ctl" ]
cpu_profiler = []
2020-07-10 20:04:37 -05:00
# Uncomment to enable for the whole crate graph
# default = [ "backtrace" ]
# default = [ "jemalloc" ]
2020-07-13 19:12:49 -05:00
# default = [ "mimalloc" ]
2020-07-10 20:04:37 -05:00
# default = [ "cpu_profiler" ]