Cargo Features
[dependencies]
wasmer-cli = { version = "5.0.3", default-features = false, features = ["journal", "fuse", "backend", "coredump", "sys", "v8", "wamr", "wasmi", "jsc", "wast", "host-net", "wat", "compiler", "wasmer-artifact-create", "static-artifact-create", "wasmer-artifact-load", "static-artifact-load", "singlepass", "cranelift", "llvm", "disable-all-logging", "headless", "headless-minimal", "telemetry", "enable-serde", "interfaces", "mio", "tokio-tungstenite", "mac_address"] }
- default = journal, static-artifact-create, sys, wasmer-artifact-create, wast, wat
-
Don't add the compiler features in default, please add them on the Makefile since we might want to autoconfigure them depending on the availability on the host.
- journal default
-
Tun-tap client for connecting to Wasmer Edge VPNs
tun-tap = [ "dep:tun-tap", "virtual-net/tokio-tungstenite", "tokio-tungstenite", "mio", "mac_address", "dep:interfaces", ]
Enables journal of wasmer-wasix
Affects
wasi::Wasi.journals
,wasi::Wasi.enable_compaction
,wasi::Wasi.without_compact_on_drop
,wasi::Wasi.with_compact_on_growth
,wasi::Wasi.snapshot_on
,wasi::Wasi.snapshot_interval
… - fuse
-
Enables fuser ^0.14.0, rkyv, shared-buffer, and time ^0.1.45
shared-buffer:
Used by the mount command
- backend compiler? jsc? v8? wamr? wasmi?
-
Required by the wasmer binary
- coredump = wasm-coredump-builder
- sys default = compiler, wasmer-vm
- v8 = backend
-
Repo-local dependencies.
- wamr = backend
- wasmi = backend
- jsc = backend
- wast default = wasmer-wast
- host-net
-
Enables host-net of virtual-net
- wat default
- compiler cranelift? llvm? singlepass? static-artifact-create static-artifact-load? sys wasmer-artifact-create wasmer-artifact-load? = backend
-
Enables compiler of wasmer, translator of wasmer-compiler
Affects
store::CompilerOptions
… - wasmer-artifact-create default = compiler
-
Enables wasmer-artifact-create and wasmer-artifact-load of wasmer and wasmer-compiler
- static-artifact-create default = compiler
-
Enables static-artifact-create and static-artifact-load of wasmer and wasmer-compiler
- wasmer-artifact-load = compiler
-
Enables wasmer-artifact-load of wasmer and wasmer-compiler
- static-artifact-load = compiler
-
Enables static-artifact-load of wasmer and wasmer-compiler
- singlepass = compiler, wasmer-compiler-singlepass
- cranelift = compiler, wasmer-compiler-cranelift
- llvm = compiler, wasmer-compiler-llvm
- disable-all-logging headless-minimal?
-
Enables release_max_level_off of log, disable-all-logging of wasmer-wasix
- headless headless-minimal?
-
Required by the wasmer-headless binary
- headless-minimal = disable-all-logging, headless
- telemetry
- enable-serde
-
Optional
Enables enable-serde of wasmer, wasmer-compiler, wasmer-vm, and wasmer-wasix
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-compiler compiler? enable-serde? static-artifact-create static-artifact-load? wasmer-artifact-create wasmer-artifact-load?
- wasmer-compiler-cranelift cranelift?
- wasmer-compiler-singlepass singlepass?
- wasmer-compiler-llvm llvm?
- wasmer-vm enable-serde? sys
- wasmer-wast wast
- wasm-coredump-builder coredump?
-
Enables wasm-coredump-builder ^0.1.11
- interfaces implicit feature
-
Enables interfaces
interfaces:
A Rust library for interacting with network interfaces
- mio implicit feature
-
Enables mio
mio:
Lightweight non-blocking I/O
- tokio-tungstenite implicit feature
-
Enables tokio-tungstenite ^0.21.0
tokio-tungstenite:
Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation
- mac_address implicit feature
-
Enables mac_address
mac_address:
Cross-platform retrieval of a network interface MAC address