Cargo Features
[dependencies]
wasmer-wasix = { version = "0.31.0", default-features = false, features = ["time", "ctrlc", "webc_runner_rt_wcgi", "webc_runner_rt_dcgi", "webc_runner_rt_dproxy", "sys", "sys-default", "sys-poll", "extra-logging", "sys-thread", "journal", "compiler", "js", "js-default", "test-js", "host-vnet", "host-threads", "host-reqwest", "host-fs", "remote-vnet", "logging", "disable-all-logging", "enable-serde", "rayon"] }
- default = sys-default
-
The
sys-default
feature is set by default wheneverwasmer-wasix
is added without
somewhere in the dependency tree.default-features = false - time sys?
-
Enables tokio
- ctrlc sys-default
- webc_runner_rt_wcgi webc_runner_rt_dcgi? = http-body-util, hyper, hyper-util, tower, tower-http, wcgi, wcgi-host
-
Affects
runners::wcgi
… - webc_runner_rt_dcgi = journal, webc_runner_rt_wcgi
-
Affects
runners::dcgi
… - webc_runner_rt_dproxy = http-body-util, hyper, hyper-util, journal, tower, tower-http
-
Affects
runners::dproxy
… - sys sys-default = time
-
Enables sys of virtual-mio and mmap of webc
webc:
No longer used
- sys-default default = ctrlc, host-fs, host-reqwest, host-threads, host-vnet, journal, logging, sys, sys-poll, sys-thread
- sys-poll sys-default
- extra-logging
- sys-thread sys-default = rusty_pool
-
Enables rt-multi-thread of tokio
Affects
task_manager::tokio
… - journal sys-default webc_runner_rt_dcgi? webc_runner_rt_dproxy?
-
Enables fs of tokio, log-file of wasmer-journal
Affects
process::WasiProcessInner.snapshot_on
,process::WasiProcessInner.snapshot_memory_hash
,runtime::Runtime.journals
,runtime::Runtime.active_journal
,runtime::PluggableRuntime.journals
,env::WasiEnvInit.snapshot_on
,maybe_snapshot::maybe_snapshot
,maybe_snapshot_many::maybe_snapshot_many
,maybe_snapshot_once::maybe_snapshot_once
,restore_snapshot::restore_snapshot
,utils::map_snapshot_err
… - compiler
-
Deprecated. Kept it for compatibility
- js js-default? test-js? = chrono, js-sys, wasm-bindgen, wasm-bindgen-futures, web-sys
-
Enables no-time of virtual-fs and js of getrandom
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
- js-default = js
- test-js = js
-
Enables wasmer
- host-vnet sys-default
-
Enables host-net of virtual-net
- host-threads sys-default
- host-reqwest sys-default = reqwest
-
Affects
http::reqwest
… - host-fs sys-default
-
Enables host-fs of virtual-fs
- remote-vnet
-
Enables remote of virtual-net
- logging sys-default
- disable-all-logging
-
Enables max_level_off and release_max_level_off of tracing
- enable-serde = typetag
-
Enables wasmer-wasix-types, enable-serde of virtual-fs
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.
- hyper webc_runner_rt_dproxy? webc_runner_rt_wcgi?
- rusty_pool sys-thread?
- typetag enable-serde?
-
Enables typetag ^0.1
- chrono js?
- wcgi webc_runner_rt_wcgi?
-
Enables wcgi ^0.2.0
Used by the WCGI runner
- wcgi-host webc_runner_rt_wcgi?
-
Enables wcgi-host ^0.2.0
- tower-http webc_runner_rt_dproxy? webc_runner_rt_wcgi?
-
Enables tower-http ^0.5.0
- tower webc_runner_rt_dproxy? webc_runner_rt_wcgi?
-
Enables tower ^0.4.13
- rayon implicit feature
-
Enables rayon
rayon:
Simple work-stealing parallelism for Rust
- wasm-bindgen js?
- js-sys js?
- wasm-bindgen-futures js?
- web-sys js?
- hyper-util webc_runner_rt_dproxy? webc_runner_rt_wcgi?
- http-body-util webc_runner_rt_dproxy? webc_runner_rt_wcgi?
- reqwest riscv64 loongarch64 not riscv64 loongarch64 host-reqwest?