Cargo Features
[dependencies]
gp-wasm-interface = { version = "18.0.0-pre.1", default-features = false, features = ["std", "wasmtime", "wasmi"] }
- default = std
-
The
std
feature is set by default whenevergp-wasm-interface
is added without
somewhere in the dependency tree.default-features = false - std default = wasmtime
-
Enables std of parity-scale-codec, log, gp-allocator, and sp-std ^12.0.0
Affects
lib::Result
,lib::MaybeRefUnwindSafe
,gp-wasm-interface::Result
,gp-wasm-interface::MaybeRefUnwindSafe
,lib::WasmTy
,gp-wasm-interface::WasmTy
… - wasmtime std = anyhow
-
Enables wasmtime ^8.0.1
Affects
lib::WasmTy
,gp-wasm-interface::WasmTy
… - wasmi
-
Enables wasmi of sp-wasm-interface-common
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.