Nolan
c6b90a7a24
Cast values for compatibility with newer speech-dispatcher.
2 years ago
Nolan Darilek
ee6aba7a97
Cast to u32.
2 years ago
Nolan Darilek
36f82b78f3
Bump version.
2 years ago
Nolan Darilek
729aaf5255
Soundness fixes for cloning `Connection`.
2 years ago
Nolan Darilek
2618393758
Relicense and bump version.
2 years ago
Nolan Darilek
82090cb48d
Bump versions.
2 years ago
Nolan Darilek
3709573305
Use `Voice` directly to avoid messing with stringly-typed voice names.
2 years ago
Nolan Darilek
911e98d9ec
Clean up example.
2 years ago
Nolan Darilek
8434bfca64
Bump edition.
2 years ago
Malloc Voidstar
143147036c
Add support for listing voices
...
Rebased on top of the result changes.
3 years ago
Nolan Darilek
2879284030
Bump version.
3 years ago
Malloc Voidstar
83b1ac5a76
Change SpeechDispatcherError to Error, format
...
Also lowercase Display strings to be in line with https://rust-lang.github.io/api-guidelines/interoperability.html#examples-of-error-messages
3 years ago
Malloc Voidstar
7d3edccdda
Convert all bool-returns to Results
...
Additionally:
* Make open2 fallible too
* Use a Result the entire time in open and open2, instead of going from Option to Result
* Specify c_int instead of i32 since apparently the size "may differ on some esoteric systems"; I suspect it won't compile on whatever those are but might as well improve the situation
* Avoid a maybe-possible panic in get_voice_type. Probably can't happen but I'm not 100% certain, so I made it fallible
* Add a missing null check to get_language
3 years ago
Nolan Darilek
e0170aa011
Bump version.
3 years ago
Malloc Voidstar
67a8c19410
Fix build on ARM
...
Differences in signedness were preventing builds.
3 years ago
Nolan Darilek
ac12fb132e
Bump version.
3 years ago
Nolan Darilek
4c8521ccb8
Add error handling for initialization failure.
3 years ago
Nolan Darilek
006a4835be
Eliminate a Clippy warning.
4 years ago
Nolan Darilek
5349a0fc3d
Refactor to FnMut and bump version.
4 years ago
Nolan Darilek
bf348af84f
Make client ID easier to get at.
...
* Pass `client_id` into all callbacks.
* Expose via `client_id()` method.
* Bump version.
4 years ago
Nolan Darilek
ca2e0ffe5e
Upgrades and refactors.
...
* Bump editions to 2018.
* Bump dependencies and crate versions.
* Implement callbacks.
* Return message IDs when speaking, or `None` in case of errors.
* Add callbacks to example.
4 years ago
Nolan Darilek
e99da4a1d3
Bump version.
5 years ago
Nolan Darilek
2758f79538
Add defensive handling for speaking empty strings, which appears to crash the client.
5 years ago
Nolan Darilek
369bf23fa9
Clippy, fmt, bump versions, and update repository links.
5 years ago
Nolan Darilek
cb02834873
Loosen version requirement.
5 years ago
Nolan Darilek
ebb3078c8a
Bump dependencies and version.
5 years ago
Nolan Darilek
34ca29d425
Add version to dependency.
5 years ago
Nolan Darilek
3da5140735
Switch to a workspace.
5 years ago