aboutsummaryrefslogtreecommitdiff
path: root/azalea-chat
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-12-06 11:36:20 -0600
committermat <git@matdoes.dev>2023-12-06 11:36:25 -0600
commit3f341aa11452b4dfe0b61af23efe9742a4d3f277 (patch)
treefa7b9c061faf380ebe5a310416ec598c613c0d02 /azalea-chat
parent1369848c82a519cb554db8e4d6ff6d414ed741f8 (diff)
downloadazalea-drasl-3f341aa11452b4dfe0b61af23efe9742a4d3f277.tar.xz
disable feaatures on azalea-chat by default and fix disabling simdnbt feature
Diffstat (limited to 'azalea-chat')
-rw-r--r--azalea-chat/Cargo.toml2
-rwxr-xr-xazalea-chat/src/style.rs1
2 files changed, 2 insertions, 1 deletions
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,