12 releases (breaking)

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

#437 in Encoding

Download history 6/week @ 2024-01-01 36/week @ 2024-01-08 16/week @ 2024-01-15 20/week @ 2024-01-22 10/week @ 2024-01-29 16/week @ 2024-02-05 27/week @ 2024-02-12 38/week @ 2024-02-19 61/week @ 2024-02-26 59/week @ 2024-03-04 98/week @ 2024-03-11 310/week @ 2024-03-18 86/week @ 2024-03-25 173/week @ 2024-04-01 103/week @ 2024-04-08 496/week @ 2024-04-15

891 downloads per month
Used in 32 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