Skip to content

Hashes for packages from registries with parameters in the URL may not be recorded #629

Open
@Shnatsel

Description

Cargo.lock does not URL-encode URL parameters in source field correctly right now. A v4 Cargo.lock format is expected to ship sometime soon, fixing that.

We are cross-referencing this field with cargo metadata, which starting with Rust 1.77 outputs cargo pkgid as its package ID representation (at least according to the docs).

We'll need to investigate how cargo pkgid/cargo metadata handle URL-encoding of source parameters and make sure it agrees with the Cargo.lock representation, or work around the discrepancy if it doesn't.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions