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