-
Notifications
You must be signed in to change notification settings - Fork 18
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
How to update properly? #5
Comments
Yeah currently to update crates you'll have to temporarily un-override and then re-override after you've re-vendored |
Also commenting out the .cargo/config line "#replace-with = 'local-registry'" effectively toggles the local override between "cargo update; cargo local-registry --sync Cargo.lock ..." and normal cargo usage. Although it would be preferable to have a command option (--ignore-registry-replace?), this is a critical achievement. Not only can we work offline, but cargo builds are much faster using the local registry. Thanks for this. |
@alexcrichton Any updates on this? |
This is possible nowadays, it'd need to copy what's in |
See #80. |
Currently, I can't use cargo update to pull new versions of crates if I use local registry, because it tries to use that registry. And since
cargo-local-registry
works withCargo.lock
it won't update on it's own.For now, I've solved it by temporarily renaming
.cargo
directory but I believe there should be more straightforward method.Am I missing something or is this a missing feature?
The text was updated successfully, but these errors were encountered: