diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-08-10 18:55:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-10 18:55:23 -0500 |
| commit | 7120842f9d2c659a2f12d8922299c2a761bc5582 (patch) | |
| tree | 0d7976ceec82d914e4c75f23adcdd5839f9960a4 /azalea-core/src/resource_location.rs | |
| parent | 3b659833c1ad4cca89b4cd553193edcb6d223163 (diff) | |
| download | azalea-drasl-7120842f9d2c659a2f12d8922299c2a761bc5582.tar.xz | |
Send correct data component checksums (#234)
* start implementing data component crc32 hashes
* start doing serde impls for checksums
* make more components hashable
* make all data components serializable
* support recursive components
* fix simdnbt dep
* update changelog
* clippy
Diffstat (limited to 'azalea-core/src/resource_location.rs')
| -rw-r--r-- | azalea-core/src/resource_location.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/azalea-core/src/resource_location.rs b/azalea-core/src/resource_location.rs index c6e39150..1591f678 100644 --- a/azalea-core/src/resource_location.rs +++ b/azalea-core/src/resource_location.rs @@ -7,7 +7,6 @@ use std::{ }; use azalea_buf::{AzaleaRead, AzaleaWrite, BufReadError}; -#[cfg(feature = "serde")] use serde::{Deserialize, Deserializer, Serialize, Serializer, de}; use simdnbt::{FromNbtTag, ToNbtTag, owned::NbtTag}; @@ -77,7 +76,6 @@ impl AzaleaWrite for ResourceLocation { } } -#[cfg(feature = "serde")] impl Serialize for ResourceLocation { fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where @@ -87,7 +85,6 @@ impl Serialize for ResourceLocation { } } -#[cfg(feature = "serde")] impl<'de> Deserialize<'de> for ResourceLocation { fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where |
