Initialize Minecraft text generator project with basic structure and CLI functionality

This commit is contained in:
2026-03-23 00:56:19 +01:00
commit 55d730d542
20 changed files with 900 additions and 0 deletions

13
crates/lib/src/error.rs Normal file
View File

@@ -0,0 +1,13 @@
use thiserror::Error;
#[derive(Debug, Error)]
pub enum VoxelError {
#[error("coordinates ({x}, {y}, {z}) out of bounds")]
OutOfBounds { x: u32, y: u32, z: u32 },
}
#[derive(Debug, Error)]
pub enum FontError {
#[error("failed to parse TTF font data: invalid format")]
InvalidTtf,
}