12 releases (breaking)

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

#173 in Game dev

Download history 80/week @ 2023-11-06 89/week @ 2023-11-13 138/week @ 2023-11-20 90/week @ 2023-11-27 83/week @ 2023-12-04 96/week @ 2023-12-11 82/week @ 2023-12-18 107/week @ 2023-12-25 48/week @ 2024-01-01 97/week @ 2024-01-08 59/week @ 2024-01-15 76/week @ 2024-01-22 72/week @ 2024-01-29 60/week @ 2024-02-05 129/week @ 2024-02-12 286/week @ 2024-02-19

547 downloads per month
Used in 17 crates (8 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–425KB