fastsnbt

Crates.iofastsnbt
lib.rsfastsnbt
version0.2.0
sourcesrc
created_at2023-05-16 07:16:46.6179
updated_at2023-09-23 10:11:29.039749
descriptionSerde deserializer for Minecraft's stringified NBT format
homepage
repositoryhttps://github.com/owengage/fastnbt
max_upload_size
id865844
size53,380
Owen Gage (owengage)

documentation

README

fastsnbt crate

Documentation: docs.rs

Fast serde deserializer and serializer for Minecraft: Java Edition's sNBT format.

Zero-copy is supported where possible through from_str.

See fastnbt's documentation for more information.

[dependencies]
fastsnbt = "2"

fastsnbt follows Semver, some things that this project does not count as a breaking change are:

  • Minimum Rust version change. Outside of corporate environments this should not be too difficult, and I don't see much need for sNBT in those environments.
  • Improving the (de)serializer such that valid sNBT that did not (de)serialize, then (de)serializes. Any of these cases I consider a bug.

Changes that make fastsnbt incompatible with WebAssembly are considered breaking changes.

NBT crate

fastsnbt tightly cooperates with fastnbt. It serves more as an extension to fastnbt than a standalone crate. For NBT types, Value etc. see fastnbt's docs here.

Commit count: 471

cargo fmt