Skip to content

Add support for Cargo.lock version 4 #115

Open
@ifiokjr

Description

Description

When using a recent nightly version, as shown below, the following error is displayed.

Error

# error 
Error: parse error: parse error: invalid Cargo.lock format version: `4`

Toolchain

# rust-toolchain.toml
[toolchain]
channel = "nightly-2024-12-19"

Fix

This can be fixed by upgrading the cargo-lock dependency to 10.0.0 to support the newest lock file version.

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