diff --git a/Cargo.toml b/Cargo.toml index 04ec0ef081200dec579cb05bd85b65638aea8859..4aa7532d071346dc2c319518cf681c172c96d3bc 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 345d684df177e08d86167db8272b12c184dd6377..3e6cb3e5982ff4d97f2930b4cfe738516cbd311f 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 630bfa7caa2e24eeccd33e25118b42eaf3df743e..9a301e526d931d00a1710c86d94cf7256ca2a077 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>(