mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
2f26b2a99a
Switch from `derivative` to `derive-where` This is a part of the effort to get rid of `syn 1.*` in compiler's dependencies: #109302 Derivative has not been maintained in nearly 3 years[^1]. It also depends on `syn 1.*`. This PR replaces `derivative` with `derive-where`[^2], a not dead alternative, which uses `syn 2.*`. A couple of `Debug` formats have changed around the skipped fields[^3], but I doubt this is an issue. [^1]: https://github.com/mcarton/rust-derivative/issues/117 [^2]: https://lib.rs/crates/derive-where [^3]: See the changes in `tests/ui`
45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
[package]
|
|
name = "rustc_middle"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# tidy-alphabetical-start
|
|
bitflags = "2.4.1"
|
|
derive-where = "1.2.7"
|
|
either = "1.5.0"
|
|
field-offset = "0.3.5"
|
|
gsgdt = "0.1.2"
|
|
polonius-engine = "0.13.0"
|
|
rustc-rayon-core = { version = "0.5.0", optional = true }
|
|
rustc_apfloat = "0.2.0"
|
|
rustc_arena = { path = "../rustc_arena" }
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_ast_ir = { path = "../rustc_ast_ir" }
|
|
rustc_attr = { path = "../rustc_attr" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_error_messages = { path = "../rustc_error_messages" } # Used for intra-doc links
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
rustc_feature = { path = "../rustc_feature" }
|
|
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
|
rustc_graphviz = { path = "../rustc_graphviz" }
|
|
rustc_hir = { path = "../rustc_hir" }
|
|
rustc_hir_pretty = { path = "../rustc_hir_pretty" }
|
|
rustc_index = { path = "../rustc_index" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_query_system = { path = "../rustc_query_system" }
|
|
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"
|
|
# tidy-alphabetical-end
|
|
|
|
[features]
|
|
# tidy-alphabetical-start
|
|
rustc_use_parallel_compiler = ["dep:rustc-rayon-core"]
|
|
# tidy-alphabetical-end
|