# 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 = "nbtrock" version = "0.1.1" authors = ["lxhzzy@outlook.com"] description = "Read And Write Bedrock NBT" homepage = "https://github.com/lxhzzy06/nbtrock" readme = "README.md" keywords = [ "Minecraft", "Bedrock", "NBT", ] categories = ["encoding"] license = "MIT" repository = "https://github.com/lxhzzy06/nbtrock" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.byteorder] version = "1.4.3" [dependencies.console_error_panic_hook] version = "0.1.7" optional = true [dependencies.js-sys] version = "0.3.6" optional = true [dependencies.ritelinked] version = "0.3.2" features = ["serde"] [dependencies.serde] version = "1.0.173" features = ["derive"] optional = true [dependencies.serde-wasm-bindgen] version = "0.4" optional = true [dependencies.thiserror] version = "1.0.43" [dependencies.wasm-bindgen] version = "0.2.8" optional = true [dependencies.web-sys] version = "0.3.6" optional = true [features] default = [] panic_hook = [ "wasm", "console_error_panic_hook", ] serde_rs = ["serde"] wasm = [ "wasm-bindgen", "js-sys", "web-sys", "serde_rs", "serde-wasm-bindgen", ] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.0"