12 releases (breaking)

0.8.0 Oct 9, 2023
0.6.1 Aug 10, 2023
0.4.0 Oct 30, 2022

#162 in Games

Download history 379/week @ 2024-12-21 696/week @ 2024-12-28 418/week @ 2025-01-04 217/week @ 2025-01-11 303/week @ 2025-01-18 184/week @ 2025-01-25 131/week @ 2025-02-01 213/week @ 2025-02-08 181/week @ 2025-02-15 144/week @ 2025-02-22 117/week @ 2025-03-01 216/week @ 2025-03-08 236/week @ 2025-03-15 113/week @ 2025-03-22 74/week @ 2025-03-29 96/week @ 2025-04-05

542 downloads per month
Used in 35 crates (9 directly)

MIT license

225KB
6K SLoC

valence_nbt

A library for encoding and decoding Minecraft's Named Binary Tag (NBT) format.

Features

  • binary: Adds support for serializing and deserializing in Java edition's binary format.
  • snbt: Adds support for serializing and deserializing in "stringified" format.
  • preserve_order: Causes the order of fields in Compounds to be preserved during insertion and deletion at a slight cost to performance. The iterators on Compound can then implement DoubleEndedIterator.
  • serde Adds support for serde

Dependencies

~0–420KB