Skip to content

Commit fd042c1

Browse files
committed
use simdnbt 0.3
1 parent 22ad0e9 commit fd042c1

File tree

12 files changed

+17
-13
lines changed

12 files changed

+17
-13
lines changed

Cargo.lock

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

azalea-buf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tracing = "0.1.40"
1515
serde_json = { version = "^1.0", optional = true }
1616
thiserror = "1.0.50"
1717
uuid = "^1.5.0"
18-
simdnbt = { version = "0.2.1", path = "../../simdnbt/simdnbt" }
18+
simdnbt = "0.3"
1919

2020
[features]
2121
serde_json = ["dep:serde_json"]

azalea-chat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ azalea-buf = { path = "../azalea-buf", features = [
1919
"serde_json",
2020
], version = "^0.8.0", optional = true }
2121
azalea-language = { path = "../azalea-language", version = "0.8.0" }
22-
simdnbt = { version = "0.2.1", optional = true, path = "../../simdnbt/simdnbt" }
22+
simdnbt = { version = "0.3", optional = true }
2323
tracing = "0.1.40"
2424
once_cell = "1.18.0"
2525
serde = { version = "^1.0", features = ["derive"] }

azalea-chat/src/component.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ impl simdnbt::FromNbtTag for FormattedText {
362362
// Don't know how to turn 'nbt' into a FormattedText
363363
return None;
364364
};
365-
let _separator = FormattedText::parse_separator_nbt(&compound)?;
365+
let _separator = FormattedText::parse_separator_nbt(compound)?;
366366

367367
let _interpret = match compound.get("interpret") {
368368
Some(v) => v.byte().unwrap_or_default() != 0,

azalea-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ anyhow = "1.0.75"
1414
async-trait = "0.1.74"
1515
azalea-auth = { path = "../azalea-auth", version = "0.8.0" }
1616
azalea-block = { path = "../azalea-block", version = "0.8.0" }
17-
simdnbt = { version = "0.2.1", path = "../../simdnbt/simdnbt" }
17+
simdnbt = "0.3"
1818
azalea-chat = { path = "../azalea-chat", version = "0.8.0" }
1919
azalea-core = { path = "../azalea-core", version = "0.8.0" }
2020
azalea-crypto = { path = "../azalea-crypto", version = "0.8.0" }

azalea-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version = "0.8.0"
1111
[dependencies]
1212
azalea-buf = { path = "../azalea-buf", version = "0.8.0" }
1313
azalea-inventory = { version = "0.8.0", path = "../azalea-inventory" }
14-
simdnbt = { version = "0.2.1", path = "../../simdnbt/simdnbt" }
14+
simdnbt = "0.3"
1515
azalea-registry = { path = "../azalea-registry", version = "0.8.0" }
1616
bevy_ecs = { version = "0.12.0", default-features = false, optional = true }
1717
nohash-hasher = "0.2.0"

azalea-core/src/registry_holder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl McBufReadable for RegistryHolder {
6464
.compound()
6565
.ok_or_else(|| BufReadError::Custom("RegistryHolder must be a compound".to_string()))?;
6666
Ok(RegistryHolder {
67-
map: simdnbt::Deserialize::from_compound(&nbt_compound)?,
67+
map: simdnbt::Deserialize::from_compound(nbt_compound)?,
6868
})
6969
}
7070
}

azalea-entity/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ azalea-buf = { version = "0.8.0", path = "../azalea-buf" }
1414
azalea-chat = { version = "0.8.0", path = "../azalea-chat" }
1515
azalea-core = { version = "0.8.0", path = "../azalea-core" }
1616
azalea-inventory = { version = "0.8.0", path = "../azalea-inventory" }
17-
simdnbt = { version = "0.2.1", path = "../../simdnbt/simdnbt" }
17+
simdnbt = "0.3"
1818
azalea-registry = { version = "0.8.0", path = "../azalea-registry" }
1919
azalea-world = { version = "0.8.0", path = "../azalea-world" }
2020
bevy_app = "0.12.0"

azalea-inventory/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ version = "0.8.0"
1111
[dependencies]
1212
azalea-buf = { version = "0.8.0", path = "../azalea-buf" }
1313
azalea-inventory-macros = { version = "0.8.0", path = "./azalea-inventory-macros" }
14-
simdnbt = { version = "0.2.1", path = "../../simdnbt/simdnbt" }
14+
simdnbt = "0.3"
1515
azalea-registry = { version = "0.8.0", path = "../azalea-registry" }

azalea-protocol/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ azalea-core = { path = "../azalea-core", optional = true, version = "^0.8.0", fe
2929
azalea-crypto = { path = "../azalea-crypto", version = "0.8.0" }
3030
azalea-entity = { version = "0.8.0", path = "../azalea-entity" }
3131
azalea-inventory = { version = "0.8.0", path = "../azalea-inventory" }
32-
simdnbt = { version = "0.2.1", path = "../../simdnbt/simdnbt" }
32+
simdnbt = "0.3"
3333
azalea-protocol-macros = { path = "./azalea-protocol-macros", version = "0.8.0" }
3434
azalea-registry = { path = "../azalea-registry", version = "0.8.0" }
3535
azalea-world = { path = "../azalea-world", version = "0.8.0" }

azalea-registry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ version = "0.8.0"
1212
azalea-buf = { path = "../azalea-buf", version = "0.8.0" }
1313
azalea-registry-macros = { path = "./azalea-registry-macros", version = "0.8.0" }
1414
once_cell = "1.18.0"
15-
simdnbt = { version = "0.2.1", path = "../../simdnbt/simdnbt" }
15+
simdnbt = "0.3"
1616

1717
[features]
1818
serde = ["azalea-registry-macros/serde"]

azalea-world/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ azalea-core = { path = "../azalea-core", version = "^0.8.0", features = [
1515
"bevy_ecs",
1616
] }
1717
azalea-inventory = { version = "0.8.0", path = "../azalea-inventory" }
18-
simdnbt = { version = "0.2.1", path = "../../simdnbt/simdnbt" }
18+
simdnbt = "0.3"
1919
azalea-registry = { path = "../azalea-registry", version = "0.8.0" }
2020
bevy_ecs = "0.12.0"
2121
derive_more = { version = "0.99.17", features = ["deref", "deref_mut"] }

0 commit comments

Comments
 (0)