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

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.

log std
anyhow wasmtime?