Cargo Features

[dependencies]
sp-wasm-interface = { version = "21.0.1", default-features = false, features = ["std", "wasmtime"] }
default = std

The std feature is set by default whenever sp-wasm-interface is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional anyhow, parity-scale-codec, and log

Affects sp-wasm-interface::Result, sp-wasm-interface::MaybeRefUnwindSafe, sp-wasm-interface::WasmTy

wasmtime = anyhow

Enables wasmtime ^8.0.1

Affects sp-wasm-interface::WasmTy

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?