-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed as not planned
Labels
A-interacts-with-crates.ioArea: interaction with registriesArea: interaction with registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-publish
Description
Currently running cargo publish --dry-run
succeeds if the crate has wildcard dependencies. It would be nice if --dry-run
would fail or give a warning if there are wildcard dependencies
When running cargo publish
, the user then gets (correctly) prompted this error:
error: api errors: wildcard (`*`) dependency constraints are not allowed on crates.io. See https://doc.rust-lang.org/cargo/faq.html#can-libraries-use--as-a-version-for-their-dependencies for more information
Possibly other validations could be performed on a dry run as well
Xion
Metadata
Metadata
Assignees
Labels
A-interacts-with-crates.ioArea: interaction with registriesArea: interaction with registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-publish