diff options
| author | mat <git@matdoes.dev> | 2023-12-06 11:36:20 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-12-06 11:36:25 -0600 |
| commit | 3f341aa11452b4dfe0b61af23efe9742a4d3f277 (patch) | |
| tree | fa7b9c061faf380ebe5a310416ec598c613c0d02 /azalea-chat | |
| parent | 1369848c82a519cb554db8e4d6ff6d414ed741f8 (diff) | |
| download | azalea-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.toml | 2 | ||||
| -rwxr-xr-x | azalea-chat/src/style.rs | 1 |
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, |
