Cargo Features

[dependencies]
wasmer-near = { version = "2.4.1", default-features = false, features = ["core", "sys", "sys-default", "compiler", "singlepass", "cranelift", "llvm", "default-compiler", "default-singlepass", "default-cranelift", "default-llvm", "engine", "universal", "default-engine", "default-universal", "experimental-reference-types-extern-ref"] }
default = sys-default

The sys-default feature is set by default whenever wasmer-near is added without default-features = false somewhere in the dependency tree.

std core
sys compiler? engine? experimental…types-extern-ref? sys-default

Features for sys.

sys-default default = default-singlepass, default-universal, sys, wat
compiler cranelift? llvm? singlepass? = sys

- Compilers.

Enables translator of wasmer-compiler-near, compiler of wasmer-engine-universal-near

singlepass default-singlepass? = compiler, wasmer-compiler-singlepass
cranelift default-cranelift? = compiler, wasmer-compiler-cranelift
llvm default-llvm? = compiler, wasmer-compiler-llvm
default-compiler default-cranelift? default-llvm? default-singlepass?
default-singlepass sys-default = default-compiler, singlepass
default-cranelift = cranelift, default-compiler
default-llvm = default-compiler, llvm
engine universal? = sys

- Engines.

universal default-universal? = engine, wasmer-engine-universal
default-engine default-universal?
default-universal sys-default = default-engine, universal
experimental-reference-types-extern-ref = sys

- Experimental / in-development features

Enables experimental…types-extern-ref of wasmer-types-near

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.

Shared dependencies.

wat sys-default

Enables wat

- Optional shared dependencies.

wasmer-compiler-cranelift not wasm32 cranelift?

Enables wasmer-compiler-cranelift ^2.1.0

wasmer-compiler-llvm not wasm32 llvm?

Enables wasmer-compiler-llvm ^2.1.0

wasmer-compiler-singlepass not wasm32 singlepass?

Enables wasmer-compiler-singlepass-near

wasmer-engine-universal not wasm32 compiler? universal?

Enables wasmer-engine-universal-near