RustCrypto / elliptic-curves

Collection of pure Rust elliptic curve implementations: NIST P-224, P-256, P-384, P-521, secp256k1, SM2
683 stars 191 forks source link

cargo: point `repository` metadata to clonable URLs #1055

Closed lucab closed 5 months ago

lucab commented 5 months ago

This tweaks the repository fields in Cargo metadata in order to use the correct (i.e. git clonable) URL. The existing GitHub webUI URLs for each package have been retained and moved to homepage fields.

lucab commented 5 months ago

For reference, without this PR the remote fetch would fail with:

$ git clone https://github.com/RustCrypto/elliptic-curves/tree/master/bign256

Cloning into 'bign256'...
fatal: repository 'https://github.com/RustCrypto/elliptic-curves/tree/master/bign256/' not found
lucab commented 5 months ago

@tarcieri I think I've now completed the tour of all repos under RustCrypto and fixed all the misaligned values. Sorry for the sudden spike of PRs and thanks for promptly merging all of those!

tarcieri commented 5 months ago

@lucab thanks for getting them corrected! I know people are trying to write tooling to automatically verify this information so it's good to have them valid