From 3b10e47dc25fd06e3f8b2d7c406cc1c6bbec49c3 Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Mon, 10 Jun 2024 11:02:04 +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. --- ccm/Cargo.toml | 4 ++-- chacha20poly1305/Cargo.toml | 3 ++- deoxys/Cargo.toml | 4 ++-- mgm/Cargo.toml | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ccm/Cargo.toml b/ccm/Cargo.toml index eee07bd4..eebf0e38 100644 --- a/ccm/Cargo.toml +++ b/ccm/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" license = "Apache-2.0 OR MIT" readme = "README.md" documentation = "https://docs.rs/ccm" -homepage = "https://github.com/RustCrypto/AEADs" -repository = "https://github.com/RustCrypto/AEADs/tree/master/ccm" +homepage = "https://github.com/RustCrypto/AEADs/tree/master/ccm" +repository = "https://github.com/RustCrypto/AEADs" categories = ["cryptography", "no-std"] keywords = ["encryption", "aead"] rust-version = "1.65" diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml index e6d9c8ef..530d5c62 100644 --- a/chacha20poly1305/Cargo.toml +++ b/chacha20poly1305/Cargo.toml @@ -13,7 +13,8 @@ edition = "2021" license = "Apache-2.0 OR MIT" readme = "README.md" documentation = "https://docs.rs/chacha20poly1305" -repository = "https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305" +homepage = "https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305" +repository = "https://github.com/RustCrypto/AEADs" keywords = ["aead", "chacha20", "poly1305", "xchacha20", "xchacha20poly1305"] categories = ["cryptography", "no-std"] rust-version = "1.65" diff --git a/deoxys/Cargo.toml b/deoxys/Cargo.toml index 659cda90..6a8c8470 100644 --- a/deoxys/Cargo.toml +++ b/deoxys/Cargo.toml @@ -9,8 +9,8 @@ CAESAR competition as the first choice for in-depth security authors = ["RustCrypto Developers, zer0x64"] license = "Apache-2.0 OR MIT" documentation = "https://docs.rs/deoxys" -repository = "https://github.com/RustCrypto/AEADs/tree/master/deoxys" -homepage = "https://github.com/RustCrypto" +homepage = "https://github.com/RustCrypto/AEADs/tree/master/deoxys" +repository = "https://github.com/RustCrypto/AEADs" keywords = ["aead", "deoxys", "deoxys-i", "deoxys-ii"] categories = ["cryptography", "no-std"] readme = "README.md" diff --git a/mgm/Cargo.toml b/mgm/Cargo.toml index 14206b37..c37ed082 100644 --- a/mgm/Cargo.toml +++ b/mgm/Cargo.toml @@ -9,8 +9,8 @@ edition = "2021" license = "Apache-2.0 OR MIT" readme = "README.md" documentation = "https://docs.rs/mgm" -homepage = "https://github.com/RustCrypto/AEADs" -repository = "https://github.com/RustCrypto/AEADs/tree/master/mgm" +homepage = "https://github.com/RustCrypto/AEADs/tree/master/mgm" +repository = "https://github.com/RustCrypto/AEADs" categories = ["cryptography", "no-std"] keywords = ["encryption", "aead"] rust-version = "1.56"