Cargo Features
io-mux has no features set by default.
[dependencies]
io-mux = { version = "2.2.0", features = ["async", "experimental-unix-support", "test-portable"] }
- async = async-io
-
Enable the AsyncMux type
Affects
io-mux::AsyncMux
… - experimental-unix-support
-
Support building on non-Linux targets. See the portability notes in the documentation before enabling this.
- test-portable
-
Test the portable code path on Linux, to confirm that it compiles and runs.
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.