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`).
30 lines
957 B
TOML
30 lines
957 B
TOML
[package]
|
|
name = "rustc_expand"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
build = false
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
crossbeam-channel = "0.5.0"
|
|
rustc_ast_passes = { path = "../rustc_ast_passes" }
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
|
|
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_lexer = { path = "../rustc_lexer" }
|
|
rustc_lint_defs = { path = "../rustc_lint_defs" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_parse = { path = "../rustc_parse" }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
|
thin-vec = "0.2.12"
|
|
tracing = "0.1"
|