diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e5a74e6b314..aed32bc90bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -258,4 +258,4 @@ jobs: steps: - uses: actions/checkout@v4 - uses: taiki-e/install-action@cargo-hack - - run: cargo hack check --all-targets --rust-version --workspace --ignore-private + - run: cargo hack check --rust-version --workspace --no-private --no-dev-deps diff --git a/Cargo.lock b/Cargo.lock index c0a7cc9b9d3..8043f3ee7ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -242,7 +242,7 @@ dependencies = [ [[package]] name = "capture" -version = "0.1.0" +version = "0.0.0" dependencies = [ "cargo_metadata", "flate2", @@ -394,11 +394,11 @@ dependencies = [ [[package]] name = "cargo-test-macro" -version = "0.1.0" +version = "0.0.0" [[package]] name = "cargo-test-support" -version = "0.1.0" +version = "0.0.0" dependencies = [ "anstream", "anstyle", diff --git a/benches/benchsuite/Cargo.toml b/benches/benchsuite/Cargo.toml index efda5ea9dc7..49a629ca2b1 100644 --- a/benches/benchsuite/Cargo.toml +++ b/benches/benchsuite/Cargo.toml @@ -1,12 +1,10 @@ [package] name = "benchsuite" -version = "0.0.0" edition.workspace = true license.workspace = true homepage = "https://github.com/rust-lang/cargo" repository = "https://github.com/rust-lang/cargo" description = "Benchmarking suite for Cargo." -publish = false [dependencies] cargo.workspace = true diff --git a/benches/capture/Cargo.toml b/benches/capture/Cargo.toml index cb3742d790e..171809f43e7 100644 --- a/benches/capture/Cargo.toml +++ b/benches/capture/Cargo.toml @@ -1,10 +1,8 @@ [package] name = "capture" -version = "0.1.0" edition.workspace = true license.workspace = true description = "Tool for capturing a real-world workspace for benchmarking." -publish = false [dependencies] cargo_metadata.workspace = true diff --git a/crates/cargo-test-macro/Cargo.toml b/crates/cargo-test-macro/Cargo.toml index e216936ee2f..78533492ac3 100644 --- a/crates/cargo-test-macro/Cargo.toml +++ b/crates/cargo-test-macro/Cargo.toml @@ -1,13 +1,11 @@ [package] name = "cargo-test-macro" -version = "0.1.0" edition.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true documentation = "https://github.com/rust-lang/cargo" description = "Helper proc-macro for Cargo's testsuite." -publish = false [lib] proc-macro = true diff --git a/crates/cargo-test-support/Cargo.toml b/crates/cargo-test-support/Cargo.toml index a8b7b8f1dd1..af348e3d5fa 100644 --- a/crates/cargo-test-support/Cargo.toml +++ b/crates/cargo-test-support/Cargo.toml @@ -1,9 +1,7 @@ [package] name = "cargo-test-support" -version = "0.1.0" license.workspace = true edition.workspace = true -publish = false [lib] doctest = false diff --git a/crates/mdman/Cargo.toml b/crates/mdman/Cargo.toml index 375d8ac750f..fc29046fe34 100644 --- a/crates/mdman/Cargo.toml +++ b/crates/mdman/Cargo.toml @@ -1,10 +1,8 @@ [package] name = "mdman" -version = "0.0.0" edition.workspace = true license.workspace = true description = "Creates a man page page from markdown." -publish = false [dependencies] anyhow.workspace = true diff --git a/crates/resolver-tests/Cargo.toml b/crates/resolver-tests/Cargo.toml index 44f90690051..e4d94211cf8 100644 --- a/crates/resolver-tests/Cargo.toml +++ b/crates/resolver-tests/Cargo.toml @@ -1,8 +1,6 @@ [package] name = "resolver-tests" -version = "0.0.0" edition.workspace = true -publish = false [dependencies] cargo.workspace = true diff --git a/crates/semver-check/Cargo.toml b/crates/semver-check/Cargo.toml index 62301104995..3f244642540 100644 --- a/crates/semver-check/Cargo.toml +++ b/crates/semver-check/Cargo.toml @@ -1,9 +1,7 @@ [package] name = "semver-check" -version = "0.0.0" authors = ["Eric Huss"] edition.workspace = true -publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/xtask-build-man/Cargo.toml b/crates/xtask-build-man/Cargo.toml index 8c694543adf..b03c1b66982 100644 --- a/crates/xtask-build-man/Cargo.toml +++ b/crates/xtask-build-man/Cargo.toml @@ -1,8 +1,6 @@ [package] name = "xtask-build-man" -version = "0.0.0" edition.workspace = true -publish = false [dependencies] diff --git a/crates/xtask-bump-check/Cargo.toml b/crates/xtask-bump-check/Cargo.toml index 44ce34141bf..8871e71da71 100644 --- a/crates/xtask-bump-check/Cargo.toml +++ b/crates/xtask-bump-check/Cargo.toml @@ -1,8 +1,6 @@ [package] name = "xtask-bump-check" -version = "0.0.0" edition.workspace = true -publish = false [dependencies] anyhow.workspace = true diff --git a/crates/xtask-stale-label/Cargo.toml b/crates/xtask-stale-label/Cargo.toml index 3e555f6c02e..00c39f4552f 100644 --- a/crates/xtask-stale-label/Cargo.toml +++ b/crates/xtask-stale-label/Cargo.toml @@ -1,8 +1,6 @@ [package] name = "xtask-stale-label" -version = "0.0.0" edition.workspace = true -publish = false [dependencies] toml_edit.workspace = true diff --git a/src/doc/src/guide/continuous-integration.md b/src/doc/src/guide/continuous-integration.md index 282ca1ab8de..df6a90dd6a4 100644 --- a/src/doc/src/guide/continuous-integration.md +++ b/src/doc/src/guide/continuous-integration.md @@ -173,7 +173,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: taiki-e/install-action@cargo-hack - - run: cargo hack check --rust-version --workspace --all-targets --ignore-private + - run: cargo hack check --rust-version --workspace --all-targets --no-private ``` This tries to balance thoroughness with turnaround time: - A single platform is used as most projects are platform-agnostic, trusting platform-specific dependencies to verify their behavior.