From 4bd6a8cbd2a26925a9670d741658737730bdc9c3 Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Mon, 10 Jun 2024 10:55:44 +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. --- jose-b64/Cargo.toml | 3 ++- jose-jwa/Cargo.toml | 3 ++- jose-jwe/Cargo.toml | 3 ++- jose-jwk/Cargo.toml | 3 ++- jose-jws/Cargo.toml | 3 ++- jose-jwt/Cargo.toml | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/jose-b64/Cargo.toml b/jose-b64/Cargo.toml index 7208f63..08e6fda 100644 --- a/jose-b64/Cargo.toml +++ b/jose-b64/Cargo.toml @@ -5,7 +5,8 @@ authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" description = "Base64 utilities for use in JOSE crates" documentation = "https://docs.rs/jose-b64" -repository = "https://github.com/RustCrypto/JOSE/tree/master/jose-b64" +homepage = "https://github.com/RustCrypto/JOSE/tree/master/jose-b64" +repository = "https://github.com/RustCrypto/JOSE" categories = ["cryptography", "data-structures", "encoding", "parser-implementations"] keywords = ["json", "jose"] readme = "README.md" diff --git a/jose-jwa/Cargo.toml b/jose-jwa/Cargo.toml index c2d6f91..394757a 100644 --- a/jose-jwa/Cargo.toml +++ b/jose-jwa/Cargo.toml @@ -9,7 +9,8 @@ Javascript Object Signing and Encryption (JOSE) specification as described in RFC7518 """ documentation = "https://docs.rs/jose-jwa" -repository = "https://github.com/RustCrypto/JOSE/tree/master/jose-jwa" +homepage = "https://github.com/RustCrypto/JOSE/tree/master/jose-jwa" +repository = "https://github.com/RustCrypto/JOSE" categories = ["cryptography", "data-structures", "encoding", "parser-implementations"] keywords = ["json", "jose"] readme = "README.md" diff --git a/jose-jwe/Cargo.toml b/jose-jwe/Cargo.toml index 470e4ef..63ca911 100644 --- a/jose-jwe/Cargo.toml +++ b/jose-jwe/Cargo.toml @@ -9,7 +9,8 @@ Javascript Object Signing and Encryption (JOSE) specification as described in RFC7516 """ documentation = "https://docs.rs/jose-jwe" -repository = "https://github.com/RustCrypto/JOSE/tree/master/jose-jwe" +homepage = "https://github.com/RustCrypto/JOSE/tree/master/jose-jwe" +repository = "https://github.com/RustCrypto/JOSE" categories = ["cryptography", "data-structures", "encoding", "parser-implementations"] keywords = ["json", "jose"] readme = "README.md" diff --git a/jose-jwk/Cargo.toml b/jose-jwk/Cargo.toml index deda490..fd8d72b 100644 --- a/jose-jwk/Cargo.toml +++ b/jose-jwk/Cargo.toml @@ -9,7 +9,8 @@ Javascript Object Signing and Encryption (JOSE) specification as described in RFC7517 """ documentation = "https://docs.rs/jose-jwk" -repository = "https://github.com/RustCrypto/JOSE/tree/master/jose-jwk" +homepage = "https://github.com/RustCrypto/JOSE/tree/master/jose-jwk" +repository = "https://github.com/RustCrypto/JOSE" categories = ["cryptography", "data-structures", "encoding", "parser-implementations"] keywords = ["json", "jose"] readme = "README.md" diff --git a/jose-jws/Cargo.toml b/jose-jws/Cargo.toml index c9d2bbd..85d04eb 100644 --- a/jose-jws/Cargo.toml +++ b/jose-jws/Cargo.toml @@ -9,7 +9,8 @@ Javascript Object Signing and Encryption (JOSE) specification as described in RFC7515 """ documentation = "https://docs.rs/jose-jws" -repository = "https://github.com/RustCrypto/JOSE/tree/master/jose-jws" +homepage = "https://github.com/RustCrypto/JOSE/tree/master/jose-jws" +repository = "https://github.com/RustCrypto/JOSE" categories = ["cryptography", "data-structures", "encoding", "parser-implementations"] keywords = ["json", "jose"] readme = "README.md" diff --git a/jose-jwt/Cargo.toml b/jose-jwt/Cargo.toml index 8cb2719..0557958 100644 --- a/jose-jwt/Cargo.toml +++ b/jose-jwt/Cargo.toml @@ -9,7 +9,8 @@ Javascript Object Signing and Encryption (JOSE) specification as described in RFC7519 """ documentation = "https://docs.rs/jose-jwt" -repository = "https://github.com/RustCrypto/JOSE/tree/master/jose-jwt" +homepage = "https://github.com/RustCrypto/JOSE/tree/master/jose-jwt" +repository = "https://github.com/RustCrypto/JOSE" categories = ["cryptography", "data-structures", "encoding", "parser-implementations"] keywords = ["json", "jose"] readme = "README.md"