Cargo Features
[dependencies]
tokio-stream = { version = "0.1.16", default-features = false, features = ["full", "time", "net", "io-util", "fs", "sync", "signal"] }
- default = time
-
The
time
feature is set by default whenevertokio-stream
is added without
somewhere in the dependency tree.default-features = false - full = fs, io-util, net, signal, sync, time
- time default full?
-
Affects
stream_ext::StreamExt.timeout
,stream_ext::StreamExt.timeout_repeating
,stream_ext::StreamExt.throttle
,stream_ext::StreamExt.chunks_timeout
… - net full?
- io-util full?
- fs full?
- sync full? = tokio-util
-
Enables tokio
- signal 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.