resource: update block type code generator for Rust

This commit is contained in:
Matthias Schiffer 2023-02-07 22:09:14 +01:00
parent 6379472282
commit 718ecf5909
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
6 changed files with 6399 additions and 12 deletions

21
Cargo.lock generated
View file

@ -102,6 +102,26 @@ version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
[[package]]
name = "enumflags2"
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e75d4cd21b95383444831539909fbb14b9dc3fdceb2a6f5d36577329a1f55ccb"
dependencies = [
"enumflags2_derive",
]
[[package]]
name = "enumflags2_derive"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f58dc3c5e468259f19f2d46304a6b28f1c3d034442e14b322d2b850e36f6d5ae"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "errno"
version = "0.2.8"
@ -210,6 +230,7 @@ dependencies = [
"anyhow",
"bytemuck",
"clap",
"enumflags2",
"fastnbt",
"flate2",
"itertools",