hematite-nbt
cargo install hematite-nbt

hematite-nbt

A full-featured Rust crate for working with Minecraft's Named Binary Tag (NBT) file format, including Serde support.

by PistonDevelopers

0.5.0 (see all)License:MIT
cargo install hematite-nbt
Readme

hematite_nbt hematite_nbt at crates.io hematite_nbt at docs.rs Build Status

This repository contains the Hematite project's standalone nbt crate for working with Minecraft's Named Binary Tag (NBT) format.

This is not the only NBT-related crate available, but it has some notable features:

  • Full support for serializing and deserializing types via Serde. This means that you can read and write the NBT binary format of any struct annotated with the standard #[derive(Serialize, Deserialize)] traits (provided it actually has a valid NBT representation).
  • An API that attempts to differentiate between complete and partial NBT objects via nbt::Blob and nbt::Value. Only complete objects can be serialized.
  • Support for the TAG_Long_Array data introduced in Minecraft 1.12.
  • Support for the modified UTF-8 encoding used by the vanilla Minecraft client.

License

Licensed under the terms of the MIT license.

GitHub Stars

58

LAST COMMIT

1yr ago

MAINTAINERS

4

CONTRIBUTORS

15

OPEN ISSUES

8

OPEN PRs

5
VersionTagPublished
0.5.0
2yrs ago
0.4.1
3yrs ago
0.4.0
4yrs ago
0.3.0
5yrs ago
No alternatives found
No tutorials found
Add a tutorial