Crate azure_speech

Source
Expand description

§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

For comprehensive information on Microsoft Speech Service, refer to the official documentation here.

§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 folder in the GitHub repository.

Re-exports§

pub use connector::*;

Modules§

connector
recognizer
Speech to text module.
stream
Re-export of tokio_stream crate.
synthesizer
Text to speech module.

Structs§

Auth
Auth struct, used to authenticate with Azure Speech Services.
StopAfter
Stream for the stop_after method.

Enums§

Error
Error enum, used to represent errors in the library.

Traits§

StreamExt
An extension trait for Stream that provides a variety of convenient combinator functions.

Type Aliases§

RequestId
Result
Result type for the library.