]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_driver/Cargo.toml
rustc_typeck to rustc_hir_analysis
[rust.git] / compiler / rustc_driver / Cargo.toml
1 [package]
2 name = "rustc_driver"
3 version = "0.0.0"
4 edition = "2021"
5
6 [lib]
7 crate-type = ["dylib"]
8
9 [dependencies]
10 tracing = { version = "0.1.35" }
11 serde_json = "1.0.59"
12 rustc_log = { path = "../rustc_log" }
13 rustc_middle = { path = "../rustc_middle" }
14 rustc_ast_pretty = { path = "../rustc_ast_pretty" }
15 rustc_target = { path = "../rustc_target" }
16 rustc_lint = { path = "../rustc_lint" }
17 rustc_data_structures = { path = "../rustc_data_structures" }
18 rustc_errors = { path = "../rustc_errors" }
19 rustc_feature = { path = "../rustc_feature" }
20 rustc_hir = { path = "../rustc_hir" }
21 rustc_hir_pretty = { path = "../rustc_hir_pretty" }
22 rustc_macros = { path = "../rustc_macros" }
23 rustc_metadata = { path = "../rustc_metadata" }
24 rustc_parse = { path = "../rustc_parse" }
25 rustc_plugin_impl = { path = "../rustc_plugin_impl" }
26 rustc_save_analysis = { path = "../rustc_save_analysis" }
27 rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
28 rustc_session = { path = "../rustc_session" }
29 rustc_error_codes = { path = "../rustc_error_codes" }
30 rustc_interface = { path = "../rustc_interface" }
31 rustc_ast = { path = "../rustc_ast" }
32 rustc_span = { path = "../rustc_span" }
33 rustc_hir_analysis = { path = "../rustc_hir_analysis" }
34
35 [target.'cfg(unix)'.dependencies]
36 libc = "0.2"
37
38 [target.'cfg(windows)'.dependencies]
39 winapi = { version = "0.3", features = ["consoleapi", "debugapi", "processenv"] }
40
41 [features]
42 llvm = ['rustc_interface/llvm']
43 max_level_info = ['rustc_log/max_level_info']
44 rustc_use_parallel_compiler = ['rustc_data_structures/rustc_use_parallel_compiler', 'rustc_interface/rustc_use_parallel_compiler',
45     'rustc_middle/rustc_use_parallel_compiler']