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]
tolk = { version = "0.3", optional = true }
windows = "0.2"
windows = "0.4"
tts_winrt_bindings = { version = "0.3", path="winrt_bindings" }
[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", ] }
[target.'cfg(target_os="android")'.dependencies]
jni = "0.18"
ndk-glue = "0.2"
jni = "0.19"
ndk-glue = "0.3"

View File

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

View File

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