Registry / cli / rustyline

rustyline

JSON →
library18.0.0rscratesunverified

A readline implementation based on Antirez's Linenoise.

# Cargo.toml [dependencies] rustyline = "18.0.0"
INSTALL
IMPORT
SIG · RUSTYLINE
R
rustyline
clirustv18.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Editor
use rustyline::Editor;

Read a line of input with history and editing

use rustyline::Editor; let mut rl = Editor::<()>::new(); let readline = rl.readline("> "); match readline { Ok(line) => println!("You typed: {}", line), Err(_) => println!("No input"), }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
18.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources
rustyline — cargo add rustyline · libregistry