Cargo Features

valence_nbt has no features set by default.

[dependencies]
valence_nbt = { version = "0.8.0", features = ["binary", "java_string", "snbt", "preserve_order", "serde", "uuid", "valence_ident"] }
binary

Enables byteorder and cesu8

Affects valence_nbt::binary

java_string

Enables java_string

snbt

Affects valence_nbt::snbt

preserve_order

When enabled, the order of fields in compounds are preserved.

Enables indexmap

serde

Enables serde and thiserror, serde of optional indexmap

Affects valence_nbt::serde

Features from optional dependencies

uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

valence_ident implicit feature

Enables valence_ident

valence_ident:

Parse and create Minecraft's resource locations