From b9ae9099204bdbbce0f96759064df4a67fa4e5c3 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 10 Mar 2022 15:34:38 -0600 Subject: [PATCH] Add `speech_dispatcher_0_10` feature for building with newer speech-dispatcher. --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ff8b155..3f73bda 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,9 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[features] +speech_dispatcher_0_10 = ["bevy_tts/speech_dispatcher_0_10"] + [dependencies.bevy] version = "0.6" default-features = false @@ -24,7 +27,7 @@ backtrace = "0.3" bevy_input_actionmap = { path = "../bevy_input_actionmap" } bevy_openal = { path = "../bevy_openal" } bevy_rapier2d = { version = "0.12", features = ["serde-serialize", "simd-stable"] } -bevy_tts = { path = "../bevy_tts" } +bevy_tts = { path = "../bevy_tts", default-features = false, features = ["tolk"] } coord_2d = "0.3" derive_more = "0.99" futures-lite = "1"