mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
b5d3d970fa
Fluent, with all the icu4x it brings in, takes quite some time to compile. `fluent_messages!` is only needed in further downstream rustc crates, but is blocking more upstream crates like `rustc_index`. By splitting it out, we allow `rustc_macros` to be compiled earlier, which speeds up `x check compiler` by about 5 seconds (and even more after the needless dependency on `serde_json` is removed from `rustc_data_structures`).
43 lines
1.4 KiB
TOML
43 lines
1.4 KiB
TOML
[package]
|
|
name = "rustc_middle"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
bitflags = "1.2.1"
|
|
chalk-ir = "0.87.0"
|
|
derive_more = "0.99.17"
|
|
either = "1.5.0"
|
|
gsgdt = "0.1.2"
|
|
polonius-engine = "0.13.0"
|
|
rustc_apfloat = { path = "../rustc_apfloat" }
|
|
rustc_arena = { path = "../rustc_arena" }
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_attr = { path = "../rustc_attr" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
# Used for intra-doc links
|
|
rustc_error_messages = { path = "../rustc_error_messages" }
|
|
rustc_feature = { path = "../rustc_feature" }
|
|
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
|
rustc_graphviz = { path = "../rustc_graphviz" }
|
|
rustc_hir = { path = "../rustc_hir" }
|
|
rustc_index = { path = "../rustc_index" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_query_system = { path = "../rustc_query_system" }
|
|
rustc-rayon-core = { version = "0.5.0", optional = true }
|
|
rustc-rayon = { version = "0.5.0", optional = true }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_target = { path = "../rustc_target" }
|
|
rustc_type_ir = { path = "../rustc_type_ir" }
|
|
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
|
thin-vec = "0.2.12"
|
|
tracing = "0.1"
|
|
|
|
[features]
|
|
rustc_use_parallel_compiler = ["rustc-rayon", "rustc-rayon-core"]
|