async-tty

Crates.ioasync-tty
lib.rsasync-tty
version0.1.2
created_at2025-04-04 10:37:51.785213+00
updated_at2025-04-04 10:48:16.926327+00
descriptionAn asynchronous TTY library for Rust
homepage
repositoryhttps://github.com/joshka/async-tty
max_upload_size
id1619770
size30,432
Josh McKinney (joshka)

documentation

https://docs.rs/async-tty

README

async-tty crate

A prototype fully asynchronous TTY library for Rust.

Other libraries that do async IO on the TTY have some compromises:

  • tokio's stdio wraps blocking IO with a thread and shouldn't be used for interactive apps
  • termion is unix only
  • crossterm is fairly complex due to having to support windows APIs and having a bunch of abstractions over the TTY events

This library aims to keep things simple. It will not support Windows 7, so does not need to support the Windows console APIs.

Status: experimental, not ready for production use.

Commit count: 8

cargo fmt