Skip to content
Snippets Groups Projects
Verified Commit 33fcb6f4 authored by Louis's avatar Louis :fire:
Browse files

Bump bevy version to 0.15

parent ba0721c7
No related branches found
No related tags found
No related merge requests found
[package] [package]
name = "micro_bevy_world_utils" name = "micro_bevy_world_utils"
version = "0.5.0" version = "0.6.0"
edition = "2021" edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
description = "Handy, reusable utilities for working with direct world access in a Bevy exclusive system" description = "Handy, reusable utilities for working with direct world access in a Bevy exclusive system"
...@@ -10,6 +10,5 @@ authors = [ ...@@ -10,6 +10,5 @@ authors = [
repository = "https://lab.lcr.gr/microhacks/micro-bevy-world-utils" repository = "https://lab.lcr.gr/microhacks/micro-bevy-world-utils"
[dependencies] [dependencies]
bevy_ecs = "0.15"
bevy_ecs = "0.14" bevy_hierarchy = "0.15"
bevy_hierarchy = "0.14"
...@@ -35,6 +35,7 @@ the given entities, the result will be `None` ...@@ -35,6 +35,7 @@ the given entities, the result will be `None`
| world_utiles ver | bevy ver | | world_utiles ver | bevy ver |
|------------------|----------| |------------------|----------|
| 0.6 | 0.15 |
| 0.5 | 0.14 | | 0.5 | 0.14 |
| 0.4 | 0.13 | | 0.4 | 0.13 |
| 0.3 | 0.11 | | 0.3 | 0.11 |
......
...@@ -16,10 +16,8 @@ ...@@ -16,10 +16,8 @@
//! //!
//! `{specifier}` takes the following form: `[any_](left|right)[[_any]_parent]` //! `{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 //! - `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_`
//! 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.
//! - `_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 //! **N.B.** The left component will always be queried first
//! //!
...@@ -231,15 +229,15 @@ pub fn get_any_left_parent_any_right_parent_entities< ...@@ -231,15 +229,15 @@ pub fn get_any_left_parent_any_right_parent_entities<
/// ///
/// #[derive(Event)] /// #[derive(Event)]
/// struct MyEventType { /// struct MyEventType {
/// message: usize /// message: usize
/// } /// }
/// ///
/// // Do some app setup /// // Do some app setup
/// ///
/// use micro_bevy_world_utils::send_event; /// use micro_bevy_world_utils::send_event;
/// pub fn my_world_system(world: &mut World) { /// pub fn my_world_system(world: &mut World) {
/// // Do some processing here /// // Do some processing here
/// send_event(world, MyEventType { message: 1234 }); /// send_event(world, MyEventType { message: 1234 });
/// } /// }
/// ``` /// ```
pub fn send_event<Event: bevy_ecs::event::Event + Sync + Send + 'static>( pub fn send_event<Event: bevy_ecs::event::Event + Sync + Send + 'static>(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment