Browse Source

Remove unnecessary dependencies and bump versions.

master v0.12.2
Nolan Darilek 3 months ago
parent
commit
6d17447350
  1. 4
      Cargo.toml
  2. 26
      winrt_bindings/Cargo.toml
  3. 24
      winrt_bindings/build.rs

4
Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "tts"
version = "0.12.1"
version = "0.12.2"
authors = ["Nolan Darilek <[email protected]>"]
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"

26
winrt_bindings/Cargo.toml

@ -1,13 +1,13 @@
[package]
name = "tts_winrt_bindings"
version = "0.1.0"
authors = ["Nolan Darilek <[email protected]>"]
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 <[email protected]>"]
description = "Internal crate used by `tts`"
license = "MIT"
edition = "2018"
[dependencies]
winrt = "0.7"
[build-dependencies]
winrt = "0.7"

24
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();
}
Loading…
Cancel
Save