-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
C-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-publishE-easyExperience: EasyExperience: Easy
Description
Unlike other cargo
commands, cargo publish
doesn't accept -p
or --package
option, so cargo publish
doesn't work at all at the workspace root:
$ cargo publish
error: manifest path `.../Cargo.toml` is a virtual manifest, but this command requires running against an actual package in this workspace
$ cargo publish -p name
error: Found argument '-p' which wasn't expected, or isn't valid in this context
Lack of the -p
option seems like an oversight.
Metadata
Metadata
Assignees
Labels
C-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-publishE-easyExperience: EasyExperience: Easy