Commit Graph

9 Commits (master)

Author SHA1 Message Date
James T. Martin ada29edd06
Upgrade to tokio 1.0, with request update, un-breaking auth. 2021-01-05 12:08:38 -08:00
James T. Martin 0a0b9c3c25
Upgrade to tokio 0.3. This breaks authentication because
reqwest does not support the tokio 0.3 runtime yet.
2020-12-02 12:24:57 -08:00
James T. Martin e107ab8284
Upgrade dependencies to latest major versions, except tokio.
This upgrade excludes tokio 0.3 because reqwest is not yet compatible with tokio 0.3;
see https://github.com/seanmonstar/reqwest/issues/1060.
2020-12-02 12:20:08 -08:00
James T. Martin 389bafe89d
Massively improve low-level packet stream interface.
Also, now PacketStream (whose previous version was Connection)
should now, in theory (untested) support client connections to servers.
2020-07-26 23:56:02 -07:00
James T. Martin 5aa93b97d0
Overhaul GitHub workflow: fmt, lint, check, and build.
* Run a check for every target and feature combination.
* Build natively for every target.
2020-07-26 16:01:29 -07:00
James T. Martin 60c9a48293
Got encryption working! It's ugly, but it works. Cleanup tomorrow. 2020-07-26 02:05:49 -07:00
James T. Martin 3701b59a11
Added support for compressed packets.
I also had to bring packet serialization/deserialization
back out of PacketFormat so that I could make it a trait object
in the connection (before it was generic over PacketMap).
However, now that Connection abstracts over PacketFormat,
it actually reduced code duplication to do so.

I also reorganized the hierarchy a bit, moving packet formats
under the connection module and most other things under the
protocol module.
2020-07-25 12:20:01 -07:00
James T. Martin d32118db4f
Begin work on improving network packet abstractions.
* Packet header/stream stuff is now defined by a PacketFormat.
* Actual packet serialization/deserialization is handled by
  PacketSerializer/PacketDeserializer.
* The end API is still awkaward, so more work is needed.
2020-07-24 11:16:37 -07:00
James T. Martin 172796420a
The server successfully responds to status pings. 2020-07-23 23:32:46 -07:00