1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#![deny(unsafe_code)]

//! # Azure Speech SDK - Pure Rust Implementation
//!
//! Welcome to the Azure Speech SDK crate, an unofficial, opinionated Rust project.
//! This crate offers a high-level API to interact with Azure Speech Services, designed
//! for simplicity and flexibility without any external C dependencies. Built on the
//! `tokio` runtime, it minimizes external dependencies wherever possible.
//!
//! ## Core Functionalities
//! - [X] Speech to Text [recognizer]
//! - [X] Text to Speech [synthesizer]
//!
//! For comprehensive information on Microsoft Speech Service, refer to the official
//! documentation [here](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-sdk).
//!
//! ## Notes
//! This crate, in its current version, does not include some features available in the
//! official SDK, such as microphone/file recognition or synthesizer output to speakers.
//! However, examples demonstrating these capabilities can be found in the `examples` directory.
//!
//! ## Usage and Examples
//! Detailed usage instructions and examples are provided in the [examples](https://github.com/jBernavaPrah/azure-speech-sdk-rs/blob/master/examples) folder in the GitHub repository.
//!

mod auth;
mod config;
mod connector;
mod error;
mod event;
mod stream_ext;
mod utils;

mod callback;
pub mod recognizer;
pub mod synthesizer;

pub use auth::*;
pub use connector::*;
pub use error::*;

pub use event::*;
pub use stream_ext::*;

pub mod stream {
    //! Re-export of `tokio_stream` crate.
    pub use tokio_stream::*;
}