2 unstable releases

0.2.0 Aug 22, 2022
0.1.0 May 16, 2022

#1233 in Command-line interface

Download history 1/week @ 2024-12-10 12/week @ 2025-02-11 3/week @ 2025-02-18

194 downloads per month

MIT license

435KB
11K SLoC

Readline for Rust

This implementation is based on Antirez's Linenoise

Example

Usage

let mut rl = yatima_rustyline::Editor::<()>::new()?;
let readline = rl.readline(">> ");
match readline {
    Ok(line) => println!("Line: {:?}", line),
    Err(_) => println!("No input"),
}

yatima-rustyLine

Rustyline with Wasm support

This project was forked from rustyline (Copyright 2015 Katsu Kawakami & Rustyline authors)

Dependencies

~3–15MB
~188K SLoC