-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"cargo publish" should error if there are path overrides #2489
Comments
Indeed! Or it should just ignore them. |
Triage: I tested this scenario today and it seems like path dependencies are ignored during publish (meaning cargo will pull that dependency from the registry, not from the path in Cargo.toml). Same with patch overrides. I wasn't able to immeditally find the commit that implemented this, though. |
@eminence I believe this is referring to paths overrides, which are defined in |
Ahyes, I see. Thank you @ehuss for that clarification. |
@weihanglo Is this issue |
It is |
This might result in builds that succeed on the local machine, but fail when someone else tries to build the crate.
The text was updated successfully, but these errors were encountered: