anvil_nbt/
lib.rs

1// Copyright 2026 driedpampas@proton.me
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#![cfg_attr(docsrs, feature(doc_cfg))]
5
6//! # anvil-nbt
7//!
8//! A Rust library for parsing and encoding Minecraft's NBT and Anvil (.mca) formats.
9//!
10//! This library provides efficient, safe, and bit-perfect handling of Minecraft world data.
11//! Key features include:
12//! - Full NBT support (including Modified UTF-8)
13//! - Optional `serde` support for serializing Rust types to NBT (via `serde` feature)
14//! - Lazy-loading Anvil region files with memory mapping
15//! - High-performance manual parsing (removed `nom` overhead)
16//! - Idempotent round-trips for both NBT and Anvil data
17
18pub mod anvil;
19pub mod nbt;