Skip to content

Commit

Permalink
cargo: point repository metadata to clonable URLs (#162)
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 authored Jun 11, 2024
1 parent 8b1f86d commit 78b5926
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions crypto_box/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions crypto_kx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion crypto_secretbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions crypto_secretstream/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 78b5926

Please sign in to comment.