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>
This commit is contained in:
Weihang Lo 2023-03-14 11:44:16 +00:00
parent 1ce01c5e58
commit ecfe92776c
No known key found for this signature in database
GPG Key ID: D7DBF189825E82E7
1 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,26 @@
[workspace]
resolver = "2"
members = [
"benches/benchsuite",
"benches/capture",
"crates/cargo-platform",
"crates/cargo-test-macro",
"crates/cargo-test-support",
"crates/cargo-util",
"crates/crates-io",
"crates/credential/*",
"crates/home",
"crates/mdman",
"crates/resolver-tests",
]
exclude = [
# For linkchecker (downloaded during CI) and semver-check
# TODO: Either move semver-check to crates/ folder,
# or make linkchecker run from a given directory.
"src/doc/",
"target/", # exclude bench testing
]
[package]
name = "cargo"
version = "0.71.0"