]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Rollup merge of #71338 - estebank:recursive-impl-trait, r=nikomatsakis
[rust.git] / Cargo.toml
1 [workspace]
2 members = [
3   "src/bootstrap",
4   "src/rustc",
5   "src/libstd",
6   "src/libtest",
7   "src/librustc_codegen_llvm",
8   "src/tools/cargotest",
9   "src/tools/clippy",
10   "src/tools/compiletest",
11   "src/tools/error_index_generator",
12   "src/tools/linkchecker",
13   "src/tools/rustbook",
14   "src/tools/unstable-book-gen",
15   "src/tools/tidy",
16   "src/tools/build-manifest",
17   "src/tools/remote-test-client",
18   "src/tools/remote-test-server",
19   "src/tools/rust-installer",
20   "src/tools/cargo",
21   "src/tools/rustdoc",
22   "src/tools/rls",
23   "src/tools/rustfmt",
24   "src/tools/miri",
25   "src/tools/miri/cargo-miri",
26   "src/tools/rustdoc-themes",
27   "src/tools/unicode-table-generator",
28   "src/tools/expand-yaml-anchors",
29 ]
30 exclude = [
31   "build",
32   # HACK(eddyb) This hardcodes the fact that our CI uses `/checkout/obj`.
33   "obj",
34 ]
35
36 # These options are controlled from our rustc wrapper script, so turn them off
37 # here and have them controlled elsewhere.
38 [profile.dev]
39 debug = false
40 debug-assertions = false
41 [profile.test]
42 debug = false
43 debug-assertions = false
44
45 # We want the RLS to use the version of Cargo that we've got vendored in this
46 # repository to ensure that the same exact version of Cargo is used by both the
47 # RLS and the Cargo binary itself. The RLS depends on Cargo as a git repository
48 # so we use a `[patch]` here to override the github repository with our local
49 # vendored copy.
50 [patch."https://github.com/rust-lang/cargo"]
51 cargo = { path = "src/tools/cargo" }
52
53 [patch.crates-io]
54 # Similar to Cargo above we want the RLS to use a vendored version of `rustfmt`
55 # that we're shipping as well (to ensure that the rustfmt in RLS and the
56 # `rustfmt` executable are the same exact version).
57 rustfmt-nightly = { path = "src/tools/rustfmt" }
58
59 # See comments in `src/tools/rustc-workspace-hack/README.md` for what's going on
60 # here
61 rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' }
62
63 # See comments in `tools/rustc-std-workspace-core/README.md` for what's going on
64 # here
65 rustc-std-workspace-core = { path = 'src/tools/rustc-std-workspace-core' }
66 rustc-std-workspace-alloc = { path = 'src/tools/rustc-std-workspace-alloc' }
67 rustc-std-workspace-std = { path = 'src/tools/rustc-std-workspace-std' }
68
69 [patch."https://github.com/rust-lang/rust-clippy"]
70 clippy_lints = { path = "src/tools/clippy/clippy_lints" }