rev_lines

Crates.iorev_lines
lib.rsrev_lines
version0.3.0
sourcesrc
created_at2017-02-01 01:04:06.47064
updated_at2023-06-22 00:10:27.557406
descriptionRust Iterator for reading files line by line with a buffer in reverse
homepage
repositoryhttps://github.com/mikeycgto/rev_lines
max_upload_size
id8329
size40,425
Michael Coyne (mjc-gh)

documentation

https://docs.rs/rev_lines

README

rev_lines

rev-lines MIT licensed crates.io

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

Documentation

Documentation is available on Docs.rs.

Example

use std::fs::File;

use rev_lines::RevLines;

let file = File::open("README.md").unwrap();
let rev_lines = RevLines::new(file);

for line in rev_lines {
    println!("{:?}", line);
}
Commit count: 51

cargo fmt