[package] name = "valence_nbt" description = "A library for Minecraft's Named Binary Tag (NBT) format." documentation = "https://docs.rs/valence_nbt/" repository = "https://github.com/valence-rs/valence/tree/main/crates/valence_nbt" readme = "README.md" license.workspace = true keywords = ["nbt", "minecraft", "serialization"] version = "0.5.0" edition.workspace = true [features] binary = ["dep:byteorder", "dep:cesu8"] snbt = [] # When enabled, the order of fields in compounds are preserved. preserve_order = ["dep:indexmap"] serde = ["dep:serde", "dep:thiserror", "indexmap?/serde"] [dependencies] byteorder = { workspace = true, optional = true } cesu8 = { workspace = true, optional = true } indexmap = { workspace = true, optional = true } serde = { workspace = true, features = ["derive"], optional = true } thiserror = { workspace = true, optional = true } uuid = { workspace = true, optional = true } [dev-dependencies] pretty_assertions.workspace = true serde_json.workspace = true