mirror of https://github.com/ndarilek/tts-rs.git
Bump speech-dispatcher, and support building with multiple versions.
This commit is contained in:
parent
cc8fd91c86
commit
ef0a78c745
|
@ -11,6 +11,10 @@ edition = "2021"
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["lib", "cdylib", "staticlib"]
|
crate-type = ["lib", "cdylib", "staticlib"]
|
||||||
|
|
||||||
|
[features]
|
||||||
|
speech_dispatcher_0_10 = ["speech-dispatcher/0_10"]
|
||||||
|
default = ["speech_dispatcher_0_10"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dyn-clonable = "0.9"
|
dyn-clonable = "0.9"
|
||||||
lazy_static = "1"
|
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"] }
|
windows = { version = "0.33", features = ["alloc", "Foundation", "Media_Core", "Media_Playback", "Media_SpeechSynthesis", "Storage_Streams"] }
|
||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[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]
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
||||||
cocoa-foundation = "0.1"
|
cocoa-foundation = "0.1"
|
||||||
|
|
Loading…
Reference in New Issue