1 unstable release

Uses old Rust 2015

0.1.0 Aug 3, 2019

#15 in #poc

MPL-2.0 license

13KB
286 lines

async-readline

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.

Run the demo example:

cargo run --example readline

And you should see something like this:

async-readline

Dependencies

~8MB
~130K SLoC