Closed as not planned
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