Cargo Features

mio = { version = "0.8.10", default-features = false, features = ["os-poll", "os-ext", "net", "log"] }

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

default = log

By default Mio only provides a shell implementation.

os-poll os-ext?

Enables the Poll and Registry types.

os-ext = os-poll

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

Enables Win32_System_Pipes and Win32_Security of windows-sys ^0.48

Affects mio::unix, mio::windows


Enables mio::net module containing networking primitives.

Features from optional dependencies

log default