reverse-lines 0.1.1

Rust Iterator for reading files line by line with a buffer in reverse
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented1 out of 4 items with examples
  • Size
  • Source code size: 12.13 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.07 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Elizafox/reverse_lines
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Elizafox

reverse_lines

This library provides a small Rust Iterator for reading files line by line with a buffer in reverse.

It is a rework of rev_lines.

Documentation

Documentation is available on Docs.rs.

Example

extern crate reverse_lines;

use reverse_lines::ReverseLines;

let file = File::open("/path/to/file").unwrap();
let mut reverse_lines = ReverseLines::new(file).unwrap();

for line in reverse_lines {
    println!("{}", line.unwrap());
}