1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-22 23:19:37 +00:00

Refactor to use separate tts_winrt_bindings crate, and bump version.

This commit is contained in:
Nolan Darilek 2020-06-17 17:25:43 -05:00
parent 8fe6a209ae
commit ce8c5f5289
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "tts"
version = "0.3.5"
version = "0.3.6"
authors = ["Nolan Darilek <nolan@thewordnerd.info>"]
repository = "https://github.com/ndarilek/tts-rs"
description = "High-level Text-To-Speech (TTS) interface"
@ -18,7 +18,7 @@ env_logger = "0.7"
[target.'cfg(windows)'.dependencies]
tolk = "0.2"
winrt = "0.7"
winrt_bindings = {path="winrt_bindings"}
tts_winrt_bindings = { version = "0.1", path="winrt_bindings" }
[target.'cfg(target_os = "linux")'.dependencies]
speech-dispatcher = "0.4"

View File

@ -1,11 +1,11 @@
#[cfg(windows)]
use log::{info, trace};
use winrt_bindings::windows::media::core::MediaSource;
use winrt_bindings::windows::media::playback::{
use tts_winrt_bindings::windows::media::core::MediaSource;
use tts_winrt_bindings::windows::media::playback::{
MediaPlaybackItem, MediaPlaybackList, MediaPlaybackState, MediaPlayer,
};
use winrt_bindings::windows::media::speech_synthesis::SpeechSynthesizer;
use tts_winrt_bindings::windows::media::speech_synthesis::SpeechSynthesizer;
use crate::{Backend, Error, Features};