Cargo Features

Udev has no features set by default.

[dependencies]
udev = { version = "0.9.1", features = ["mio", "hwdb", "mio06", "mio07", "mio08"] }
mio = mio10

mio feature defaults to the newest mio version

hwdb

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.

mio06 implicit feature

Enables mio ^0.6.21

mio:

Lightweight non-blocking I/O

mio07 implicit feature

Enables mio ^0.7

mio08 implicit feature

Enables mio ^0.8

mio10 mio?

Enables mio