Skip to content

bedrock-crustaceans/nbtx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbtx

License Rust

A high-performance, pure-Rust implementation of the Named Binary Tag (NBT) format, specifically tailored for Minecraft Bedrock Edition but including support for Java Edition. Part of the bedrock-crustaceans ecosystem.


🚀 Features

  • Bedrock Optimized: Full support for Little Endian and Varint encoding used in Bedrock.
  • Memory Efficient: Optimized for low-allocation parsing and high-speed serialization.
  • Unstructed Data: Support for NBT data with no predefined structure.
  • Serde Integration: Optional serde support for easy mapping between Rust structs and NBT.
  • Strictly Typed: Safe handling of Compound, List, and Byte Array tags.

📦 Installation

Add this to your Cargo.toml:

[dependencies]
nbtx = "3.0"

and then start deserialising with nbtx. Or take a look at any of the other examples

Contributing

We welcome contributions of all kinds, including bug fixes, new features, docs updates, and improvements across crates.
Please read the full contribution guide here: CONTRIBUTING.md

For guidance or collaboration, connect with the community on Discord.

License

This project is licensed under the Apache License 2.0. See the LICENSE for the details.

About

NBT implementation in pure Rust

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages