aboutsummaryrefslogtreecommitdiff
path: root/azalea-buf
diff options
context:
space:
mode:
authorveronoicc <64193056+veronoicc@users.noreply.github.com>2024-05-14 23:59:36 +0200
committerGitHub <noreply@github.com>2024-05-14 16:59:36 -0500
commit892869ad1249e238eb9228d57bd9884793a9fe75 (patch)
tree57d6bdc810b6d5989fbdc6a9ed171c2fd51b5455 /azalea-buf
parentb00106b7ff18c2d1fc5b751227616f5bf1f3495c (diff)
downloadazalea-drasl-892869ad1249e238eb9228d57bd9884793a9fe75.tar.xz
Update simdnbt dep (#148)
* Update simdnbt dep * Fix not compiling (rust analyzer is still yapping, i trust you cargo check) * Update simdnbt to 0.5.2 * finally everything works :prayge:
Diffstat (limited to 'azalea-buf')
-rw-r--r--azalea-buf/Cargo.toml2
-rwxr-xr-xazalea-buf/src/read.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea-buf/Cargo.toml b/azalea-buf/Cargo.toml
index 8095e6ac..f7909b29 100644
--- a/azalea-buf/Cargo.toml
+++ b/azalea-buf/Cargo.toml
@@ -9,7 +9,7 @@ version = "0.10.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-simdnbt = { version = "0.4", git = "https://github.com/azalea-rs/simdnbt" }
+simdnbt = { version = "0.5", git = "https://github.com/azalea-rs/simdnbt" }
azalea-buf-macros = { path = "./azalea-buf-macros", version = "0.10.0" }
byteorder = "^1.5.0"
tracing = "0.1.40"
diff --git a/azalea-buf/src/read.rs b/azalea-buf/src/read.rs
index b3352a80..40889c64 100755
--- a/azalea-buf/src/read.rs
+++ b/azalea-buf/src/read.rs
@@ -359,7 +359,7 @@ impl McBufReadable for simdnbt::owned::NbtCompound {
impl McBufReadable for simdnbt::owned::Nbt {
fn read_from(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError> {
- Ok(simdnbt::owned::Nbt::read_unnamed(buf)?)
+ Ok(simdnbt::owned::read_unnamed(buf)?)
}
}