-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.Command-publishS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Normally if you have a manifest key that cargo doesn't understand many of the commands will print a warning
D:\dev\cargo-gba>cargo build
warning: unused manifest key: package.repsitory
However, if you use cargo publish
not only does the accidental key not halt the publishing process without an override flag (as one might expect, similar to how you can't publish with a dirty git state without a flag), but it doesn't even directly print the warning about a bad key. Instead I got the warning about "no documentation, homepage or repository."
D:\dev\cargo-gba>cargo publish
Updating crates.io index
warning: manifest has no documentation, homepage or repository.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
(Was posted as rust-lang/rust#64476 and then I was told to repost here because apparently there's a gap in the permissions among triage folks, which has already also been reported elsewhere so we can have that solved too soon enough)
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.Command-publishS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.