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 whenever gadget-io is added without default-features = false somewhere in the dependency tree.

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