Cargo Features
io-streams has no features set by default.
[dependencies]
io-streams = { version = "0.16.3", features = ["use_socketpair", "use_char_device", "use_async_std", "use_tokio", "layered-io", "terminal-io", "utf8-io"] }
- use_socketpair = socketpair
-
Enables system-interface, socketpair of duplex
- use_char_device = char-device
-
Enables char-device of duplex and system-interface
- use_async_std = async-std
- use_tokio = tokio
-
Enables tokio of io-lifetimes
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.
- async-std use_async_std?
- char-device use_char_device?
- layered-io implicit feature
-
Enables layered-io
layered-io:
I/O traits extending Read and Write
- socketpair use_socketpair?
-
Affects
async_std::HalfDuplexReadReady
,streams::HalfDuplexReadReady
,tokio::HalfDuplexReadReady
… - terminal-io implicit feature
-
Enables terminal-io
terminal-io:
Utilities for reading and writing on terminals
- tokio use_tokio?
- utf8-io implicit feature
-
Enables utf8-io
utf8-io:
Traits and types for UTF-8 I/O