Closed
Description
I have some internal distribution packaging logic that uses cargo package --list
to find the set of files it should bundle up along with the binary (respecting gitignore, include/exclude, etc).
However, in 1.43 it appears that the command now requires any dependencies of the crate be published for it to work.
Test repository: https://github.com/sfackler/package-regression
On 1.42.0:
$ cargo package --list
warning: manifest has no description, license, license-file, documentation, homepage or repository.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
.cargo_vcs_info.json
.gitignore
Cargo.lock
Cargo.toml
src/main.rs
On 1.43.0:
warning: manifest has no description, license, license-file, documentation, homepage or repository.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
Updating crates.io index
error: no matching package named `subcrate` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `package-regression v0.1.0 (/Users/sfackler/package-regression)`