From f6766ec6335f711830d9513c20bb2c227edc36b1 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 22 Nov 2022 14:15:40 -0600 Subject: [PATCH] Bump speech-dispatcher dependency and tweak docs.rs build configuration. --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 30a5e1b..13f4576 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 newline at end of file +no-default-features = true +features = ["speech_dispatcher_0_9"] \ No newline at end of file