Laurent Pelecq
3622313d78
Fix one clippy warning
2 years ago
Laurent Pelecq
b9b4a70801
Fix examples
2 years ago
Laurent Pelecq
f662405997
Move generic methods send and receive from AsyncClient to Client.
...
* Generic methods can be used in the synchronous API. It gives the choice to use
either specific calls or the generic ones.
* AsyncClient consists in a simple queue of requests.
* Getters only return the generic Response::Get. Callers must convert if it's an
integer.
2 years ago
Laurent Pelecq
fad9440145
Minor version for release
2 years ago
Laurent Pelecq
ea75e00edc
Add missing tests changes.
2 years ago
Laurent Pelecq
883e491a7f
Add all requests in AsyncClient.
...
* Simplify fifo tests with tempfile.
* Test getter in async fifo tests.
2 years ago
Laurent Pelecq
c0f0b69dd8
Don't reexport Source
2 years ago
Laurent Pelecq
7c8874237d
Add AsyncClient in documentation
2 years ago
Laurent Pelecq
1b64550591
Fix version in README
2 years ago
Laurent Pelecq
ec1b1aca51
New AsyncClient class.
...
* Only few commands are implemented.
* Example async_mio_loop added.
2 years ago
Laurent Pelecq
eb4fac99ba
Fix readme example
2 years ago
Laurent Pelecq
5cc696a8b9
Rename FifoBuilder to Builder
...
Builder is not reexported in lib.rs. Module fifo must be imported instead.
2 years ago
Laurent Pelecq
b3dd02603a
Fix send_char and rename error NoLine to TooFewLines
2 years ago
Laurent Pelecq
a2ad2634d9
Add constants for events
2 years ago
Laurent Pelecq
bf33d18bb2
Use log::debug in debug mode to trace communication with server
2 years ago
Laurent Pelecq
c45bb7daa7
Fix minor clippy warnings
2 years ago
Laurent Pelecq
39c2317de9
Test both synchronous and asynchronous API in pipeline
2 years ago
Laurent Pelecq
a186c456db
Dual synchronous and asynchronous API.
...
* Calls have been separate in a "send" and a "receive" to have the same methods in both modes.
* Asynchrone API is enabled with feature "async-mio".
2 years ago
Laurent Pelecq
58b1d5513f
Both sync and async tests pass
2 years ago
Laurent Pelecq
28c3533628
Simplify fifo test by giving the question as a string instead of an array
2 years ago
Laurent Pelecq
aff43c6147
Add error NotReady for asynchronous mode
2 years ago
Laurent Pelecq
4f9f0fe9dc
Change some method names
2 years ago
Laurent Pelecq
73b2531c4f
Dual synchronous and asynchronous API
...
Tests don't work in async mode
2 years ago
Laurent Pelecq
add553a270
Update readme
...
* Direct link to documentation.
* Todo list of features
2 years ago
Laurent Pelecq
64f37c1e9c
Add link in readme to documentation and crates.io
2 years ago
Laurent Pelecq
f1e9f9ffbc
Add repository in Cargo.toml
2 years ago
Laurent Pelecq
40095d578c
Fix readme for first release
2 years ago
Laurent Pelecq
6154769db2
disable test on standard socket if XDG not available
2 years ago
Laurent Pelecq
ced77a3f13
add readme and license
2 years ago
Laurent Pelecq
855b0c5af0
add notifications
2 years ago
Laurent Pelecq
a077ae1f38
implement example list
2 years ago
Laurent Pelecq
590859d15e
upgrade dependencies and fix lint errors
2 years ago
Laurent Pelecq
dcd38f2b9e
Test for synthesis voices. Few other tests.
3 years ago
Laurent Pelecq
7d6d8db931
Test {set, get, list}_voice_types.
3 years ago
Laurent Pelecq
79e7986ba9
Test SSML mode, spelling, capital letter recognition
3 years ago
Laurent Pelecq
837a84950c
More tests get/set language, rate, ...
3 years ago
Laurent Pelecq
ca890b48e4
Using new type ClientName to create client.
3 years ago
Laurent Pelecq
da3f295f96
Fix type ClientTarget. Move basic types in types.rs.
3 years ago
Laurent Pelecq
8aeb28a3ea
test speech_dispatcher_socket
3 years ago
Laurent Pelecq
0c7bf4f113
move client tests in integration tests
3 years ago
Laurent Pelecq
5a656d5d27
add all commands except notification and history, and no tests
3 years ago
Laurent Pelecq
c6527cb793
add sample in module documentation
3 years ago
Laurent Pelecq
55f3fb7883
add license to Cargo.toml
3 years ago
Laurent Pelecq
5939548b69
fix speak, add documentation.
3 years ago
Laurent Pelecq
aa73dab21b
add speak and unit tests for the client
3 years ago
Laurent Pelecq
cab51e0fc6
add tests for unix client
3 years ago
Laurent Pelecq
0914f8b191
initial implementation to connect and quit
3 years ago