From 567c6f4f2c39976d170111b816806453636f8241 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 1 May 2022 21:54:03 -0500 Subject: Reduce usage of AsyncRead We already receive everything from the server when it tells us the length, so we can actually just treat the stream as a Read instead of an AsyncRead. --- azalea-protocol/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-protocol/Cargo.toml') diff --git a/azalea-protocol/Cargo.toml b/azalea-protocol/Cargo.toml index 9ebcd9d7..899b44a8 100755 --- a/azalea-protocol/Cargo.toml +++ b/azalea-protocol/Cargo.toml @@ -8,7 +8,6 @@ version = "0.1.0" [dependencies] async-compression = {version = "^0.3.8", features = ["tokio", "zlib"]} async-recursion = "^0.3.2" -async-trait = "0.1.51" azalea-auth = {path = "../azalea-auth"} azalea-brigadier = {path = "../azalea-brigadier"} azalea-chat = {path = "../azalea-chat"} @@ -17,6 +16,7 @@ azalea-crypto = {path = "../azalea-crypto"} azalea-nbt = {path = "../azalea-nbt"} byteorder = "^1.4.3" bytes = "^1.1.0" +flate2 = "1.0.23" num-derive = "^0.3.3" num-traits = "^0.2.14" packet-macros = {path = "./packet-macros"} -- cgit v1.2.3