Titouan Rigoudy
|
bab80e351a
|
Clean up testing::Handler::run().
|
4 years ago |
Titouan Rigoudy
|
883d81e092
|
Improve UserStatusMap ergonomics.
|
4 years ago |
Titouan Rigoudy
|
b575e1355e
|
Jot down TODOs.
|
4 years ago |
Titouan Rigoudy
|
a400ad595a
|
Handle UserStatusRequest in FakeServer.
|
4 years ago |
Titouan Rigoudy
|
59b255e589
|
Fix tests.
|
4 years ago |
Titouan Rigoudy
|
9f3f20a4c7
|
Tiny comment nits.
|
4 years ago |
Titouan Rigoudy
|
92ff0aa63d
|
Add TODO.
|
4 years ago |
Titouan Rigoudy
|
4340d6dd06
|
Remove hardcoded digest from tests.
|
4 years ago |
Titouan Rigoudy
|
9ef3e48cdd
|
Move Version to its own module.
|
4 years ago |
Titouan Rigoudy
|
1f3ace9434
|
Move password check out of LoginRequest.
|
4 years ago |
Titouan Rigoudy
|
a240c83009
|
Introduce Credentials struct.
|
4 years ago |
Titouan Rigoudy
|
582e155ebc
|
Make ClientOptions public.
|
4 years ago |
Titouan Rigoudy
|
27b65eec60
|
Support graceful stream shutdown in client and server.
This requires amending the FrameStream::read() interface to report
when EOF has been reached.
|
4 years ago |
Titouan Rigoudy
|
a390bbfb0d
|
Update log and env_logger crates.
|
4 years ago |
Titouan Rigoudy
|
2f6edc3e55
|
Improve ergonomics of FakeServer.
|
4 years ago |
Titouan Rigoudy
|
51464e2251
|
Implement FakeServer graceful shutdown.
|
4 years ago |
Titouan Rigoudy
|
7ba1b64451
|
Shut down writer when client runs out of requests.
|
4 years ago |
Titouan Rigoudy
|
8f9d23af0c
|
Tiny comment fix.
|
4 years ago |
Titouan Rigoudy
|
d465c9f216
|
Rework Client API to something inspired by tonic bidi streaming RPCs.
|
4 years ago |
Titouan Rigoudy
|
d93b785c40
|
Define proto::server::Client, implement rough login.
|
4 years ago |
Titouan Rigoudy
|
621274aac1
|
Move FakeServer to proto::server.
|
4 years ago |
Titouan Rigoudy
|
903864f1cd
|
Define proto::core module.
|
4 years ago |
Titouan Rigoudy
|
72bc8e2013
|
Fix reference to frame module.
|
4 years ago |
Titouan Rigoudy
|
45842cdf93
|
Rename value_codec.rs to value.rs.
|
4 years ago |
Titouan Rigoudy
|
381ec05247
|
Set indent width to 2.
|
4 years ago |
Titouan Rigoudy
|
587078403c
|
Run cargo fmt.
|
4 years ago |
Titouan Rigoudy
|
91d2387ffd
|
Rename codec.rs to frame.rs.
|
4 years ago |
Titouan Rigoudy
|
1b69daf783
|
Rename Connection to FrameStream.
|
4 years ago |
Titouan Rigoudy
|
12f85fbaa9
|
Move Connection into codec.rs.
|
4 years ago |
Titouan Rigoudy
|
83620698fd
|
Set 80-char line width.
|
4 years ago |
Titouan Rigoudy
|
8d3a325990
|
Start implementing fake server login handling.
|
4 years ago |
Titouan Rigoudy
|
a711c51ea2
|
Add test for very large messages.
|
4 years ago |
Titouan Rigoudy
|
b06d459b3b
|
Add skeleton code for a fake server.
|
4 years ago |
Titouan Rigoudy
|
70bf234947
|
Introduce simple Connection to send and receive frames.
|
4 years ago |
Titouan Rigoudy
|
7b3a3b226a
|
Squash last warning about room.rs.
|
4 years ago |
Titouan Rigoudy
|
f153167e1d
|
Small fixes to value_codec.rs.
|
4 years ago |
Titouan Rigoudy
|
a98672f282
|
Use encoding crate in value_codec.rs.
|
4 years ago |
Titouan Rigoudy
|
e147ab7076
|
Update `bytes` dependency to 1.0.
|
4 years ago |
Titouan Rigoudy
|
da74ff8d4e
|
Re-use BytesMut for encoding and decoding.
Refactor LengthPrefixed{De, En}coder to Frame{De,En}coder.
|
5 years ago |
Titouan Rigoudy
|
e8b2b47aed
|
Squash a bunch of warnings with allow attributes.
|
4 years ago |
Titouan Rigoudy
|
ea4b5c1184
|
Add a few tests to user.rs to squash warnings.
|
4 years ago |
Titouan Rigoudy
|
c7471d65df
|
Extract prefix encoding logic into Prefixer.
|
5 years ago |
Titouan Rigoudy
|
59a9f6bf90
|
Rename base_codec.rs to value_codec.rs.
|
5 years ago |
Titouan Rigoudy
|
b18fe56f05
|
Rename Proto{En,De}code to Value{En,De}code.
|
5 years ago |
Titouan Rigoudy
|
417edbf6bb
|
Fully remove bytes crate dep from base_codec.rs
|
5 years ago |
Titouan Rigoudy
|
7bb290f0ef
|
Introduce ProtoEncodeError and use it in ProtoEncoder.
Tests are not fixed yet.
|
5 years ago |
Titouan Rigoudy
|
97e380eab6
|
Simplify ProtoDecodeError conversion to io::Error.
|
5 years ago |
Titouan Rigoudy
|
c9ffdc5392
|
Introduce ProtoDecodeError and use it in ProtoDecoder.
|
5 years ago |
Titouan Rigoudy
|
80ebf389e6
|
Add things to TODO.md.
|
5 years ago |
Titouan Rigoudy
|
9b81a6c3a6
|
Remove BytesMut from ProtoDecoder tests in base_codec.rs.
|
5 years ago |