Skip to content

Commit

Permalink
refactor: clean up package metadata
Browse files Browse the repository at this point in the history
Like PR 12352 but for homepage and repository

Versions for

* `cargo-credential-1password`
* `cargo-util-schemas`
* `home`

are bumped along with the change.
  • Loading branch information
weihanglo committed Dec 18, 2023
1 parent 881d790 commit ad2c45b
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 29 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.

4 changes: 3 additions & 1 deletion 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 @@ -127,7 +129,7 @@ edition.workspace = true
license.workspace = true
rust-version.workspace = true
homepage = "https://crates.io"
repository = "https://github.com/rust-lang/cargo"
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 ad2c45b

Please sign in to comment.