Cargo Features

[dependencies]
wasmer-runtime-c-api = { version = "0.17.1", default-features = false, features = ["singlepass-backend", "cranelift-backend", "llvm-backend", "wasi", "emscripten"] }
default = cranelift-backend, wasi

These default features are set whenever wasmer-runtime-c-api is added without default-features = false somewhere in the dependency tree.

singlepass-backend

Enables default-backend-singlepass and singlepass of wasmer ^0.17.1

cranelift-backend default

Enables cranelift and default-backend-cranelift of wasmer ^0.17.1

llvm-backend

Enables default-backend-llvm and llvm of wasmer ^0.17.1

wasi default = wasmer-wasi
emscripten = wasmer-emscripten

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.

wasmer-emscripten emscripten?

Enables wasmer-emscripten ^0.17.1

wasmer-wasi wasi

Enables wasmer-wasi ^0.17.1