https://github.com/valence-rs/valence_nbt
Valence's NBT library, extracted from https://github.com/valence-rs/valence/pull/599
https://github.com/valence-rs/valence_nbt
Last synced: 2 months ago
JSON representation
Valence's NBT library, extracted from https://github.com/valence-rs/valence/pull/599
- Host: GitHub
- URL: https://github.com/valence-rs/valence_nbt
- Owner: valence-rs
- License: mit
- Created: 2024-05-02T13:03:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-05T03:32:58.000Z (about 1 year ago)
- Last Synced: 2024-05-05T04:25:41.681Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 71.3 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# valence_nbt
A library for encoding and decoding Minecraft's [Named Binary Tag] (NBT)
format.[Named Binary Tag]: https://minecraft.wiki/w/NBT_format
# Features
- `binary`: Serialize and deserialize in Java edition's binary format.
- `snbt`: Serialize and deserialize in "stringified" format.
- `preserve_order`: Preserve the order of fields in `Compound`s during insertion and deletion. The iterators on `Compound` then implement `DoubleEndedIterator`.
- `serde`: Adds support for [`serde`](https://docs.rs/serde/latest/serde/)
- `java_string`: Adds support for Java-compatible strings via the `java_string` crate.