Cargo Features
Expectrl has no features set by default.
[dependencies]
expectrl = { version = "0.7.1", features = ["polling", "async"] }
- polling
-
"pooling" feature works only for not async version
Enables crossbeam-channel and polling ^2.3.0
- async = async-io, blocking, futures-lite, futures-timer
-
Affects
process::IntoAsyncStream
,unix::AsyncPtyStream
,windows::AsyncProcessStream
,repl::spawn_bash
,repl::spawn_python
,repl::spawn_powershell
,session::log
…
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.
- futures-lite async?
-
Enables futures-lite ^1.12.0
- futures-timer async?
- async-io unix async?
-
Enables async-io ^1.9.0
- blocking win async?