Titouan Rigoudy
|
d718e8d883
|
Define workspace and client crate.
|
4 years ago |
Titouan Rigoudy
|
c7eb14821f
|
Move user.rs to src/proto/core.
|
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
|
45842cdf93
|
Rename value_codec.rs to value.rs.
|
4 years ago |
Titouan Rigoudy
|
381ec05247
|
Set indent width to 2.
|
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
|
70bf234947
|
Introduce simple Connection to send and receive frames.
|
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
|
7bb290f0ef
|
Introduce ProtoEncodeError and use it in ProtoEncoder.
Tests are not fixed yet.
|
5 years ago |
Titouan Rigoudy
|
c9ffdc5392
|
Introduce ProtoDecodeError and use it in ProtoDecoder.
|
5 years ago |
Titouan Rigoudy
|
e35719f745
|
Remove src/proto/transport.rs.
|
6 years ago |
Titouan Rigoudy
|
c48673c390
|
Introduce ProtoDecoder instead of extending Buf trait.
|
7 years ago |
Titouan Rigoudy
|
c8a4e8fe74
|
Add src::proto::codec for Tokio integration.
|
7 years ago |
Titouan Rigoudy
|
e76ed364a6
|
Rename proto::codec to proto::base_codec.
|
7 years ago |
Titouan Rigoudy
|
da6aa38593
|
Run rustfmt.
|
7 years ago |
Titouan Rigoudy
|
bcf05d5772
|
Refactor transport module a little.
|
7 years ago |
Titouan Rigoudy
|
5a980dbba1
|
Replace ProtoDecode with Decode, remove ProtoDecoder.
|
7 years ago |
Titouan Rigoudy
|
766d11d564
|
Remove DecodeError, use io::Error instead.
|
7 years ago |
Titouan Rigoudy
|
7008d6eee9
|
Move User struct to proto module.
|
7 years ago |
Titouan Rigoudy
|
de7025edc8
|
Implement ProtoDecode and ProtoEncode for peer messages.
|
7 years ago |
Titouan Rigoudy
|
38f6f0938a
|
Add PeerTransport.
|
7 years ago |
Titouan Rigoudy
|
1f94a399fc
|
Add ServerTransport.
|
7 years ago |
Titouan Rigoudy
|
13a4ff6fa5
|
Add proto::codec module with encoding and decoding for basic types.
|
8 years ago |
Titouan Rigoudy
|
2ad5f19850
|
Add basic communication with peers.
|
9 years ago |
Titouan Rigoudy
|
57950f7625
|
Move proto::Request/Response to proto::handler.
|
9 years ago |
Titouan Rigoudy
|
6949682662
|
Do not glob import proto::server in client.
|
9 years ago |
Titouan Rigoudy
|
c163a065c3
|
Move PacketStream to proto::stream.
|
9 years ago |
Titouan Rigoudy
|
0bd1485296
|
Split MutPacket out of Packet, add OutBuf.
|
9 years ago |
Titouan Rigoudy
|
648b99a3ca
|
Refactor proto::handler, add Agent.
|
9 years ago |
Titouan Rigoudy
|
16f10d1083
|
Move handler to proto module.
|
9 years ago |
Titouan Rigoudy
|
d59ac09ca0
|
Use ReadFromPacket and WriteToPacket traits to simplify packet I/O.
|
9 years ago |
Titouan Rigoudy
|
402e5a7619
|
Rename FromPacket to ReadFromPacket and move traits to packet.
|
9 years ago |
Titouan Rigoudy
|
e64240b124
|
Connect Controller to Client.
|
9 years ago |
Titouan Rigoudy
|
1177802dbe
|
Refactor ServerConnection to own stream.
|
9 years ago |
Titouan Rigoudy
|
353d926383
|
Refactor proto module.
|
9 years ago |
Titouan Rigoudy
|
c93e2675d0
|
Rename proto::message to proto::server.
|
9 years ago |
Titouan Rigoudy
|
b07fd93219
|
Refactor packet parsing/creating code.
|
9 years ago |