chore: Use globs for workspace members

This is a short-term option until we can have a better solution for
globbing.  This does not update `benches/` to support which has a README
in there preventing globbing; this seems low-churn enough not to find a
solution for it.

On the next sync-up with rust-lang/rust, we'll need to update 4e46301258/src/bootstrap/tool.rs (L588-L603)

Fixes #11988
This commit is contained in:
Ed Page 2023-04-18 20:02:21 -05:00
parent 9d506e58cd
commit 895435fba9
16 changed files with 5 additions and 12 deletions

View File

@ -1,17 +1,10 @@
[workspace]
resolver = "2"
members = [
"crates/*",
"credential/*",
"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

View File

@ -8,7 +8,7 @@ Documentation about credential processes may be found at
https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#credential-process
Example implementations may be found at
https://github.com/rust-lang/cargo/tree/master/crates/credential
https://github.com/rust-lang/cargo/tree/master/credential
## Usage

View File

@ -86,7 +86,7 @@
//! - [`cargo-test-macro`](https://github.com/rust-lang/cargo/tree/master/crates/cargo-test-macro)
//! ([nightly docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo_test_macro/index.html)):
//! This is the `#[cargo_test]` proc-macro used by the test suite to define tests.
//! - [`credential`](https://github.com/rust-lang/cargo/tree/master/crates/credential)
//! - [`credential`](https://github.com/rust-lang/cargo/tree/master/credential)
//! This subdirectory contains several packages for implementing the
//! experimental
//! [credential-process](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#credential-process)

View File

@ -165,7 +165,7 @@ trigger_files = ["src/cargo/core/compiler/fingerprint/"]
trigger_files = ["src/cargo/sources/registry/", "src/cargo/core/registry.rs"]
[autolabel."A-registry-authentication"]
trigger_files = ["src/cargo/util/auth.rs", "crates/credential/"]
trigger_files = ["src/cargo/util/auth.rs", "credential/"]
[autolabel."A-semver"]
trigger_files = [