mirror of https://github.com/zyllian/classics.git synced 2025-05-10 06:46:39 -07:00

read exact size of packets, fixing networking buf

This commit is contained in:
Zoey 2024-04-21 22:24:10 -07:00
parent a06626e8cb
commit 87cf17665d
No known key found for this signature in database
GPG key ID: 8611B896D1AAFAF2
5 changed files with 109 additions and 102 deletions

View file

@ -4,11 +4,13 @@ name = "classics"
version = "0.1.0"
[dependencies]
bytes = "1.6.0"
flate2 = "1"
half = "2"
internment = { version = "0.8", features = ["serde"] }
parking_lot = "0.12.1"
rand = "0.8"
safer-bytes = "0.2"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
tokio = {version = "1", features = ["full"]}