From 9e09df18376d58a976cc3dbbf53a48277c428a08 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 11 Nov 2022 19:24:45 -0600 Subject: [PATCH] make some stuff in azalea-protocol public --- azalea-protocol/src/connect.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/azalea-protocol/src/connect.rs b/azalea-protocol/src/connect.rs index a873a4a0..e903b820 100644 --- a/azalea-protocol/src/connect.rs +++ b/azalea-protocol/src/connect.rs @@ -23,18 +23,18 @@ use uuid::Uuid; /// The read half of a connection. pub struct ReadConnection { - read_stream: OwnedReadHalf, - buffer: BytesMut, - compression_threshold: Option, - dec_cipher: Option, + pub read_stream: OwnedReadHalf, + pub buffer: BytesMut, + pub compression_threshold: Option, + pub dec_cipher: Option, _reading: PhantomData, } /// The write half of a connection. pub struct WriteConnection { - write_stream: OwnedWriteHalf, - compression_threshold: Option, - enc_cipher: Option, + pub write_stream: OwnedWriteHalf, + pub compression_threshold: Option, + pub enc_cipher: Option, _writing: PhantomData, }