From af1c3b966bd752ee2cfe83cb5eb21f13dcb0499e Mon Sep 17 00:00:00 2001 From: BD103 <59022059+BD103@users.noreply.github.com> Date: Thu, 25 Apr 2024 12:44:18 -0400 Subject: [PATCH 1/2] chore: remove version for non-publish crates And update the description on certain crates. --- benches/Cargo.toml | 3 +-- crates/bevy_ecs_compile_fail_tests/Cargo.toml | 1 - crates/bevy_macros_compile_fail_tests/Cargo.toml | 1 - crates/bevy_reflect_compile_fail_tests/Cargo.toml | 1 - errors/Cargo.toml | 4 +--- examples/mobile/Cargo.toml | 1 - tools/build-templated-pages/Cargo.toml | 4 +--- tools/build-wasm-example/Cargo.toml | 3 +-- tools/ci/Cargo.toml | 3 +-- tools/example-showcase/Cargo.toml | 4 +--- 10 files changed, 6 insertions(+), 19 deletions(-) diff --git a/benches/Cargo.toml b/benches/Cargo.toml index ee9d45953a6a3..0c236a577ef1d 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -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" diff --git a/crates/bevy_ecs_compile_fail_tests/Cargo.toml b/crates/bevy_ecs_compile_fail_tests/Cargo.toml index 2e1438f8793bb..b800eb1b69f6c 100644 --- a/crates/bevy_ecs_compile_fail_tests/Cargo.toml +++ b/crates/bevy_ecs_compile_fail_tests/Cargo.toml @@ -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" diff --git a/crates/bevy_macros_compile_fail_tests/Cargo.toml b/crates/bevy_macros_compile_fail_tests/Cargo.toml index 3b905610662f2..1cb7492c6476b 100644 --- a/crates/bevy_macros_compile_fail_tests/Cargo.toml +++ b/crates/bevy_macros_compile_fail_tests/Cargo.toml @@ -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" diff --git a/crates/bevy_reflect_compile_fail_tests/Cargo.toml b/crates/bevy_reflect_compile_fail_tests/Cargo.toml index 5af57acd621f8..13638b2314d3e 100644 --- a/crates/bevy_reflect_compile_fail_tests/Cargo.toml +++ b/crates/bevy_reflect_compile_fail_tests/Cargo.toml @@ -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" diff --git a/errors/Cargo.toml b/errors/Cargo.toml index d59a0b216a915..32c7ca92c9ff4 100644 --- a/errors/Cargo.toml +++ b/errors/Cargo.toml @@ -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 = ".." } diff --git a/examples/mobile/Cargo.toml b/examples/mobile/Cargo.toml index b6bc2739b2701..08236035f2574 100644 --- a/examples/mobile/Cargo.toml +++ b/examples/mobile/Cargo.toml @@ -1,6 +1,5 @@ [package] name = "bevy_mobile_example" -version = "0.1.0" edition = "2021" description = "Example for building an iOS or Android app with Bevy" publish = false diff --git a/tools/build-templated-pages/Cargo.toml b/tools/build-templated-pages/Cargo.toml index 4079d49e6d121..f6277fb6300d2 100644 --- a/tools/build-templated-pages/Cargo.toml +++ b/tools/build-templated-pages/Cargo.toml @@ -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", diff --git a/tools/build-wasm-example/Cargo.toml b/tools/build-wasm-example/Cargo.toml index 969a4d3077abb..c4cd766855598 100644 --- a/tools/build-wasm-example/Cargo.toml +++ b/tools/build-wasm-example/Cargo.toml @@ -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" diff --git a/tools/ci/Cargo.toml b/tools/ci/Cargo.toml index 611a6f318d58f..4e597e47240a1 100644 --- a/tools/ci/Cargo.toml +++ b/tools/ci/Cargo.toml @@ -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" diff --git a/tools/example-showcase/Cargo.toml b/tools/example-showcase/Cargo.toml index 4058cdbed1387..262df1e44b87d 100644 --- a/tools/example-showcase/Cargo.toml +++ b/tools/example-showcase/Cargo.toml @@ -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"] } From 319db5130192e0eda5be483e32be09caf7617e6d Mon Sep 17 00:00:00 2001 From: BD103 <59022059+BD103@users.noreply.github.com> Date: Thu, 25 Apr 2024 17:46:57 -0400 Subject: [PATCH 2/2] fix: re-add version field to mobile example --- examples/mobile/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/mobile/Cargo.toml b/examples/mobile/Cargo.toml index 08236035f2574..5ad89165154b6 100644 --- a/examples/mobile/Cargo.toml +++ b/examples/mobile/Cargo.toml @@ -1,5 +1,7 @@ [package] name = "bevy_mobile_example" +# 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