mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
e20e506f7d
- Accept `impl Into` - Implement `From<>` for `ConstKind` Note: this adds a dependency on `derive_more` (MIT license). It allows to derive a lot of traits (like `From` here) that would be otherwise tedious to implement.
40 lines
1.2 KiB
TOML
40 lines
1.2 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" }
|
|
rustc_feature = { path = "../rustc_feature" }
|
|
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.4.0", optional = true }
|
|
rustc-rayon = { version = "0.4.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.9"
|
|
tracing = "0.1"
|
|
|
|
[features]
|
|
rustc_use_parallel_compiler = ["rustc-rayon", "rustc-rayon-core"]
|