1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-18 15:19:37 +00:00

Bump speech-dispatcher dependency and tweak docs.rs build configuration.

This commit is contained in:
Nolan Darilek 2022-11-22 14:15:40 -06:00
parent 8102820f86
commit f6766ec633

View File

@ -12,6 +12,7 @@ edition = "2021"
crate-type = ["lib", "cdylib", "staticlib"]
[features]
speech_dispatcher_0_9 = ["speech-dispatcher/0_9"]
speech_dispatcher_0_10 = ["speech-dispatcher/0_10"]
speech_dispatcher_0_11 = ["speech-dispatcher/0_11"]
default = ["speech_dispatcher_0_11"]
@ -32,7 +33,7 @@ tolk = { version = "0.5", optional = true }
windows = { version = "0.42", features = ["Foundation", "Foundation_Collections", "Media_Core", "Media_Playback", "Media_SpeechSynthesis", "Storage_Streams"] }
[target.'cfg(target_os = "linux")'.dependencies]
speech-dispatcher = { version = "0.15", default-features = false }
speech-dispatcher = { version = "0.16", default-features = false }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
cocoa-foundation = "0.1"
@ -50,4 +51,5 @@ ndk-context = "0.1"
ndk-glue = "0.7"
[package.metadata.docs.rs]
no-default-features = true
no-default-features = true
features = ["speech_dispatcher_0_9"]