From 2646dbc0d4624b7ef6b46589c5a0ca9c6b183e4d Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Tue, 11 Jun 2024 10:21:18 +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. --- crypto_box/Cargo.toml | 4 ++-- crypto_kx/Cargo.toml | 4 ++-- crypto_secretbox/Cargo.toml | 3 ++- crypto_secretstream/Cargo.toml | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/crypto_box/Cargo.toml b/crypto_box/Cargo.toml index 5062508..df9c319 100644 --- a/crypto_box/Cargo.toml +++ b/crypto_box/Cargo.toml @@ -10,8 +10,8 @@ authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" readme = "README.md" documentation = "https://docs.rs/crypto_box" -homepage = "https://github.com/RustCrypto/nacl-compat" -repository = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_box" +homepage = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_box" +repository = "https://github.com/RustCrypto/nacl-compat" categories = ["cryptography", "no-std"] keywords = ["nacl", "libsodium", "public-key", "x25519", "xsalsa20poly1305"] edition = "2021" diff --git a/crypto_kx/Cargo.toml b/crypto_kx/Cargo.toml index aa13342..364bea1 100644 --- a/crypto_kx/Cargo.toml +++ b/crypto_kx/Cargo.toml @@ -6,8 +6,8 @@ authors = ["C4DT", "RustCrypto Developers"] license = "Apache-2.0 OR MIT" readme = "README.md" documentation = "https://docs.rs/crypto_kx" -homepage = "https://github.com/RustCrypto/nacl-compat" -repository = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_kx" +homepage = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_kx" +repository = "https://github.com/RustCrypto/nacl-compat" categories = ["cryptography", "no-std"] keywords = ["nacl", "libsodium", "public-key", "blake2"] edition = "2021" diff --git a/crypto_secretbox/Cargo.toml b/crypto_secretbox/Cargo.toml index 85a4d40..b9af7db 100644 --- a/crypto_secretbox/Cargo.toml +++ b/crypto_secretbox/Cargo.toml @@ -11,7 +11,8 @@ edition = "2021" license = "Apache-2.0 OR MIT" readme = "README.md" documentation = "https://docs.rs/crypto_secretbox" -repository = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox" +homepage = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox" +repository = "https://github.com/RustCrypto/nacl-compat" keywords = ["aead", "nacl", "poly1305", "salsa20", "xsalsa20"] categories = ["cryptography", "no-std"] rust-version = "1.60" diff --git a/crypto_secretstream/Cargo.toml b/crypto_secretstream/Cargo.toml index dab9081..9e27a48 100644 --- a/crypto_secretstream/Cargo.toml +++ b/crypto_secretstream/Cargo.toml @@ -9,8 +9,8 @@ authors = ["C4DT", "RustCrypto Developers"] license = "Apache-2.0 OR MIT" readme = "README.md" documentation = "https://docs.rs/crypto_secretstream" -homepage = "https://github.com/RustCrypto/nacl-compat" -repository = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretstream" +homepage = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretstream" +repository = "https://github.com/RustCrypto/nacl-compat" categories = ["cryptography"] keywords = ["nacl", "libsodium", "public-key", "chacha20", "poly1305"] edition = "2021"