Skip to content

Commit 234a153

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 f2f4496 commit 234a153

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Cargo.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
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+
]
15+
exclude = [
16+
"crates/resolver-tests",
17+
# For linkchecker (downloaded during CI) and semver-check
18+
# TODO: consider move semver-check to crates/ folder
19+
"src/doc/",
20+
"target/", # exclude bench testing
21+
]
22+
123
[package]
224
name = "cargo"
325
version = "0.71.0"

0 commit comments

Comments
 (0)