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]
name = "benches"
version = "0.1.0"
edition = "2021"
description = "Benchmarks for Bevy engine"
description = "Benchmarks that test Bevy's performance"
publish = false
license = "MIT OR Apache-2.0"

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,7 @@
[package]
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"
description = "Example for building an iOS or Android app with Bevy"
publish = false

View file

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

View file

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

View file

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

View file

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