Skip to content

Commit

Permalink
chore: remove version field from unpublished packages
Browse files Browse the repository at this point in the history
In 1.75 cargo allows versionless manifest.
We should keep up and dogfood ourselves.
  • Loading branch information
weihanglo committed Jan 5, 2024
1 parent 2ce4560 commit 63b0489
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 25 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.

2 changes: 0 additions & 2 deletions benches/benchsuite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[package]
name = "benchsuite"
version = "0.0.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"
description = "Benchmarking suite for Cargo."
publish = false

[dependencies]
cargo.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions benches/capture/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
[package]
name = "capture"
version = "0.1.0"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
description = "Tool for capturing a real-world workspace for benchmarking."
publish = false

[dependencies]
cargo_metadata.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions crates/cargo-test-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
[package]
name = "cargo-test-macro"
version = "0.1.0"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
documentation = "https://github.com/rust-lang/cargo"
description = "Helper proc-macro for Cargo's testsuite."
publish = false

[lib]
proc-macro = true
Expand Down
2 changes: 0 additions & 2 deletions crates/cargo-test-support/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[package]
name = "cargo-test-support"
version = "0.1.0"
rust-version.workspace = true
license.workspace = true
edition.workspace = true
publish = false

[lib]
doctest = false
Expand Down
2 changes: 0 additions & 2 deletions crates/mdman/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
[package]
name = "mdman"
version = "0.0.0"
rust-version.workspace = true
edition.workspace = true
license.workspace = true
description = "Creates a man page page from markdown."
publish = false

[dependencies]
anyhow.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions crates/resolver-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[package]
name = "resolver-tests"
version = "0.0.0"
rust-version.workspace = true
edition.workspace = true
publish = false

[dependencies]
cargo.workspace = true
Expand Down
4 changes: 0 additions & 4 deletions crates/semver-check/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
[package]
name = "semver-check"
version = "0.0.0"
authors = ["Eric Huss"]
rust-version.workspace = true
edition.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tempfile.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions crates/xtask-build-man/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[package]
name = "xtask-build-man"
version = "0.0.0"
rust-version.workspace = true
edition.workspace = true
publish = false

[dependencies]

Expand Down
2 changes: 0 additions & 2 deletions crates/xtask-bump-check/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[package]
name = "xtask-bump-check"
version = "0.0.0"
rust-version.workspace = true
edition.workspace = true
publish = false

[dependencies]
anyhow.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions crates/xtask-stale-label/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[package]
name = "xtask-stale-label"
version = "0.0.0"
rust-version.workspace = true
edition.workspace = true
publish = false

[dependencies]
toml_edit.workspace = true
Expand Down

0 comments on commit 63b0489

Please sign in to comment.