From 5599ff98322d748bcff00d827843722a04ff8bfd Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Mon, 10 Jun 2024 10:45:49 +0200 Subject: [PATCH] cargo: point `repository` metadata to clonable URLs 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. --- async-signature/Cargo.toml | 3 ++- elliptic-curve/Cargo.toml | 3 ++- kem/Cargo.toml | 3 ++- password-hash/Cargo.toml | 3 ++- signature/Cargo.toml | 3 ++- signature_derive/Cargo.toml | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/async-signature/Cargo.toml b/async-signature/Cargo.toml index dfd133e63..b5f5bb9d2 100644 --- a/async-signature/Cargo.toml +++ b/async-signature/Cargo.toml @@ -5,7 +5,8 @@ version = "0.6.0-pre.1" authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" documentation = "https://docs.rs/async-signature" -repository = "https://github.com/RustCrypto/traits/tree/master/async-signature" +homepage = "https://github.com/RustCrypto/traits/tree/master/async-signature" +repository = "https://github.com/RustCrypto/traits" readme = "README.md" keywords = ["crypto", "ecdsa", "ed25519", "signature", "signing"] categories = ["cryptography", "no-std"] diff --git a/elliptic-curve/Cargo.toml b/elliptic-curve/Cargo.toml index 388c12a1a..a9258c6ad 100644 --- a/elliptic-curve/Cargo.toml +++ b/elliptic-curve/Cargo.toml @@ -8,7 +8,8 @@ and public/secret keys composed thereof. """ authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" -repository = "https://github.com/RustCrypto/traits/tree/master/elliptic-curve" +homepage = "https://github.com/RustCrypto/traits/tree/master/elliptic-curve" +repository = "https://github.com/RustCrypto/traits" readme = "README.md" categories = ["cryptography", "no-std"] keywords = ["crypto", "ecc", "elliptic", "weierstrass"] diff --git a/kem/Cargo.toml b/kem/Cargo.toml index 3739e8368..76a47c57b 100644 --- a/kem/Cargo.toml +++ b/kem/Cargo.toml @@ -5,7 +5,8 @@ version = "0.3.0-pre.0" authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" documentation = "https://docs.rs/kem" -repository = "https://github.com/RustCrypto/traits/tree/master/kem" +homepage = "https://github.com/RustCrypto/traits/tree/master/kem" +repository = "https://github.com/RustCrypto/traits" readme = "README.md" edition = "2021" keywords = ["crypto"] diff --git a/password-hash/Cargo.toml b/password-hash/Cargo.toml index 86b136ca7..a64ef0f2c 100644 --- a/password-hash/Cargo.toml +++ b/password-hash/Cargo.toml @@ -10,7 +10,8 @@ authors = ["RustCrypto Developers"] license = "MIT OR Apache-2.0" readme = "README.md" documentation = "https://docs.rs/password-hash" -repository = "https://github.com/RustCrypto/traits/tree/master/password-hash" +homepage = "https://github.com/RustCrypto/traits/tree/master/password-hash" +repository = "https://github.com/RustCrypto/traits" categories = ["authentication", "cryptography", "no-std"] keywords = ["crypt", "mcf", "password", "pbkdf", "phc"] edition = "2021" diff --git a/signature/Cargo.toml b/signature/Cargo.toml index f5e9c27e0..b5eebd10a 100644 --- a/signature/Cargo.toml +++ b/signature/Cargo.toml @@ -5,7 +5,8 @@ version = "2.3.0-pre.3" authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" documentation = "https://docs.rs/signature" -repository = "https://github.com/RustCrypto/traits/tree/master/signature" +homepage = "https://github.com/RustCrypto/traits/tree/master/signature" +repository = "https://github.com/RustCrypto/traits" readme = "README.md" keywords = ["crypto", "ecdsa", "ed25519", "signature", "signing"] categories = ["cryptography", "no-std"] diff --git a/signature_derive/Cargo.toml b/signature_derive/Cargo.toml index ba1e7d53c..3d01b5d0b 100644 --- a/signature_derive/Cargo.toml +++ b/signature_derive/Cargo.toml @@ -5,7 +5,8 @@ authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" description = "Custom derive support for the 'signature' crate" documentation = "https://docs.rs/signature" -repository = "https://github.com/RustCrypto/traits/tree/master/signature_derive" +homepage = "https://github.com/RustCrypto/traits/tree/master/signature_derive" +repository = "https://github.com/RustCrypto/traits" readme = "README.md" edition = "2021" rust-version = "1.60"