From 33fcb6f49ede3c4720ed912e44f3ef0986839a97 Mon Sep 17 00:00:00 2001 From: Louis <contact@louiscap.co> Date: Fri, 21 Feb 2025 07:28:09 +0000 Subject: [PATCH] Bump bevy version to 0.15 --- Cargo.toml | 7 +++---- README.md | 1 + src/lib.rs | 12 +++++------- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 04ec0ef..4aa7532 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "micro_bevy_world_utils" -version = "0.5.0" +version = "0.6.0" edition = "2021" license = "Apache-2.0" description = "Handy, reusable utilities for working with direct world access in a Bevy exclusive system" @@ -10,6 +10,5 @@ authors = [ repository = "https://lab.lcr.gr/microhacks/micro-bevy-world-utils" [dependencies] - -bevy_ecs = "0.14" -bevy_hierarchy = "0.14" +bevy_ecs = "0.15" +bevy_hierarchy = "0.15" diff --git a/README.md b/README.md index 345d684..3e6cb3e 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ the given entities, the result will be `None` | world_utiles ver | bevy ver | |------------------|----------| +| 0.6 | 0.15 | | 0.5 | 0.14 | | 0.4 | 0.13 | | 0.3 | 0.11 | diff --git a/src/lib.rs b/src/lib.rs index 630bfa7..9a301e5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,10 +16,8 @@ //! //! `{specifier}` takes the following form: `[any_](left|right)[[_any]_parent]` //! -//! - `any_` implies that no components need to be matched for that side of the query to be -//! successful. This would be equivalent to supplying `()` to the version without `any_` -//! - `_parent` implies that the returned entity for that side will, if a match is found, be the -//! _parent_ entity of the matching input entity. +//! - `any_` implies that no components need to be matched for that side of the query to be successful. This would be equivalent to supplying `()` to the version without `any_` +//! - `_parent` implies that the returned entity for that side will, if a match is found, be the _parent_ entity of the matching input entity. //! //! **N.B.** The left component will always be queried first //! @@ -231,15 +229,15 @@ pub fn get_any_left_parent_any_right_parent_entities< /// /// #[derive(Event)] /// struct MyEventType { -/// message: usize +/// message: usize /// } /// /// // Do some app setup /// /// use micro_bevy_world_utils::send_event; /// pub fn my_world_system(world: &mut World) { -/// // Do some processing here -/// send_event(world, MyEventType { message: 1234 }); +/// // Do some processing here +/// send_event(world, MyEventType { message: 1234 }); /// } /// ``` pub fn send_event<Event: bevy_ecs::event::Event + Sync + Send + 'static>( -- GitLab