Subject: CVS commit: pkgsrc/lang/rust
From: pin
Date: 2025-04-10 12:01:34
Message id: 20250410100134.D0702FBE1@cvs.NetBSD.org

Log Message:
lang/rust: Allow arbitrary + sub-versions in rust crates

From: Taylor R Campbell <riastradh@NetBSD.org>

Before, a crate name like wasi-0.11.0+wasi-snapshop-preview1.crate
(which has non-numeric/dot characters after the + delimiter) would be
mapped to the URL:

https://crates.io/api/v1/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1/download

when the correct URL is:

https://crates.io/api/v1/crates/wasi/0.11.0+wasi-snapshot-preview1/download

Extension of the fix discussed on tech-pkg@ at:
https://mail-index.NetBSD.org/tech-pkg/2025/03/16/msg030612.html

Files:
RevisionActionfile
1.42modifypkgsrc/lang/rust/cargo.mk