Skip to content

[Work in Progress] feat: Pull out lock file schema to cargo-util-schema #15742

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

secona
Copy link
Contributor

@secona secona commented Jul 10, 2025

What does this PR try to resolve?

I'm currently working on cargo-plumbing commands, especially the read lockfile functionality. Currently, the EncodableResolve struct is quite difficult to manage with from a 3rd party perspective. This change attempts to move EncodableResolve-related structs to cargo-util-schemas and make it less intertwined with serialization aspect of lockfiles.

Opening as draft PR as this is still a work in progress. I'd love to hear some feedbacks!

See discussion for cargo-plumbing: crate-ci/cargo-plumbing#35

cc @epage

How to test and review this PR?

@rustbot rustbot added A-dependency-resolution Area: dependency resolution and the resolver A-lockfile Area: Cargo.lock issues labels Jul 10, 2025
@secona secona force-pushed the cargo-util-schemas-lockfile branch from 5233dbe to 30ea639 Compare July 15, 2025 03:15
@secona secona changed the title [Work in Progress] feat(cargo-util-schemas): Create NormalizedResolve [Work in Progress] feat: Pull out lock file schema to cargo-util-schema Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependency-resolution Area: dependency resolution and the resolver A-lockfile Area: Cargo.lock issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants