Skip to content

Commit

Permalink
Update to Bevy 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
CatThingy committed Mar 6, 2023
1 parent 1fe3d6e commit 8acf752
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclude = ["assets/**/*", ".github/**/*"]

[dependencies]
bevy_proto_derive = { version = "0.2", path = "bevy_proto_derive" }
bevy = { version = "0.9", default-features = false, features = ["bevy_asset"] }
bevy = { version = "0.10", default-features = false, features = ["bevy_asset"] }
serde = "1.0"
typetag = "0.2"
serde_yaml = "0.9"
Expand All @@ -22,7 +22,7 @@ crossbeam-channel = { version = "0.5", optional = true }
notify = { version = "5.0", optional = true }

[dev-dependencies]
bevy = "0.9"
bevy = "0.10"
[features]
default = ["analysis"]
# If enabled, analyses prototype dependencies and logging (or panicking if `no_cycles` is enabled) on error
Expand Down
5 changes: 3 additions & 2 deletions examples/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(ProtoPlugin::default())
.add_startup_system(spawn_sprites_proto.label("prototype"))
.add_startup_system(spawn_sprites_programmatic.after("prototype"))
.add_startup_system(spawn_sprites_proto)
.add_startup_system(spawn_sprites_programmatic.after(spawn_sprites_proto))
.run();
}


/// The code below is covered in the `bundles` example. It's an implementation
/// detail we don't need to focus on for this particular example
Expand Down

0 comments on commit 8acf752

Please sign in to comment.