mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

chore(xtask): Add `cargo xtask unpublished` ### What does this PR try to resolve? This tries to make it easy to see what existing versions have not been published. A future version of this could post to a PR what the current delta in version numbers for touched crates so reviewer have more context when deciding if they should ask for a crate version to be bumped ```console $ cargo unpublished Finished dev [unoptimized + debuginfo] target(s) in 0.12s Running `/home/epage/src/personal/cargo/target/debug/xtask unpublished` Updating crates.io index name published current ==== ========= ======= cargo-test-macro - 0.1.0 cargo-test-support - 0.1.0 cargo-util 0.2.3 0.2.4 mdman 0.0.0 0.1.0 resolver-tests - 0.1.0 cargo 0.70.0 0.71.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 ``` Room for improvement - Aligning the start of each column - Filtering the list by a commit range - Adding this to an action to post to a review - Maybe sorting the output - Marking some our crates as `package.publish = false`, like benchsuite and resolver-tests ### How should we test and review this PR? This is broken down commit by commit for easier seeing of the building blocks for our first xtask