Cargo Features

nbtrock has no features set by default.

[dependencies]
nbtrock = { version = "0.1.1", features = ["serde_rs", "wasm", "panic_hook"] }
serde_rs wasm? = serde
wasm panic_hook? = js-sys, serde-wasm-bindgen, serde_rs, wasm-bindgen, web-sys

Affects nbtrock::wasm

panic_hook = console_error_panic_hook, wasm

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde serde_rs?
wasm-bindgen wasm?
js-sys wasm?
web-sys wasm?
serde-wasm-bindgen wasm?

Enables serde-wasm-bindgen ^0.4

console_error_panic_hook panic_hook?