From 6d1744735083b24cb481dea854644916a506cdf3 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 7 Dec 2020 22:39:30 -0600 Subject: [PATCH] Remove unnecessary dependencies and bump versions. --- Cargo.toml | 4 ++-- winrt_bindings/Cargo.toml | 26 +++++++++++++------------- winrt_bindings/build.rs | 24 ++++++++++++------------ 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e896672..fd7424c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tts" -version = "0.12.1" +version = "0.12.2" authors = ["Nolan Darilek "] repository = "https://github.com/ndarilek/tts-rs" description = "High-level Text-To-Speech (TTS) interface" @@ -26,7 +26,7 @@ env_logger = "0.8" [target.'cfg(windows)'.dependencies] tolk = { version = "0.3", optional = true } winrt = "0.7" -tts_winrt_bindings = { version = "0.1", path="winrt_bindings" } +tts_winrt_bindings = { version = "0.2", path="winrt_bindings" } [target.'cfg(target_os = "linux")'.dependencies] speech-dispatcher = "0.7" diff --git a/winrt_bindings/Cargo.toml b/winrt_bindings/Cargo.toml index 10e797e..c0afe2c 100644 --- a/winrt_bindings/Cargo.toml +++ b/winrt_bindings/Cargo.toml @@ -1,13 +1,13 @@ -[package] -name = "tts_winrt_bindings" -version = "0.1.0" -authors = ["Nolan Darilek "] -description = "Internal crate used by `tts`" -license = "MIT" -edition = "2018" - -[dependencies] -winrt = "0.7" - -[build-dependencies] -winrt = "0.7" +[package] +name = "tts_winrt_bindings" +version = "0.2.0" +authors = ["Nolan Darilek "] +description = "Internal crate used by `tts`" +license = "MIT" +edition = "2018" + +[dependencies] +winrt = "0.7" + +[build-dependencies] +winrt = "0.7" diff --git a/winrt_bindings/build.rs b/winrt_bindings/build.rs index 9a1eb63..2cd927d 100644 --- a/winrt_bindings/build.rs +++ b/winrt_bindings/build.rs @@ -1,12 +1,12 @@ -winrt::build!( - dependencies - os - types - windows::media::core::MediaSource - windows::media::playback::{MediaPlaybackItem, MediaPlaybackList, MediaPlaybackState, MediaPlayer} - windows::media::speech_synthesis::SpeechSynthesizer -); - -fn main() { - build(); -} +winrt::build!( + dependencies + os + types + windows::media::core::MediaSource + windows::media::playback::{MediaPlaybackState, MediaPlayer} + windows::media::speech_synthesis::SpeechSynthesizer +); + +fn main() { + build(); +}