Titouan Rigoudy
|
27d0539a41
|
Replace rustc-serialize with serde.
|
4 years ago |
Titouan Rigoudy
|
7ecd97a0f2
|
Invert User serde tests.
|
4 years ago |
Titouan Rigoudy
|
83bccd8480
|
Tiny nit: improve indentation.
|
4 years ago |
Titouan Rigoudy
|
316dd6d582
|
Write remaining control response serde tests.
|
4 years ago |
Titouan Rigoudy
|
2227cafe0a
|
Add serde support for control responses.
Start writing tests, add TODO for the others.
|
4 years ago |
Titouan Rigoudy
|
4274d5a1a4
|
Rework control request serde tests.
|
4 years ago |
Titouan Rigoudy
|
6c8b17fd19
|
Add serde support to Room struct.
|
4 years ago |
Titouan Rigoudy
|
a1154859a1
|
Add serde support for User struct.
|
4 years ago |
Titouan Rigoudy
|
46b7fed632
|
Introduce serde for ControlRequest.
|
4 years ago |
Titouan Rigoudy
|
2bf08bc221
|
Dispatch RoomListResponse correctly.
|
4 years ago |
Titouan Rigoudy
|
ca8f580406
|
Add SetRoomListHandler.
|
4 years ago |
Titouan Rigoudy
|
4f115683a3
|
Define ContextBundle.
|
4 years ago |
Titouan Rigoudy
|
25ccac7a0b
|
Derive Clone for ServerResponse.
|
4 years ago |
Titouan Rigoudy
|
a778c75afc
|
Add server request sender to Context.
|
4 years ago |
Titouan Rigoudy
|
6f8d18f283
|
Apply same rustfmt.toml to proto/.
|
4 years ago |
Titouan Rigoudy
|
57a8791c85
|
Implement basic asynchronous main.
|
4 years ago |
Titouan Rigoudy
|
9850f8d3b3
|
Rework Client interface.
|
4 years ago |
Titouan Rigoudy
|
f6a6d190ef
|
Add --async command line switch.
|
4 years ago |
Titouan Rigoudy
|
3328aaed3d
|
Small fixes to Dispatcher.
|
4 years ago |
Titouan Rigoudy
|
18ac420713
|
Implement Into<ServerResponse> for all response types.
|
4 years ago |
Titouan Rigoudy
|
d90176f3ef
|
Tiny test fixes.
|
4 years ago |
Titouan Rigoudy
|
d749ee0116
|
Add tests for Channel read/write.
|
4 years ago |
Titouan Rigoudy
|
b7a6467fa1
|
Rename read/write_strict.
|
4 years ago |
Titouan Rigoudy
|
e06b3c86b6
|
Define message-type-agnostic Channel type.
|
4 years ago |
Titouan Rigoudy
|
5b584f6d8c
|
Update crates.
|
4 years ago |
Titouan Rigoudy
|
0f13f774cd
|
Fix handling of concurrent send and receive.
|
4 years ago |
Titouan Rigoudy
|
c4e4c07901
|
Add ability to receive responses while sending requests.
|
4 years ago |
Titouan Rigoudy
|
740b704492
|
Replace FrameStream with FrameReader and FrameWriter.
|
4 years ago |
Titouan Rigoudy
|
aa13cfd253
|
Introduce FrameReader and FrameWriter.
|
4 years ago |
Titouan Rigoudy
|
95cdf157da
|
Update a couple crates.
|
4 years ago |
Titouan Rigoudy
|
4d4e9c7ecd
|
Remove warnings in client.
|
4 years ago |
Titouan Rigoudy
|
dd7819c805
|
Format client.
|
4 years ago |
Titouan Rigoudy
|
d432d58bb3
|
Format and remove warnings from proto.
|
4 years ago |
Titouan Rigoudy
|
a7f48e12aa
|
Extract proto module to its own crate.
|
4 years ago |
Titouan Rigoudy
|
d718e8d883
|
Define workspace and client crate.
|
4 years ago |
Titouan Rigoudy
|
33ad79bfd0
|
Rename ValueEncode::encode() to encode_to().
|
4 years ago |
Titouan Rigoudy
|
c7eb14821f
|
Move user.rs to src/proto/core.
|
4 years ago |
Titouan Rigoudy
|
fc3c7e3f33
|
Rename username fields to user_name.
|
4 years ago |
Titouan Rigoudy
|
719480e99c
|
Implement From<*Request> for ServerRequest.
|
4 years ago |
Titouan Rigoudy
|
0477d21df5
|
Remove failing doctests.
|
4 years ago |
Titouan Rigoudy
|
6afced7d2e
|
Add small integration tests for proto::Client.
|
4 years ago |
Titouan Rigoudy
|
571f7cd3e9
|
Define small lib.rs for integration testing.
|
4 years ago |
Titouan Rigoudy
|
a03435f0c0
|
Reduce testing server result channel capacity to 1.
|
4 years ago |
Titouan Rigoudy
|
74ce0ac425
|
Drain result channel during server execution.
|
4 years ago |
Titouan Rigoudy
|
dd1a660c33
|
Fix stream_closed looping forever.
|
4 years ago |
Titouan Rigoudy
|
86552bf3a5
|
Check all responses in stream_closed test.
|
4 years ago |
Titouan Rigoudy
|
9a7849c692
|
Rename FakeServer to Server, same with ServerHandle.
|
4 years ago |
Titouan Rigoudy
|
d27fb4dac1
|
Add TODO.
|
4 years ago |
Titouan Rigoudy
|
d5776cd81b
|
Rework FakeServer initialization.
|
4 years ago |
Titouan Rigoudy
|
b39d2bfbcc
|
Extract ClientOptions setup in tests.
|
4 years ago |