Skip to content

Commit

Permalink
Auto merge of #13184 - weihanglo:ws-homepage, r=epage
Browse files Browse the repository at this point in the history
refactor: clean up package metadata

Like #12352 but for `homepage` and `repository`.

Inspired by <#13178 (comment)>.
  • Loading branch information
bors committed Dec 18, 2023
2 parents a1f6e78 + 8a762b8 commit 69255bb
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 30 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ exclude = [
rust-version = "1.73" # MSRV:1
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"

[workspace.dependencies]
anstream = "0.6.5"
Expand Down Expand Up @@ -126,8 +128,8 @@ version = "0.77.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
homepage = "https://crates.io"
repository = "https://github.com/rust-lang/cargo"
homepage = "https://doc.rust-lang.org/cargo/index.html"
repository.workspace = true
documentation = "https://docs.rs/cargo"
description = """
Cargo, a package manager for Rust.
Expand Down
4 changes: 2 additions & 2 deletions crates/cargo-platform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.7"
edition.workspace = true
license.workspace = true
rust-version = "1.70.0" # MSRV:3
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
documentation = "https://docs.rs/cargo-platform"
description = "Cargo's representation of a target platform."

Expand Down
4 changes: 2 additions & 2 deletions crates/cargo-test-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.0"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
documentation = "https://github.com/rust-lang/cargo"
description = "Helper proc-macro for Cargo's testsuite."
publish = false
Expand Down
6 changes: 3 additions & 3 deletions crates/cargo-util-schemas/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "cargo-util-schemas"
version = "0.1.0"
version = "0.1.1"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "Deserialization schemas for Cargo"

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/cargo-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.2.9"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "Miscellaneous support code used by Cargo."

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion crates/crates-io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ version = "0.39.2"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = """
Helpers for interacting with crates.io
"""
Expand Down
5 changes: 3 additions & 2 deletions crates/home/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "home"
version = "0.5.9"
version = "0.5.10"
authors = ["Brian Anderson <andersrb@gmail.com>"]
rust-version = "1.70.0" # MSRV:3
documentation = "https://docs.rs/home"
Expand All @@ -13,7 +13,8 @@ include = [
"/README.md",
]
license.workspace = true
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "Shared definitions of home directories."

[target.'cfg(windows)'.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/rustfix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ authors = [
rust-version = "1.70.0" # MSRV:3
edition.workspace = true
license.workspace = true
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "Automatically apply the suggestions made by rustc"
documentation = "https://docs.rs/rustfix"
exclude = [
Expand Down
7 changes: 4 additions & 3 deletions credential/cargo-credential-1password/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "cargo-credential-1password"
version = "0.4.2"
version = "0.4.3"
rust-version = "1.70.0" # MSRV:3
edition.workspace = true
license.workspace = true
rust-version = "1.70.0" # MSRV:3
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "A Cargo credential process that stores tokens in a 1password vault."

[dependencies]
Expand Down
5 changes: 3 additions & 2 deletions credential/cargo-credential-libsecret/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "cargo-credential-libsecret"
version = "0.4.2"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "A Cargo credential process that stores tokens with GNOME libsecret."

[dependencies]
Expand Down
5 changes: 3 additions & 2 deletions credential/cargo-credential-macos-keychain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "cargo-credential-macos-keychain"
version = "0.4.2"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "A Cargo credential process that stores tokens in a macOS keychain."

[dependencies]
Expand Down
5 changes: 3 additions & 2 deletions credential/cargo-credential-wincred/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "cargo-credential-wincred"
version = "0.4.2"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "A Cargo credential process that stores tokens with Windows Credential Manager."

[dependencies]
Expand Down
5 changes: 3 additions & 2 deletions credential/cargo-credential/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "cargo-credential"
version = "0.4.2"
rust-version = "1.70.0" # MSRV:3
edition.workspace = true
license.workspace = true
rust-version = "1.70.0" # MSRV:3
repository = "https://github.com/rust-lang/cargo"
homepage.workspace = true
repository.workspace = true
description = "A library to assist writing Cargo credential helpers."

[dependencies]
Expand Down

0 comments on commit 69255bb

Please sign in to comment.