# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mcnbt" version = "2.0.0" authors = ["Jonas da Silva"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Read and write NBT" readme = "README.md" keywords = [ "minecraft", "nbt", "parser", ] categories = [] license = "MIT" repository = "https://github.com/phoenixr-codes/mcnbt" resolver = "2" [lib] name = "mcnbt" path = "src/lib.rs" [[bin]] name = "nbt" path = "src/cli.rs" required-features = [ "cli", "read", ] [[example]] name = "json" path = "examples/json.rs" required-features = ["serde"] [[example]] name = "read" path = "examples/read.rs" [[example]] name = "write" path = "examples/write.rs" [dependencies.clap] version = "4.4.7" optional = true [dependencies.nom] version = "7.1.3" optional = true [dependencies.num-traits] version = "0.2.17" [dependencies.residua-mutf8] version = "2.0.0" [dependencies.serde] version = "1.0.192" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.50" [dev-dependencies.serde_json] version = "1.0.108" features = ["preserve_order"] [features] cli = ["clap"] default = ["read"] read = ["nom"] serde = ["dep:serde"]