12 releases (breaking)

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

#1463 in Encoding

Download history 186/week @ 2024-08-05 187/week @ 2024-08-12 223/week @ 2024-08-19 265/week @ 2024-08-26 129/week @ 2024-09-02 347/week @ 2024-09-09 218/week @ 2024-09-16 205/week @ 2024-09-23 186/week @ 2024-09-30 72/week @ 2024-10-07 330/week @ 2024-10-14 285/week @ 2024-10-21 351/week @ 2024-10-28 321/week @ 2024-11-04 184/week @ 2024-11-11 323/week @ 2024-11-18

1,206 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–415KB