Cargo Features

[dependencies]
iroh-io = { version = "0.6.1", 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
stats

Affects iroh-io::stats

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.

reqwest x-http?

Enables reqwest ^0.11

smallvec tokio-io
tokio tokio-io
tokio-util implicit feature

Enables tokio-util

tokio-util:

Additional utilities for working with Tokio