Cargo Features

[dependencies]
tio = { version = "0.1.0", default-features = false, features = ["full", "nightly", "async-rt", "timer", "net", "tcp", "udp", "uds", "event-loop", "docs"] }
default = async-rt

The async-rt feature is set by default whenever tio is added without default-features = false somewhere in the dependency tree.

full docs? = async-rt, net, timer
nightly
async-rt default full? = crossbeam-deque, crossbeam-queue, num_cpus
timer full? = futures-timer
net full? = tcp, udp, uds
tcp net? = event-loop

Enables tcp of mio ^0.7.0

udp net? = event-loop

Enables udp of mio ^0.7.0

uds net? = event-loop

Enables uds of mio ^0.7.0

Affects net::uds

event-loop tcp? udp? uds? = crossbeam-queue, mio, slab
docs = full

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.

num_cpus async-rt
crossbeam-deque async-rt

Enables crossbeam-deque ^0.7.3

crossbeam-queue async-rt event-loop?

Enables crossbeam-queue ^0.2.1

mio event-loop? tcp? udp? uds?

Enables mio ^0.7.0

slab event-loop?
futures-timer timer?