cargo publish fails if a feature enables a dev-dependency feature #13363
Labels
C-bug
Category: bug
S-needs-info
Status: Needs more info, such as a reproduction or more background for a feature request.
Uh oh!
There was an error while loading. Please reload this page.
Problem
If a feature enables a feature on a dev-dependency,
cargo publish
fails with an error that it's not a dependency. The crate works as expected otherwise.Steps
cargo publish --dry-run
Possible Solution(s)
I made a separate crate for tests as a workaround.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: