docs.rs failed to build ssip-client-0.5.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
ssip-client-0.10.2
Rust SSIP Client
Speech Dispatcher SSIP client library in pure rust.
The API is synchronous by default. An asynchronous API based on Mio is available with a feature.
- Unix socket.
- TCP socket.
- Stop, cancel, pause and resume.
- List, set voices.
- Set rate, pitch, volume.
- Notifications.
- Message history.
Getting Started
To use the synchronous API, use:
[]
= "0.4"
For the asynchronous API, use:
[]
= { = "0.4", = ["async-mio"] }
Example
use ;
let mut client = new.build?;
client
.set_client_name?
.check_client_name_set?;
let msg_id = client.speak?.send_line?.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.