mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-23 03:19:38 +00:00
Refactor to use separate tts_winrt_bindings
crate, and bump version.
This commit is contained in:
parent
8fe6a209ae
commit
ce8c5f5289
|
@ -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"
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user