Skip to content

Commit

Permalink
Bump bevy to 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanCacqueray committed Nov 4, 2023
1 parent 93b1852 commit e39f7ca
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resolver = "2"

[package]
name = "bevy_eventlistener"
version = "0.5.1"
version = "0.6.0"
edition = "2021"
description = "Event listeners and callbacks for bevy"
license = "MIT OR Apache-2.0"
Expand All @@ -15,11 +15,11 @@ keywords = ["gamedev", "bevy", "eventlistener", "callbacks"]
categories = ["game-engines", "rendering"]

[dependencies]
bevy_eventlistener_core = { path = "crates/bevy_eventlistener_core", version = "0.5.1" }
bevy_eventlistener_core = { path = "crates/bevy_eventlistener_core", version = "0.6.0" }
bevy_eventlistener_derive = { path = "crates/bevy_eventlistener_derive", version = "0.5.1" }

[dev-dependencies]
bevy = { version = "0.11", default-features = false, features = [
bevy = { version = "0.12", default-features = false, features = [
"bevy_winit",
"x11",
] }
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ The blue line can be read as "how long does it take all of these events to bubbl

The runtime cost of each event decreases as the total number of events increase, this is because graph construction is a fixed cost for each type of event. Adding more events simply amortizes that cost across more events. At 50 events the runtime cost is only ~500ns/event, and about 25us total. To reiterate, this is using an entity hierarchy similar to the most complex websites I could find.

# Bevy version support

|bevy|bevy\_eventlistener|
|----|---|
|0.12|0.6|
|0.11|0.5|

# License

All code in this repository is dual-licensed under either:
Expand All @@ -83,4 +90,3 @@ at your option. This means you can select the license you prefer.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the
work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.

10 changes: 5 additions & 5 deletions crates/bevy_eventlistener_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_eventlistener_core"
version = "0.5.1"
version = "0.6.0"
edition = "2021"
description = "Event listeners and callbacks for bevy"
license = "MIT OR Apache-2.0"
Expand All @@ -9,10 +9,10 @@ keywords = ["gamedev", "bevy", "eventlistener", "callbacks"]
categories = ["game-engines", "rendering"]

[dependencies]
bevy_ecs = "0.11"
bevy_app = "0.11"
bevy_utils = "0.11"
bevy_hierarchy = "0.11"
bevy_ecs = "0.12"
bevy_app = "0.12"
bevy_utils = "0.12"
bevy_hierarchy = "0.12"

[features]
default = ["trace"]
Expand Down

0 comments on commit e39f7ca

Please sign in to comment.