WASM plugins, scripting, i18n, GUI pan/zoom, cargo-dist CI/CD

- WASM plugin host (wasmtime 46, 17 host fns) + example noisemap plugin
- Rhai scripting engine (12 API fns, `terrafier run` cmd)
- i18n: en/ru translations, auto-detect, t! macro
- GUI: pan (click-drag) + zoom (scroll wheel) with viewport transform
- cargo-dist 0.31: MSI/pkg/shell installers, both binaries
- CI: .github/workflows/ci.yml + release.yml
- Security: wasmtime 30→46, bincode 1.3→2.0, quick-xml CVE docs
- Code review: SAFETY comments, unwrap→match cleanup
- Fixes: clippy approx_constant, needless_borrows, rustfmt
This commit is contained in:
loki5512344 2026-07-04 11:14:47 +02:00
parent bdd4564240
commit 18613260a8
100 changed files with 4262 additions and 585 deletions

View file

@ -3,7 +3,7 @@
pub mod read;
pub mod write;
pub use read::reader;
pub use read::read_tag;
pub use write::writer;
pub use read::reader;
pub use write::write_tag;
pub use write::writer;

View file

@ -1,2 +1,2 @@
pub mod reader;
pub mod read_tag;
pub mod reader;

View file

@ -1,8 +1,8 @@
use std::collections::HashMap;
use std::io::Read;
use crate::tag::Tag;
use super::reader::{NbtReader, ReadError, Result};
use crate::tag::Tag;
impl<R: Read> NbtReader<R> {
pub(crate) fn read_tag_payload(&mut self, tag_type: u8) -> Result<Tag> {

View file

@ -1,2 +1,2 @@
pub mod writer;
pub mod write_tag;
pub mod writer;

View file

@ -1,7 +1,7 @@
use std::io::Write;
use super::writer::{NbtWriter, Result, WriteError};
use crate::tag::Tag;
use super::writer::{NbtWriter, WriteError, Result};
impl<W: Write> NbtWriter<W> {
pub(crate) fn write_tag(&mut self, tag: &Tag, name: Option<&str>) -> Result<()> {