Cargo Features

[dependencies]
gadget-io = { version = "0.0.5", 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 sp-keystore ^0.37.0 and tokio, clap, parity-scale-codec, sc-keystore ^28.0.0, and scale-info, std of sp-application-crypto ^33.0.0, std of tracing

Affects gadget-io::log

wasm-bindgen typescript?

Enables js-sys, serde-wasm-bindgen, wasm-bindgen, wasm-bindgen-futures, and wasmtimer ^0.2

js-sys:

WASM

Affects gadget-io::into_js_error

typescript = wasm-bindgen

Enables tsify