From 3f341aa11452b4dfe0b61af23efe9742a4d3f277 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 6 Dec 2023 11:36:20 -0600 Subject: disable feaatures on azalea-chat by default and fix disabling simdnbt feature --- azalea-chat/Cargo.toml | 2 +- azalea-chat/src/style.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea-chat') diff --git a/azalea-chat/Cargo.toml b/azalea-chat/Cargo.toml index 9610bd9b..5aaf7125 100644 --- a/azalea-chat/Cargo.toml +++ b/azalea-chat/Cargo.toml @@ -9,7 +9,7 @@ version = "0.9.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] -default = ["azalea-buf"] +default = [] azalea-buf = ["dep:azalea-buf", "simdnbt"] numbers = ["dep:azalea-registry", "dep:simdnbt"] simdnbt = ["dep:simdnbt"] diff --git a/azalea-chat/src/style.rs b/azalea-chat/src/style.rs index 43b74cbf..e04c1925 100755 --- a/azalea-chat/src/style.rs +++ b/azalea-chat/src/style.rs @@ -578,6 +578,7 @@ impl Style { } } +#[cfg(feature = "simdnbt")] impl simdnbt::Deserialize for Style { fn from_compound( compound: &simdnbt::borrow::NbtCompound, -- cgit v1.2.3