HomeFreeBSD

Mk/Uses/cargo.mk: Support new Cargo.lock format

Description

Mk/Uses/cargo.mk: Support new Cargo.lock format

The new format [1,2] dropped the [metadata] table. As a consequence
our cargo-crates.awk script no longer outputs CARGO_CRATES. We can
get the crate list from the various package tables instead.
This should work with the new as well as the old format.

[1] https://github.com/rust-lang/cargo/pull/7070
[2] https://github.com/rust-lang/cargo/pull/7579

PR: 242416
Reported by: jbeich

Details

Provenance
tobikAuthored on
Parents
rP519062: New port: math/teyjus: Higher-order logic programming language Lambda Prolog
Branches
Unknown
Tags
Unknown