Skip to content

Commit 69255bb

Browse files
committed
Auto merge of #13184 - weihanglo:ws-homepage, r=epage
refactor: clean up package metadata Like #12352 but for `homepage` and `repository`. Inspired by <#13178 (comment)>.
2 parents a1f6e78 + 8a762b8 commit 69255bb

File tree

14 files changed

+39
-30
lines changed

14 files changed

+39
-30
lines changed

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ exclude = [
1414
rust-version = "1.73" # MSRV:1
1515
edition = "2021"
1616
license = "MIT OR Apache-2.0"
17+
homepage = "https://github.com/rust-lang/cargo"
18+
repository = "https://github.com/rust-lang/cargo"
1719

1820
[workspace.dependencies]
1921
anstream = "0.6.5"
@@ -126,8 +128,8 @@ version = "0.77.0"
126128
edition.workspace = true
127129
license.workspace = true
128130
rust-version.workspace = true
129-
homepage = "https://crates.io"
130-
repository = "https://github.com/rust-lang/cargo"
131+
homepage = "https://doc.rust-lang.org/cargo/index.html"
132+
repository.workspace = true
131133
documentation = "https://docs.rs/cargo"
132134
description = """
133135
Cargo, a package manager for Rust.

crates/cargo-platform/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.7"
44
edition.workspace = true
55
license.workspace = true
66
rust-version = "1.70.0" # MSRV:3
7-
homepage = "https://github.com/rust-lang/cargo"
8-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
99
documentation = "https://docs.rs/cargo-platform"
1010
description = "Cargo's representation of a target platform."
1111

crates/cargo-test-macro/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.0"
44
rust-version.workspace = true
55
edition.workspace = true
66
license.workspace = true
7-
homepage = "https://github.com/rust-lang/cargo"
8-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
99
documentation = "https://github.com/rust-lang/cargo"
1010
description = "Helper proc-macro for Cargo's testsuite."
1111
publish = false

crates/cargo-util-schemas/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "cargo-util-schemas"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
rust-version.workspace = true
55
edition.workspace = true
66
license.workspace = true
7-
homepage = "https://github.com/rust-lang/cargo"
8-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
99
description = "Deserialization schemas for Cargo"
1010

1111
[dependencies]

crates/cargo-util/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.2.9"
44
rust-version.workspace = true
55
edition.workspace = true
66
license.workspace = true
7-
homepage = "https://github.com/rust-lang/cargo"
8-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
99
description = "Miscellaneous support code used by Cargo."
1010

1111
[dependencies]

crates/crates-io/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ version = "0.39.2"
44
rust-version.workspace = true
55
edition.workspace = true
66
license.workspace = true
7-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
89
description = """
910
Helpers for interacting with crates.io
1011
"""

crates/home/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "home"
3-
version = "0.5.9"
3+
version = "0.5.10"
44
authors = ["Brian Anderson <[email protected]>"]
55
rust-version = "1.70.0" # MSRV:3
66
documentation = "https://docs.rs/home"
@@ -13,7 +13,8 @@ include = [
1313
"/README.md",
1414
]
1515
license.workspace = true
16-
repository = "https://github.com/rust-lang/cargo"
16+
homepage.workspace = true
17+
repository.workspace = true
1718
description = "Shared definitions of home directories."
1819

1920
[target.'cfg(windows)'.dependencies]

crates/rustfix/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ authors = [
88
rust-version = "1.70.0" # MSRV:3
99
edition.workspace = true
1010
license.workspace = true
11-
homepage = "https://github.com/rust-lang/cargo"
12-
repository = "https://github.com/rust-lang/cargo"
11+
homepage.workspace = true
12+
repository.workspace = true
1313
description = "Automatically apply the suggestions made by rustc"
1414
documentation = "https://docs.rs/rustfix"
1515
exclude = [

credential/cargo-credential-1password/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "cargo-credential-1password"
3-
version = "0.4.2"
3+
version = "0.4.3"
4+
rust-version = "1.70.0" # MSRV:3
45
edition.workspace = true
56
license.workspace = true
6-
rust-version = "1.70.0" # MSRV:3
7-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
89
description = "A Cargo credential process that stores tokens in a 1password vault."
910

1011
[dependencies]

credential/cargo-credential-libsecret/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "cargo-credential-libsecret"
33
version = "0.4.2"
4+
rust-version.workspace = true
45
edition.workspace = true
56
license.workspace = true
6-
rust-version.workspace = true
7-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
89
description = "A Cargo credential process that stores tokens with GNOME libsecret."
910

1011
[dependencies]

credential/cargo-credential-macos-keychain/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "cargo-credential-macos-keychain"
33
version = "0.4.2"
4+
rust-version.workspace = true
45
edition.workspace = true
56
license.workspace = true
6-
rust-version.workspace = true
7-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
89
description = "A Cargo credential process that stores tokens in a macOS keychain."
910

1011
[dependencies]

credential/cargo-credential-wincred/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "cargo-credential-wincred"
33
version = "0.4.2"
4+
rust-version.workspace = true
45
edition.workspace = true
56
license.workspace = true
6-
rust-version.workspace = true
7-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
89
description = "A Cargo credential process that stores tokens with Windows Credential Manager."
910

1011
[dependencies]

credential/cargo-credential/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "cargo-credential"
33
version = "0.4.2"
4+
rust-version = "1.70.0" # MSRV:3
45
edition.workspace = true
56
license.workspace = true
6-
rust-version = "1.70.0" # MSRV:3
7-
repository = "https://github.com/rust-lang/cargo"
7+
homepage.workspace = true
8+
repository.workspace = true
89
description = "A library to assist writing Cargo credential helpers."
910

1011
[dependencies]

0 commit comments

Comments
 (0)