linenoise-rust 0.2.1

Simple binding to lib linenoise (readline-like) in rust. linenoise is included.
Documentation

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