From 0bffcbcb8a80c1cb3d8522c7cb66682c32d71e24 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 4 May 2023 19:28:42 +0100 Subject: [PATCH] chore: `publish = false` for pkgs not meant to be published These tree packages are considered to be published something. To reduce the logic of xtask-unpubilshed, let's flag them false for now. We can always set it `true` when needed. --- benches/capture/Cargo.toml | 1 + crates/cargo-test-macro/Cargo.toml | 1 + crates/cargo-test-support/Cargo.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/benches/capture/Cargo.toml b/benches/capture/Cargo.toml index b7531c26f5f..6319a0130d4 100644 --- a/benches/capture/Cargo.toml +++ b/benches/capture/Cargo.toml @@ -4,6 +4,7 @@ version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" 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 04dafc02896..e40602ae3a3 100644 --- a/crates/cargo-test-macro/Cargo.toml +++ b/crates/cargo-test-macro/Cargo.toml @@ -7,6 +7,7 @@ homepage = "https://github.com/rust-lang/cargo" repository = "https://github.com/rust-lang/cargo" 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 92ee1dcc4dd..305c809a82d 100644 --- a/crates/cargo-test-support/Cargo.toml +++ b/crates/cargo-test-support/Cargo.toml @@ -3,6 +3,7 @@ name = "cargo-test-support" version = "0.1.0" license = "MIT OR Apache-2.0" edition = "2021" +publish = false [lib] doctest = false