linenoise-rust

Crates.iolinenoise-rust
lib.rslinenoise-rust
version0.2.1
sourcesrc
created_at2014-12-13 23:17:17.598463
updated_at2018-03-05 09:27:43.758669
descriptionSimple binding to lib linenoise (readline-like) in rust. linenoise is included.
homepagehttps://github.com/octplane/rust-linenoise
repositoryhttps://github.com/octplane/rust-linenoise
max_upload_size
id549
size218,447
Pierre Baillet (octplane)

documentation

http://octplane.github.io/rust-linenoise/linenoise/index.html

README

Linenoise for rust

A minimal, zero-config, BSD licensed, readline replacement.

  • Original code from Antirez, cf antirez/linenoise.
  • Ported to rust by your humble servant.

How to add the dependency in Cargo

Add the following line to you project

linenoise-rust = "0.2.0"

Usage

Misc

Why is this library not named linenoise ?

The original linenoise library belongs to cmr/linenoise-rs for which I have sent some pull requests. However, I'm trying to maintain my own version as the stats tends to indicate my version is the de factor standard.

TODO

Contributors

Linenoise was also improved by these people. Thanks to them :)

  • Dan Spencer @nukep: Fixes for stable rust
  • Kalyanov Dmitry @dmitryvk: Memory Leak
  • Stacy Prowell: Support for history, using a custom version of linenoise
  • Chris Dawes @cmsd2: win32 and arango merge help
  • Bruno Ploumhans @Technici4n: fix build under MSVC
Commit count: 87

cargo fmt