]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_data_structures/Cargo.toml
Rollup merge of #106566 - clubby789:contiguous-weird-unicode, r=cjgillot
[rust.git] / compiler / rustc_data_structures / Cargo.toml
1 [package]
2 name = "rustc_data_structures"
3 version = "0.0.0"
4 edition = "2021"
5
6 [lib]
7
8 [dependencies]
9 arrayvec = { version = "0.7", default-features = false }
10 bitflags = "1.2.1"
11 cfg-if = "1.0"
12 ena = "0.14"
13 indexmap = { version = "1.9.1" }
14 jobserver_crate = { version = "0.1.13", package = "jobserver" }
15 libc = "0.2"
16 measureme = "10.0.0"
17 rayon-core = { version = "0.4.0", package = "rustc-rayon-core", optional = true }
18 rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
19 rustc_graphviz = { path = "../rustc_graphviz" }
20 rustc-hash = "1.1.0"
21 rustc_index = { path = "../rustc_index", package = "rustc_index" }
22 rustc_macros = { path = "../rustc_macros" }
23 rustc_serialize = { path = "../rustc_serialize" }
24 smallvec = { version = "1.8.1", features = [
25     "const_generics",
26     "union",
27     "may_dangle",
28 ] }
29 stable_deref_trait = "1.0.0"
30 stacker = "0.1.15"
31 tempfile = "3.2"
32 thin-vec = "0.2.9"
33 tracing = "0.1"
34
35 [dependencies.parking_lot]
36 version = "0.11"
37
38 [target.'cfg(windows)'.dependencies]
39 winapi = { version = "0.3", features = ["fileapi", "psapi", "winerror"] }
40
41 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
42 memmap2 = "0.2.1"
43
44 [features]
45 rustc_use_parallel_compiler = ["indexmap/rustc-rayon", "rayon", "rayon-core"]