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