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`).
34 lines
1.1 KiB
TOML
34 lines
1.1 KiB
TOML
[package]
|
|
name = "rustc_metadata"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
bitflags = "1.2.1"
|
|
libloading = "0.7.1"
|
|
odht = { version = "0.3.1", features = ["nightly"] }
|
|
snap = "1"
|
|
tracing = "0.1"
|
|
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
|
tempfile = "3.2"
|
|
rustc_middle = { path = "../rustc_middle" }
|
|
rustc_attr = { path = "../rustc_attr" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
rustc_feature = { path = "../rustc_feature" }
|
|
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
|
rustc_fs_util = { path = "../rustc_fs_util" }
|
|
rustc_hir = { path = "../rustc_hir" }
|
|
rustc_hir_pretty = { path = "../rustc_hir_pretty" }
|
|
rustc_target = { path = "../rustc_target" }
|
|
rustc_index = { path = "../rustc_index" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_expand = { path = "../rustc_expand" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
rustc_type_ir = { path = "../rustc_type_ir" }
|