-
Notifications
You must be signed in to change notification settings - Fork 157
Support sparse registry references in Lockfiles #780
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
Conversation
Note that this doesn't on its own fix the cargo-audit bug with |
Looking more closely at #604 it is possible that it is describing a different problem : the one this patch solves is explicitly annotated sparse registries, such as happens when a company or organisation has an internal registry for internal crates, and that internal registry happens to be sparse. |
Making any changes which diverge from upstream does not make sense to me. |
Ok. Well I can redo the change to be aligned with cargo's own form. Is the vendoring automated, or just a copy+fix-up until it builds? |
It’s manually vendored |
This is a forward port from Cargo of the relevant changes. Closes rustsec#604 Signed-off-by: Robert Collins <robert.collins@cognite.com>
I've changed the change to match the Cargo expression of the logic. |
@tarcieri ping - I think this meets your needs vis-a-vis not diverging now |
Since these enums aren't marked We could also bump MSRV as part of it in order to better retain compatibility with the upstream code. |
I'm happy to push up a change to be 1.56 compatible, and add |
Let's go ahead and bump MSRV to stay compatible with the upstream code |
MSRV bump pushed |
Looks like the clippy MSRV needs to be bumped |
Have bumped MSRV pervasively now. |
Looks good now, thanks! |
Closes #604
Signed-off-by: Robert Collins robert.collins@cognite.com