12 releases (breaking)

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

#1184 in Encoding

Download history 134/week @ 2024-03-13 288/week @ 2024-03-20 105/week @ 2024-03-27 147/week @ 2024-04-03 114/week @ 2024-04-10 510/week @ 2024-04-17 199/week @ 2024-04-24 128/week @ 2024-05-01 155/week @ 2024-05-08 181/week @ 2024-05-15 163/week @ 2024-05-22 211/week @ 2024-05-29 137/week @ 2024-06-05 172/week @ 2024-06-12 201/week @ 2024-06-19 165/week @ 2024-06-26

693 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