Skip to content

Commit 0ad289b

Browse files
committed
Auto merge of #12045 - epage:publish, r=weihanglo
chore: Mark unpublished crates as such This is a follow up to #12039. This makes it easier for tools to report less irrelevant information. I did both `publish = false` and `version = "0.0.0"` to help draw attention to the fact that these crates are internal (inspired by a matklad post). I left `cargo-test-macro` and `cargo-test-support` in for my own personal bias of one day wanting to see those crates published... The only one removed that had previously been published was `mdman` but seeing as that was a `0.0.0`, I'm assuming that was a mistake or just reserving the name. Before: ```console $ cargo unpublished name published current ==== ========= ======= cargo-platform 0.1.2 0.1.3 cargo-test-macro - 0.1.0 cargo-test-support - 0.1.0 cargo-util 0.2.3 0.2.4 crates-io 0.36.0 0.36.1 mdman 0.0.0 0.1.0 resolver-tests - 0.1.0 cargo 0.70.1 0.72.0 semver-check - 0.1.0 cargo-credential 0.1.0 0.2.0 cargo-credential-1password 0.1.0 0.2.0 cargo-credential-gnome-secret 0.1.0 0.2.0 cargo-credential-macos-keychain 0.1.0 0.2.0 cargo-credential-wincred 0.1.0 0.2.0 benchsuite - 0.1.0 ``` After: ```console name published current ==== ========= ======= cargo-platform 0.1.2 0.1.3 cargo-test-macro - 0.1.0 cargo-test-support - 0.1.0 cargo-util 0.2.3 0.2.4 crates-io 0.36.0 0.36.1 cargo 0.70.1 0.72.0 cargo-credential 0.1.0 0.2.0 cargo-credential-1password 0.1.0 0.2.0 cargo-credential-gnome-secret 0.1.0 0.2.0 cargo-credential-macos-keychain 0.1.0 0.2.0 cargo-credential-wincred 0.1.0 0.2.0 ```
2 parents 42a45c8 + 077b1bc commit 0ad289b

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benches/benchsuite/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "benchsuite"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
homepage = "https://github.com/rust-lang/cargo"
77
repository = "https://github.com/rust-lang/cargo"
88
description = "Benchmarking suite for Cargo."
9+
publish = false
910

1011
[dependencies]
1112
cargo = { path = "../.." }

crates/mdman/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[package]
22
name = "mdman"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
description = "Creates a man page page from markdown."
7+
publish = false
78

89
[dependencies]
910
anyhow = "1.0.31"

crates/resolver-tests/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "resolver-tests"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
edition = "2018"
5+
publish = false
56

67
[dependencies]
78
cargo = { path = "../.." }

crates/semver-check/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[package]
22
name = "semver-check"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
authors = ["Eric Huss"]
55
edition = "2021"
6+
publish = false
67

78
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
89

0 commit comments

Comments
 (0)