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
Currently running
cargo publish --dry-runsucceeds if the crate has wildcard dependencies. It would be nice if--dry-runwould fail or give a warning if there are wildcard dependenciesWhen running
cargo publish, the user then gets (correctly) prompted this error:Possibly other validations could be performed on a dry run as well