diff --git a/Cargo.toml b/Cargo.toml index a15c441..d94fe04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"