From f30bd261505883b8e05f8cd4a42f9449049903b0 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 1 Aug 2022 11:10:50 -0500 Subject: [PATCH] Update to Bevy 0.8. --- Cargo.toml | 4 ++-- examples/hello_world.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5297c65..386f811 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,9 +13,9 @@ speech_dispatcher_0_10 = ["tts/speech_dispatcher_0_10"] tolk = ["tts/tolk"] [dependencies] -bevy = { version = "0.7", default-features = false } +bevy = { version = "0.8", default-features = false } crossbeam-channel = "0.5" tts = { version = "0.23", default-features = false } [dev-dependencies] -bevy = { version = "0.7", default-features = true } \ No newline at end of file +bevy = { version = "0.8", default-features = true } \ No newline at end of file diff --git a/examples/hello_world.rs b/examples/hello_world.rs index 7ff2a6e..5321448 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -5,7 +5,7 @@ fn main() { App::new() .add_plugins(DefaultPlugins) .add_plugin(bevy_tts::TtsPlugin) - .add_system(bevy::input::system::exit_on_esc_system) + .add_system(bevy::window::close_on_esc) .add_startup_system(setup) .add_system(event_poll) .add_system(greet)