I came across a problem with downloading some Rust/Cargo crates like curl-sys-0.4.78+curl-8.11.0. The regex in lang/rust/cargo.mk (${crate:C/-[0-9]+\.[0-9.]+.*$//}/${crate:C/^.*-([0-9]+\.[0-9.]+.*)$/1円/}) tries to make up an URL by extracting the last version component, in this case 8.11.0, but that is wrong. The correct version is 0.4.78+curl-8.11.0 (the full URL: https://crates.io/api/v1/crates/curl-sys/0.4.78+curl-8.11.0/download). I am not sure how to fix this. Any suggestions?
Kind regards,
Adam