Daniel Akhterov
|
2cce6fba01
|
Rename and merge crate as a package
|
2019-07-26 15:27:55 -07:00 |
|
Daniel Akhterov
|
6114f39cb6
|
Update parameters to serialization
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
1dd2efc000
|
Use ConnContext for tests instead of establishing an real connection
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
7eee44cdc2
|
Fix tests
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
05024dbd0a
|
Fix result set decoding OkPacket instead of EofPacket at the end of the transaction
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
47598bbcd6
|
WIP: Resultset test without connection
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
50d9c39a07
|
Use Bytes::slice instead of Bytes::from for string/byte decoding
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
d3101d611d
|
WIP: Move deserializing resultset code into resultset function
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
70bca63fcd
|
Got a result set!!!
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
6e282ee33b
|
Use DeContext and remove resultset as a packet
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
4cfb1d46a1
|
WIP: DeContext
|
2019-07-26 15:14:50 -07:00 |
|
Daniel Akhterov
|
3d5590c6c9
|
Fix tests because they rely on Connection now
|
2019-07-26 15:13:53 -07:00 |
|
Daniel Akhterov
|
bf1f236c64
|
Clean up decoder and deserialization
|
2019-07-26 15:13:53 -07:00 |
|
Daniel Akhterov
|
567e9fa816
|
Fix decoding tests
|
2019-07-26 15:13:53 -07:00 |
|
Daniel Akhterov
|
b20c120d87
|
Add connection to serialization
|
2019-07-26 15:13:53 -07:00 |
|
Daniel Akhterov
|
a203177c90
|
Fmt and fix encoder
|
2019-07-26 15:13:53 -07:00 |
|
Daniel Akhterov
|
298600002b
|
Encoder
|
2019-07-26 15:13:53 -07:00 |
|
Daniel Akhterov
|
812983b0e7
|
Move client packets
|
2019-07-26 15:13:53 -07:00 |
|
Daniel Akhterov
|
a576114fe3
|
Refactor
|
2019-07-26 15:13:53 -07:00 |
|
Daniel Akhterov
|
7c765469aa
|
Implement decoder
|
2019-07-26 15:11:32 -07:00 |
|
Daniel Akhterov
|
32a53e678a
|
WIP: Lifetimes :(
|
2019-07-26 15:11:32 -07:00 |
|
Daniel Akhterov
|
8a1b9a89fd
|
WIP: ResultSet
|
2019-07-26 15:11:32 -07:00 |
|
Daniel Akhterov
|
163e154073
|
WIP benchmarking
|
2019-07-26 15:11:32 -07:00 |
|
Daniel Akhterov
|
a50c2805ba
|
Fix warnings
|
2019-07-26 15:11:32 -07:00 |
|
Daniel Akhterov
|
b787fa8475
|
rustfmt and optimze ComPing
|
2019-07-26 15:11:32 -07:00 |
|
Daniel Akhterov
|
8dcd113517
|
Remove receiver
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
f107f1de6c
|
Establish connection and ping server
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
f2e0b0e904
|
Fix deserialization tests
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
bc144b83bf
|
Fix serialization with BytesMut
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
27a46f1202
|
WIP: Use BytesMut for serialization
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
653ead0322
|
WIP: Cleanup serializations
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
3679593f63
|
Established connection!
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
89b89eaec7
|
WIP: Got Packets out of order Response
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
80143b945a
|
WIP: Use bytes/bytesmut instead of vec<u8>
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
3af0dc08d5
|
Update client messages to use serialization functions
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
eb3cd5f4ee
|
Serialization length
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
a018e81f08
|
Serialization tests
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
8ea28f36e5
|
WIP: Handshake
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
3a07e393e8
|
Connection Established!
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
2a2941e1a5
|
WIP: establish test
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
e4f04283e6
|
Add errpacket test
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
d224dc2f99
|
Add error codes enum
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
d401f63a3e
|
Add okpacket test
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
1bab7806ef
|
Add field types and field details bitflags
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
efe8a4cad0
|
Test initial handshake struct fields
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
0bcd4336d1
|
Inital handshake packet test
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
a11241f6c5
|
Add rest of deserialization tests
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
51d890adaa
|
Deserialization tests
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
92ff441d42
|
No side effect deserialization -> side effects
|
2019-07-26 15:10:50 -07:00 |
|
Daniel Akhterov
|
17c86ed3ec
|
WIP
|
2019-07-26 15:10:50 -07:00 |
|