Skip to content

Commit

Permalink
cargo: point repository metadata to clonable URLs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lucab committed Jun 10, 2024
1 parent 51b1977 commit 5599ff9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion async-signature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 2 additions & 1 deletion elliptic-curve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 2 additions & 1 deletion kem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 2 additions & 1 deletion password-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion signature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 2 additions & 1 deletion signature_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5599ff9

Please sign in to comment.