mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-23 16:49:37 +00:00
Nolan Darilek
3198a537f0
* Add WinRT backend * Refactor to use thiserror and unify error-handling * If a screen reader is detected. use Tolk. Otherwise, use the WinRT backend.
21 lines
317 B
Rust
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::*;
|