From c57c68ddf8cb9e4e8d27cf3e08f267a8a020c1c0 Mon Sep 17 00:00:00 2001 From: EightFactorial <29801334+EightFactorial@users.noreply.github.com> Date: Sat, 11 Mar 2023 14:00:10 -0800 Subject: Add RegistryHolder struct and serde features (#81) * Make RegistryHolder struct * Update deps * Move RegistryHolder to azalea-protocol * Convert bytes to bools and back * Rename and shuffle logic * Move logic into trait, rename methods * Final touchups * Ah, merge mistakes * Add serde support for ResourceLocation * Reuse structs * Error when serde skips values in debug mode Add missing attributes * Strict_registry feature, require packet feature * Add test * Move into packets * Docs and touchups * Reword docs * Move into module inside ClientboundLoginPacket * Add azalea-nbt serde feature * remove duplicate comment and type_ -> kind --------- Co-authored-by: mat --- azalea-auth/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-auth') diff --git a/azalea-auth/Cargo.toml b/azalea-auth/Cargo.toml index 65e6b9e6..0f2c7125 100644 --- a/azalea-auth/Cargo.toml +++ b/azalea-auth/Cargo.toml @@ -18,8 +18,8 @@ reqwest = { version = "0.11.12", default-features = false, features = [ "json", "rustls-tls", ] } -serde = { version = "1.0.145", features = ["derive"] } -serde_json = "1.0.86" +serde = { version = "1.0.152", features = ["derive"] } +serde_json = "1.0.93" thiserror = "1.0.37" tokio = { version = "1.24.2", features = ["fs"] } uuid = { version = "^1.1.2", features = ["serde"] } -- cgit v1.2.3