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 c5b5394
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
7 changes: 4 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,12 @@ 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.11", default-features = false, features = [
bevy = { git = "https://github.com/bevyengine/bevy", rev="1d8d78ef0e34473f53eaa5bce1e27696c8e98063", 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.

15 changes: 10 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,15 @@ 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.11"
# bevy_app = "0.11"
# bevy_utils = "0.11"
# bevy_hierarchy = "0.11"

bevy_ecs = { git = "https://github.com/bevyengine/bevy", rev = "1d8d78ef0e34473f53eaa5bce1e27696c8e98063" }
bevy_app = { git = "https://github.com/bevyengine/bevy", rev = "1d8d78ef0e34473f53eaa5bce1e27696c8e98063" }
bevy_utils = { git = "https://github.com/bevyengine/bevy", rev = "1d8d78ef0e34473f53eaa5bce1e27696c8e98063" }
bevy_hierarchy = { git = "https://github.com/bevyengine/bevy", rev = "1d8d78ef0e34473f53eaa5bce1e27696c8e98063" }

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

0 comments on commit c5b5394

Please sign in to comment.