Skip to content

Commit

Permalink
chore: omit package.{version,publish} in Cargo package manifests
Browse files Browse the repository at this point in the history
Rust 1.75 introduced the support for version-less manifests
(rust-lang/cargo#12786), making `package.version` optional.
  • Loading branch information
kawadakk committed May 10, 2024
1 parent aa328af commit d4d9de0
Show file tree
Hide file tree
Showing 22 changed files with 19 additions and 33 deletions.
1 change: 0 additions & 1 deletion common/bcm2711_pac/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "bcm2711_pac"
version = "0.1.0"
edition = "2021"
license = "0BSD"

Expand Down
1 change: 0 additions & 1 deletion common/solid/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solid"
version = "0.0.1"
edition = "2021"
license = "0BSD"

Expand Down
6 changes: 3 additions & 3 deletions rust-blinky-pac-ap804/rustapp/Cargo.lock

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

1 change: 0 additions & 1 deletion rust-blinky-pac-ap804/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
6 changes: 3 additions & 3 deletions rust-blinky-pac-cs/rustapp/Cargo.lock

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

1 change: 0 additions & 1 deletion rust-blinky-pac-cs/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions rust-blinky-pac-rtos/rustapp/Cargo.lock

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

1 change: 0 additions & 1 deletion rust-blinky-pac-rtos/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions rust-blinky-pac-std/rustapp/Cargo.lock

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

1 change: 0 additions & 1 deletion rust-blinky-pac-std/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions rust-blinky-pac-tokio/rustapp/Cargo.lock

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

1 change: 0 additions & 1 deletion rust-blinky-pac-tokio/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion rust-blinky-raw-rtos/rustapp/Cargo.lock

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

1 change: 0 additions & 1 deletion rust-blinky-raw-rtos/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions rust-server-gotham/rustapp/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 rust-server-gotham/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"
publish = false

[lib]
crate-type = ["staticlib", "rlib"]
Expand Down
4 changes: 2 additions & 2 deletions rust-server-rocket/rustapp/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 rust-server-rocket/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"
publish = false

[lib]
crate-type = ["staticlib"]
Expand Down
2 changes: 1 addition & 1 deletion rust-server-tcpecho-std/rustapp/Cargo.lock

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

1 change: 0 additions & 1 deletion rust-server-tcpecho-std/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion rust-server-tcpecho-tokio/rustapp/Cargo.lock

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

1 change: 0 additions & 1 deletion rust-server-tcpecho-tokio/rustapp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "rustapp"
version = "0.1.0"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit d4d9de0

Please sign in to comment.