12 releases (breaking)

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

#1436 in Encoding

Download history 151/week @ 2024-07-20 222/week @ 2024-07-27 163/week @ 2024-08-03 198/week @ 2024-08-10 215/week @ 2024-08-17 184/week @ 2024-08-24 232/week @ 2024-08-31 286/week @ 2024-09-07 250/week @ 2024-09-14 214/week @ 2024-09-21 183/week @ 2024-09-28 102/week @ 2024-10-05 290/week @ 2024-10-12 285/week @ 2024-10-19 337/week @ 2024-10-26 336/week @ 2024-11-02

1,253 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