12 releases (breaking)

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

#1610 in Encoding

Download history 213/week @ 2024-11-15 360/week @ 2024-11-22 368/week @ 2024-11-29 275/week @ 2024-12-06 325/week @ 2024-12-13 316/week @ 2024-12-20 775/week @ 2024-12-27 384/week @ 2025-01-03 256/week @ 2025-01-10 283/week @ 2025-01-17 210/week @ 2025-01-24 118/week @ 2025-01-31 211/week @ 2025-02-07 180/week @ 2025-02-14 170/week @ 2025-02-21 81/week @ 2025-02-28

663 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