12 releases (breaking)

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

#477 in Encoding

Download history 25/week @ 2023-12-10 28/week @ 2023-12-17 33/week @ 2023-12-24 3/week @ 2023-12-31 31/week @ 2024-01-07 24/week @ 2024-01-14 20/week @ 2024-01-21 8/week @ 2024-01-28 18/week @ 2024-02-04 26/week @ 2024-02-11 33/week @ 2024-02-18 67/week @ 2024-02-25 44/week @ 2024-03-03 91/week @ 2024-03-10 299/week @ 2024-03-17 116/week @ 2024-03-24

560 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–435KB