From a45c64b34de58e9a145452f12e102c45ffa65819 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 5 Apr 2021 13:10:04 -0500 Subject: [PATCH] Update to tts v0.16.0. --- Cargo.toml | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 11b83fb..453337f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ tolk = ["tts/tolk"] [dependencies] bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", default-features = false } crossbeam-channel = "0.5" -tts = "0.15" +tts = "0.16" [dev-dependencies] bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", default-features = true } \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 3379172..ff1c7cf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ use bevy::prelude::*; use crossbeam_channel::{unbounded, Receiver}; -pub use tts::{Error, Features, UtteranceId, TTS}; +pub use tts::{Error, Features, UtteranceId, Tts}; #[derive(Clone, Copy, Debug)] pub enum TtsEvent { @@ -21,7 +21,7 @@ pub struct TtsPlugin; impl Plugin for TtsPlugin { fn build(&self, app: &mut AppBuilder) { - let tts = TTS::default().unwrap(); + let tts = Tts::default().unwrap(); let (tx, rx) = unbounded(); let tx_begin = tx.clone(); let tx_end = tx.clone();