-
Notifications
You must be signed in to change notification settings - Fork 148
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
get_new_workspace_deps
doesn't check that dependencies are on crates.io
#182
Comments
Should we also support alternative registries? |
200: Add `--precise` flag for cargo-upgrade r=bjgill a=bjgill Fixes #177. If this flag is provided, all dependencies upgraded will be blindly upgraded to the version specified. Added a test for this new feature. Also, there has been substantial refactoring. The new `Manifests` and `Dependencies` structs now hold the logic for upgrade. This allows us to commonise the cases of a single and full workspace upgrade quite considerably. EDIT: this also fixes #182 (I'll open a new issue for alternate registries)
I am getting this exact same error. Seeing that it was fixed, I tried using a build from master by using |
Hi @jcreedon! Could you provide an example project you're trying to run Also, did you actually installed the latest |
I think we need to add
&& dependency.source.as_ref().map(|x| &**x) == Some("registry+https://github.com/rust-lang/crates.io-index")
Otherwise, in a workspace with path dependencies, we get the following after asking crates.io for the (non-existent) crate.
The text was updated successfully, but these errors were encountered: