WIP: Bump dependencies. Currently broken.

This commit is contained in:
Nolan Darilek 2021-03-11 12:33:31 -06:00
parent 42879dfa1f
commit d9ca83ca15
3 changed files with 9 additions and 8 deletions

View File

@ -22,7 +22,7 @@ env_logger = "0.8"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
tolk = { version = "0.3", optional = true } tolk = { version = "0.3", optional = true }
windows = "0.2" windows = "0.4"
tts_winrt_bindings = { version = "0.3", path="winrt_bindings" } tts_winrt_bindings = { version = "0.3", path="winrt_bindings" }
[target.'cfg(target_os = "linux")'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]
@ -38,5 +38,5 @@ wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = ["EventTarget", "SpeechSynthesis", "SpeechSynthesisErrorCode", "SpeechSynthesisErrorEvent", "SpeechSynthesisEvent", "SpeechSynthesisUtterance", "Window", ] } web-sys = { version = "0.3", features = ["EventTarget", "SpeechSynthesis", "SpeechSynthesisErrorCode", "SpeechSynthesisErrorEvent", "SpeechSynthesisEvent", "SpeechSynthesisUtterance", "Window", ] }
[target.'cfg(target_os="android")'.dependencies] [target.'cfg(target_os="android")'.dependencies]
jni = "0.18" jni = "0.19"
ndk-glue = "0.2" ndk-glue = "0.3"

View File

@ -7,7 +7,7 @@ license = "MIT"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
windows = "0.2" windows = "0.4"
[build-dependencies] [build-dependencies]
windows = "0.2" windows = "0.4"

View File

@ -1,7 +1,8 @@
fn main() { fn main() {
windows::build!( windows::build!(
windows::media::core::MediaSource windows::foundation::TypedEventHandler,
windows::media::playback::{MediaPlaybackState, MediaPlayer} windows::media::core::MediaSource,
windows::media::speech_synthesis::SpeechSynthesizer windows::media::playback::{MediaPlaybackState, MediaPlayer, MediaPlayerAudioCategory},
windows::media::speech_synthesis::SpeechSynthesizer,
); );
} }