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)