| Crates.io | nucleation |
| lib.rs | nucleation |
| version | 0.1.72 |
| created_at | 2025-05-15 19:09:56.587209+00 |
| updated_at | 2025-07-20 11:21:36.599553+00 |
| description | A high-performance Minecraft schematic parser and utility library |
| homepage | |
| repository | https://github.com/Schem-at/Nucleation |
| max_upload_size | |
| id | 1675556 |
| size | 17,917,370 |
Nucleation is a high-performance Minecraft schematic engine written in Rust — with full support for Rust, WebAssembly/JavaScript, Python, and FFI-based integrations like PHP and C.
Built for performance, portability, and parity across ecosystems.
.schematic, .litematic, .nbt, etc.pip install nucleation)cargo add nucleation
npm install nucleation
pip install nucleation
Download prebuilt .so / .dylib / .dll from Releases
or build locally using:
./build-ffi.sh
use nucleation::UniversalSchematic;
let bytes = std::fs::read("example.litematic")?;
let mut schematic = UniversalSchematic::new("my_schematic");
schematic.load_from_data(&bytes)?;
println!("{:?}", schematic.get_info());
import { SchematicParser } from "nucleation";
const bytes = await fetch("example.litematic").then(r => r.arrayBuffer());
const parser = new SchematicParser();
await parser.fromData(new Uint8Array(bytes));
console.log(parser.getDimensions());
from nucleation import Schematic
with open("example.litematic", "rb") as f:
data = f.read()
schem = Schematic("my_schematic")
schem.load_from_bytes(data)
print(schem.get_info())
📖 → More in examples/python.md
#include "nucleation.h"
SchematicHandle* handle = schematic_new("MySchem");
schematic_load_data(handle, data_ptr, data_len);
CSchematicInfo info;
schematic_get_info(handle, &info);
printf("Size: %dx%dx%d\n", info.width, info.height, info.depth);
schematic_free(handle);
# Build the Rust core
cargo build --release
# Build WASM module
./build-wasm.sh
# Build Python bindings locally
maturin develop --features python
# Build FFI libs
./build-ffi.sh
Licensed under the GNU AGPL-3.0-only.
See LICENSE for full terms.
Made by @Nano112 with ❤️