mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 05:51:58 +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`).
18 lines
346 B
TOML
18 lines
346 B
TOML
[package]
|
|
name = "rustc_fluent_macro"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
annotate-snippets = "0.9"
|
|
fluent-bundle = "0.15.2"
|
|
fluent-syntax = "0.11"
|
|
synstructure = "0.13.0"
|
|
syn = { version = "2", features = ["full"] }
|
|
proc-macro2 = "1"
|
|
quote = "1"
|
|
unic-langid = { version = "0.9.0", features = ["macros"] }
|