Cargo Features

[dependencies]
mio_wasi = { version = "0.8.9", default-features = false, features = ["os-poll", "os-ext", "net", "wasmedge", "log"] }

For documentation of features see the mio::features module.

default = log, net, os-poll, wasmedge

By default Mio only provides a shell implementation.

os-poll default os-ext?

Enables the Poll and Registry types.

os-ext = os-poll

Enables additional OS specific extensions, e.g. Unix pipe(2).

Enables Win32_Security and Win32_System_Pipes of windows-sys ^0.48

Affects mio_wasi::unix, mio_wasi::windows

net default

Enables mio::net module containing networking primitives.

wasmedge default = wasmedge_wasi_socket

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.

log default
wasmedge_wasi_socket wasi wasmedge