10 breaking releases
| 0.19.0 | Jun 8, 2025 |
|---|---|
| 0.17.0 | Jun 3, 2025 |
| 0.15.0 | Mar 20, 2025 |
| 0.14.0 | Nov 20, 2024 |
| 0.10.0 | Mar 22, 2023 |
#3 in #pitch
811 downloads per month
Used in 2 crates
190KB
4K
SLoC
Rust SSIP Client
Speech Dispatcher SSIP client library in pure rust.
- Unix socket.
- TCP socket.
- Stop, cancel, pause and resume.
- List, set voices.
- Set rate, pitch, volume.
- Notifications.
- Message history.
-
tokiosupport. -
async-iosupport. - separate protocol driving mechanism in the
ssipcrate.
Feature Flags
default: none.dbus: add support to send these types over DBus via thezbuscrate.serde: add support to serialize/deserialize the types withserde.async-io: add support for thesmol/async-ioruntime. This does not pull in an entire runtime, it only adds genericasyncintegration points.tokio: add support for thetokioruntime. This will pull in thetokioruntime along with support for itstokio::io::Async*traits.async-mio: add support for the low-levelmiopolling mechanism.
Example
use ssip_client_async::{FifoBuilder, ClientName};
let mut client = fifo::Builder::new().build()?;
client
.set_client_name(ClientName::new("joe", "hello"))?
.check_client_name_set()?;
let msg_id = client.speak()?.send_line("hello")?.receive_message_id()?;
client.quit()?;
See other examples in the repository.
License
This software is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.
Dependencies
~0–13MB
~125K SLoC