Crates.io | async-readline |
lib.rs | async-readline |
version | 0.1.0 |
source | src |
created_at | 2019-08-03 06:25:11.597698 |
updated_at | 2019-08-03 06:25:11.597698 |
description | An asynchronous readline-like interface |
homepage | |
repository | |
max_upload_size | |
id | 153929 |
size | 34,631 |
Asynchronous readline-like interface.
This is a PoC library implementing a CLI interface that supports asynchronous command editing and terminal output. In other words: user can keep editing the input while the terminal output can be added at the same time.
Everything is asynchronous and reactive to stdio. No additional threads are involved.
It's implemented in Rust, and on top of Rust's futures and tokio library.
cargo run --example readline
And you should see something like this: