From 3c38c783b0f51bdf0cea5a8283700cc502e84afc Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 7 Sep 2022 12:33:33 -0500 Subject: [PATCH] Support speech-dispatcher 0.11 and 0.10, dropping support for 0.9. --- Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a087a72..4ac08a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tts" -version = "0.23.1" +version = "0.24.0" authors = ["Nolan Darilek "] repository = "https://github.com/ndarilek/tts-rs" description = "High-level Text-To-Speech (TTS) interface" @@ -13,16 +13,16 @@ crate-type = ["lib", "cdylib", "staticlib"] [features] speech_dispatcher_0_10 = ["speech-dispatcher/0_10"] -speech_dispatcher_0_10_2 = ["speech-dispatcher/0_10_2"] -default = ["speech_dispatcher_0_10_2"] +speech_dispatcher_0_11 = ["speech-dispatcher/0_11"] +default = ["speech_dispatcher_0_11"] [dependencies] dyn-clonable = "0.9" lazy_static = "1" log = "0.4" +serde = { version = "1", optional = true, features = ["derive"] } thiserror = "1" unic-langid = "0.9.0" -serde = { version = "1.0", optional = true, features = ["derive"] } [dev-dependencies] env_logger = "0.9" @@ -32,7 +32,7 @@ tolk = { version = "0.5", optional = true } windows = { version = "0.39", features = ["Foundation", "Foundation_Collections", "Media_Core", "Media_Playback", "Media_SpeechSynthesis", "Storage_Streams"] } [target.'cfg(target_os = "linux")'.dependencies] -speech-dispatcher = { version = "0.14", default-features = false } +speech-dispatcher = { version = "0.15", default-features = false } [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] cocoa-foundation = "0.1"