2 name = "rustc_data_structures"
10 arrayvec = { version = "0.7", default-features = false }
12 indexmap = { version = "1.9.1" }
14 jobserver_crate = { version = "0.1.13", package = "jobserver" }
15 rustc_serialize = { path = "../rustc_serialize" }
16 rustc_macros = { path = "../rustc_macros" }
17 rustc_graphviz = { path = "../rustc_graphviz" }
19 stable_deref_trait = "1.0.0"
20 rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
21 rayon-core = { version = "0.4.0", package = "rustc-rayon-core", optional = true }
23 smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
24 rustc_index = { path = "../rustc_index", package = "rustc_index" }
31 [dependencies.parking_lot]
34 [target.'cfg(windows)'.dependencies]
35 winapi = { version = "0.3", features = ["fileapi", "psapi", "winerror"] }
37 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
41 rustc_use_parallel_compiler = ["indexmap/rustc-rayon", "rayon", "rayon-core"]