]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_data_structures/Cargo.toml
Rollup merge of #101873 - WaffleLapkin:x-build-proc-macro-srv, r=jyn514
[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 doctest = false
8
9 [dependencies]
10 arrayvec = { version = "0.7", default-features = false }
11 bitflags = "1.2.1"
12 cfg-if = "0.1.2"
13 ena = "0.14"
14 indexmap = { version = "1.9.1" }
15 jobserver_crate = { version = "0.1.13", package = "jobserver" }
16 libc = "0.2"
17 measureme = "10.0.0"
18 rayon-core = { version = "0.4.0", package = "rustc-rayon-core", optional = true }
19 rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
20 rustc_graphviz = { path = "../rustc_graphviz" }
21 rustc-hash = "1.1.0"
22 rustc_index = { path = "../rustc_index", package = "rustc_index" }
23 rustc_macros = { path = "../rustc_macros" }
24 rustc_serialize = { path = "../rustc_serialize" }
25 smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
26 stable_deref_trait = "1.0.0"
27 stacker = "0.1.14"
28 tempfile = "3.2"
29 thin-vec = "0.2.8"
30 tracing = "0.1"
31
32 [dependencies.parking_lot]
33 version = "0.11"
34
35 [target.'cfg(windows)'.dependencies]
36 winapi = { version = "0.3", features = ["fileapi", "psapi", "winerror"] }
37
38 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
39 memmap2 = "0.2.1"
40
41 [features]
42 rustc_use_parallel_compiler = ["indexmap/rustc-rayon", "rayon", "rayon-core"]