tts-rs/src/backends/mod.rs

42 lines
795 B
Rust
Raw Permalink Normal View History

2018-12-14 19:35:49 +00:00
#[cfg(target_os = "linux")]
mod speech_dispatcher;
#[cfg(all(windows, feature = "tolk"))]
2019-03-25 19:15:08 +00:00
mod tolk;
#[cfg(windows)]
2020-12-30 20:23:31 +00:00
mod winrt;
2018-12-30 17:13:48 +00:00
#[cfg(target_arch = "wasm32")]
mod web;
#[cfg(target_os = "macos")]
mod appkit;
#[cfg(any(target_os = "macos", target_os = "ios"))]
mod av_foundation;
2020-12-27 15:41:11 +00:00
#[cfg(target_os = "android")]
mod android;
2018-12-14 19:35:49 +00:00
#[cfg(target_os = "linux")]
pub(crate) use self::speech_dispatcher::*;
2018-12-30 17:13:48 +00:00
#[cfg(all(windows, feature = "tolk"))]
2020-09-23 17:23:46 +00:00
pub(crate) use self::tolk::*;
2019-03-25 19:15:08 +00:00
2020-12-30 20:23:31 +00:00
#[cfg(windows)]
pub(crate) use self::winrt::*;
2018-12-30 17:13:48 +00:00
#[cfg(target_arch = "wasm32")]
2020-12-30 20:23:31 +00:00
pub(crate) use self::web::*;
#[cfg(target_os = "macos")]
pub(crate) use self::appkit::*;
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) use self::av_foundation::*;
2020-12-27 15:41:11 +00:00
#[cfg(target_os = "android")]
pub(crate) use self::android::*;