Support speech-dispatcher 0.11 and 0.10, dropping support for 0.9.

This commit is contained in:
Nolan Darilek 2022-09-07 12:33:33 -05:00
parent 1eae827ed1
commit 3c38c783b0
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "tts"
version = "0.23.1"
version = "0.24.0"
authors = ["Nolan Darilek <nolan@thewordnerd.info>"]
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"