Cargo Features
[dependencies]
gadget-io = { version = "0.0.2", default-features = false, features = ["std", "wasm-bindgen", "typescript"] }
- default = std
-
The
std
feature is set by default whenevergadget-io
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables parity-scale-codec, sc-keystore, and scale-info, sp-keystore, structopt, and tokio, std of sp-application-crypto, std of tracing
Affects
gadget-io::log
… - wasm-bindgen typescript?
-
Enables js-sys, serde-wasm-bindgen, wasm-bindgen, wasm-bindgen-futures, and wasmtimer
js-sys:
WASM
Affects
gadget-io::into_js_error
… - typescript = wasm-bindgen
-
Enables tsify