Cargo Features

[dependencies]
sans-io-runtime = { version = "0.2.1", default-features = false, features = ["tun-tap", "udp", "polling-backend", "poll-backend"] }
default = poll-backend, polling-backend, udp

These default features are set whenever sans-io-runtime is added without default-features = false somewhere in the dependency tree.

tun-tap = tun

Affects backend::tun

udp default
polling-backend default = polling, socket2
poll-backend default = socket2

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.

polling polling-backend
socket2 poll-backend polling-backend
tun tun-tap?

Enables tun ^0.6