From b21ac946cafaacc9ee2478ea48ed9e72554f79ed Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:51:45 -0600 Subject: Merge AzaleaRead and AzaleaWrite (#305) --- azalea-buf/src/lib.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'azalea-buf/src/lib.rs') diff --git a/azalea-buf/src/lib.rs b/azalea-buf/src/lib.rs index 966b1372..d6eb9299 100644 --- a/azalea-buf/src/lib.rs +++ b/azalea-buf/src/lib.rs @@ -4,18 +4,16 @@ #![feature(error_generic_member_access)] mod definitions; -mod read; +pub mod impls; mod serializable_uuid; -mod write; pub use azalea_buf_macros::*; pub use definitions::*; -pub use read::{AzaleaRead, AzaleaReadLimited, AzaleaReadVar, BufReadError}; +pub use impls::*; pub use serializable_uuid::*; -pub use write::{AzaleaWrite, AzaleaWriteVar}; // const DEFAULT_NBT_QUOTA: u32 = 2097152; -const MAX_STRING_LENGTH: u16 = 32767; +const MAX_STRING_LENGTH: u32 = 32767; // const MAX_COMPONENT_STRING_LENGTH: u32 = 262144; #[cfg(test)] -- cgit v1.2.3