azure_speech/
lib.rs

1#![deny(unsafe_code)]
2
3//! # Azure Speech SDK - Pure Rust Implementation
4//!
5//! Welcome to the Azure Speech SDK crate, an unofficial, opinionated Rust project.
6//! This crate offers a high-level API to interact with Azure Speech Services, designed
7//! for simplicity and flexibility without any external C dependencies. Built on the
8//! `tokio` runtime, it minimizes external dependencies wherever possible.
9//!
10//! ## Core Functionalities
11//! - [X] Speech to Text [recognizer]
12//! - [X] Text to Speech [synthesizer]
13//!
14//! For comprehensive information on Microsoft Speech Service, refer to the official
15//! documentation [here](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-sdk).
16//!
17//! ## Notes
18//! This crate, in its current version, does not include some features available in the
19//! official SDK, such as microphone/file recognition or synthesizer output to speakers.
20//! However, examples demonstrating these capabilities can be found in the `examples` directory.
21//!
22//! ## Usage and Examples
23//! 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.
24//!
25
26mod auth;
27mod config;
28pub mod connector;
29mod error;
30mod event;
31mod stream_ext;
32mod utils;
33
34mod callback;
35pub mod recognizer;
36pub mod synthesizer;
37
38pub use auth::*;
39pub use connector::*;
40pub use error::*;
41
42pub use event::*;
43pub use stream_ext::*;
44
45pub mod stream {
46    //! Re-export of `tokio_stream` crate.
47    pub use tokio_stream::*;
48}