1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-23 16:49:37 +00:00
tts-rs/src/backends/mod.rs
Nolan Darilek 3198a537f0 Initial WinRT backend.
* Add WinRT backend
 * Refactor to use thiserror and unify error-handling
 * If a screen reader is detected. use Tolk. Otherwise, use the WinRT backend.
2020-05-18 15:14:09 -05:00

21 lines
317 B
Rust

#[cfg(target_os = "linux")]
mod speech_dispatcher;
#[cfg(windows)]
mod tolk;
#[cfg(windows)]
pub(crate) mod winrt;
#[cfg(target_arch = "wasm32")]
mod web;
#[cfg(target_os = "linux")]
pub use self::speech_dispatcher::*;
#[cfg(windows)]
pub use self::tolk::*;
#[cfg(target_arch = "wasm32")]
pub use self::web::*;