Remove version field for non-publish crates and update descriptions (#13100)

# Objective

- The [`version`] field in `Cargo.toml` is optional for crates not
published on <https://crates.io>.
- We have several `publish = false` tools in this repository that still
have a version field, even when it's not useful.

[`version`]:
https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field

## Solution

- Remove the [`version`] field for all crates where `publish = false`.
- Update the description on a few crates and remove extra newlines as
well.
This commit is contained in:
BD103 2024-04-26 07:55:03 -04:00 committed by GitHub
parent 64b987921c
commit 9ee02e87d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 8 additions and 19 deletions

View File

@ -1,8 +1,7 @@
[package] [package]
name = "benches" name = "benches"
version = "0.1.0"
edition = "2021" edition = "2021"
description = "Benchmarks for Bevy engine" description = "Benchmarks that test Bevy's performance"
publish = false publish = false
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"

View File

@ -1,6 +1,5 @@
[package] [package]
name = "bevy_ecs_compile_fail_tests" name = "bevy_ecs_compile_fail_tests"
version = "0.1.0"
edition = "2021" edition = "2021"
description = "Compile fail tests for Bevy Engine's entity component system" description = "Compile fail tests for Bevy Engine's entity component system"
homepage = "https://bevyengine.org" homepage = "https://bevyengine.org"

View File

@ -1,6 +1,5 @@
[package] [package]
name = "bevy_macros_compile_fail_tests" name = "bevy_macros_compile_fail_tests"
version = "0.1.0"
edition = "2021" edition = "2021"
description = "Compile fail tests for Bevy Engine's various macros" description = "Compile fail tests for Bevy Engine's various macros"
homepage = "https://bevyengine.org" homepage = "https://bevyengine.org"

View File

@ -1,6 +1,5 @@
[package] [package]
name = "bevy_reflect_compile_fail_tests" name = "bevy_reflect_compile_fail_tests"
version = "0.1.0"
edition = "2021" edition = "2021"
description = "Compile fail tests for Bevy Engine's reflection system" description = "Compile fail tests for Bevy Engine's reflection system"
homepage = "https://bevyengine.org" homepage = "https://bevyengine.org"

View File

@ -1,12 +1,10 @@
[package] [package]
name = "errors" name = "errors"
version = "0.1.0"
edition = "2021" edition = "2021"
description = "Bevy's error codes" description = "Documentation and tests for Bevy's error codes"
publish = false publish = false
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
bevy = { path = ".." } bevy = { path = ".." }

View File

@ -1,6 +1,7 @@
[package] [package]
name = "bevy_mobile_example" name = "bevy_mobile_example"
version = "0.1.0" # Version is required by `cargo-apk`, though this value will never change.
version = "0.0.0"
edition = "2021" edition = "2021"
description = "Example for building an iOS or Android app with Bevy" description = "Example for building an iOS or Android app with Bevy"
publish = false publish = false

View File

@ -1,12 +1,10 @@
[package] [package]
name = "build-templated-pages" name = "build-templated-pages"
version = "0.14.0-dev"
edition = "2021" edition = "2021"
description = "handle templated pages in Bevy repository" description = "Tool that checks and fixes undocumented features and examples"
publish = false publish = false
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
toml_edit = { version = "0.22.7", default-features = false, features = [ toml_edit = { version = "0.22.7", default-features = false, features = [
"parse", "parse",

View File

@ -1,8 +1,7 @@
[package] [package]
name = "build-wasm-example" name = "build-wasm-example"
version = "0.1.0"
edition = "2021" edition = "2021"
description = "Build an example for wasm" description = "Tool for building example for WASM"
publish = false publish = false
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"

View File

@ -1,8 +1,7 @@
[package] [package]
name = "ci" name = "ci"
version = "0.1.0"
edition = "2021" edition = "2021"
description = "CI script for Bevy" description = "Tool that enables running CI checks locally."
publish = false publish = false
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"

View File

@ -1,12 +1,10 @@
[package] [package]
name = "example-showcase" name = "example-showcase"
version = "0.14.0-dev"
edition = "2021" edition = "2021"
description = "Run examples" description = "Tool for running examples or generating a showcase page for the website."
publish = false publish = false
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
xshell = "0.2" xshell = "0.2"
clap = { version = "4.0", features = ["derive"] } clap = { version = "4.0", features = ["derive"] }