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 wheneveriroh-io
is added without
somewhere in the dependency tree.default-features = false - 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