From c16a6ea484133c5062f30dd2a140dbf812fd73d2 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 11 Mar 2021 14:01:11 -0600 Subject: [PATCH] Bump dependencies. --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3196442..0fadb2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,4 +13,4 @@ tolk = ["tts/tolk"] [dependencies] bevy = { git = "https://github.com/bevyengine/bevy", branch = "main" } crossbeam-channel = "0.5" -tts = { version = "0.14" } \ No newline at end of file +tts = "0.15" \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 9a90dda..3379172 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,7 +11,7 @@ pub enum TtsEvent { struct TtsChannel(Receiver); -fn poll_callbacks(channel: Res, mut events: ResMut>) { +fn poll_callbacks(channel: Res, mut events: EventWriter) { if let Ok(msg) = channel.0.try_recv() { events.send(msg); }