Bump speech-dispatcher, and support building with multiple versions.

This commit is contained in:
Nolan Darilek 2022-03-10 13:46:14 -06:00
parent cc8fd91c86
commit ef0a78c745
1 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,10 @@ edition = "2021"
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[features]
speech_dispatcher_0_10 = ["speech-dispatcher/0_10"]
default = ["speech_dispatcher_0_10"]
[dependencies]
dyn-clonable = "0.9"
lazy_static = "1"
@ -26,7 +30,7 @@ tolk = { version = "0.5", optional = true }
windows = { version = "0.33", features = ["alloc", "Foundation", "Media_Core", "Media_Playback", "Media_SpeechSynthesis", "Storage_Streams"] }
[target.'cfg(target_os = "linux")'.dependencies]
speech-dispatcher = "0.12"
speech-dispatcher = { version = "0.13", default-features = false }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
cocoa-foundation = "0.1"