Cargo Features

iroh-io = { version = "0.4.0", default-features = false, features = ["x-http", "tokio-io", "stats", "tokio-util"] }

x- features are experimental and have no expectation of API stability whatsoever. Use at your own risk.

default = tokio-io

The tokio-io feature is set by default whenever iroh-io is added without default-features = false somewhere in the dependency tree.

x-http = reqwest
tokio-io default = smallvec, tokio

Affects iroh-io::stats

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

reqwest x-http?
smallvec tokio-io
tokio tokio-io
tokio-util implicit feature

Enables tokio-util


Additional utilities for working with Tokio