chore: add pumpkin_macros::translate_cross! macro

validates translations at compile time, also update bedrock translations to latest 26.40.5
This commit is contained in:
Alexander Medvedev
2026-08-10 18:11:00 +02:00
parent 366c9cb323
commit 1ee7be3f8c
46 changed files with 42552 additions and 1144 deletions

View File

@@ -27,5 +27,10 @@ syn = { version = "3.0", features = ["full", "extra-traits"] }
pumpkin-util = { path = "../../crates/pumpkin-util", features = ["codegen"] }
pumpkin-nbt = { path = "../../crates/pumpkin-nbt" }
[lints]
workspace = true
[lints.clippy]
expect_used = "allow"
unwrap_used = "allow"
panic = "allow"
indexing_slicing = "allow"
pedantic = { level = "allow", priority = -1 }
all = { level = "allow", priority = -1 }