Skip to content

Commit ecfe927

Browse files
weihangloMuscraftehuss
committed
chore: create a [workspace] for cargo
Some dependencies in `resolver-tests` do not have any license information. This prevent it from being a member when integrating in rust-lang/rust. Will figure it out after. Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
1 parent 1ce01c5 commit ecfe927

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Cargo.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
[workspace]
2+
resolver = "2"
3+
members = [
4+
"benches/benchsuite",
5+
"benches/capture",
6+
"crates/cargo-platform",
7+
"crates/cargo-test-macro",
8+
"crates/cargo-test-support",
9+
"crates/cargo-util",
10+
"crates/crates-io",
11+
"crates/credential/*",
12+
"crates/home",
13+
"crates/mdman",
14+
"crates/resolver-tests",
15+
]
16+
exclude = [
17+
# For linkchecker (downloaded during CI) and semver-check
18+
# TODO: Either move semver-check to crates/ folder,
19+
# or make linkchecker run from a given directory.
20+
"src/doc/",
21+
"target/", # exclude bench testing
22+
]
23+
124
[package]
225
name = "cargo"
326
version = "0.71.0"

0 commit comments

Comments
 (0)