Terrafier/core/src/lib.rs
loki5512344 18613260a8 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
2026-07-04 11:14:47 +02:00

21 lines
619 B
Rust
Executable file

//! Terrafier Core — world model, I/O, operations.
//!
//! The core library provides the data model (World, Dimension, Tile, Terrain),
//! Minecraft save import/export, editing operations, and height map generation.
pub mod coords;
pub mod io;
pub mod model;
pub mod ops;
pub mod plugins;
// Re-export key types for convenience
pub use coords::{BlockCoords, ChunkCoords, RegionCoords, TileCoords};
pub use io::export;
pub use io::import;
pub use model::dimension::Dimension;
pub use model::tile::Tile;
pub use model::types::{Platform, Terrain};
pub use model::world::World;
pub use terrafier_biome_db as biome_db;