An open API service indexing awesome lists of open source software.

https://github.com/pyk/rust-reader

A stream reader in Rust
https://github.com/pyk/rust-reader

Last synced: 10 months ago
JSON representation

A stream reader in Rust

Awesome Lists containing this project

README

          

# rust-reader
An implementation of stream reader in Rust programming language.

## Build

git clone https://github.com/pyk/rust-reader.git
cd rust-reader
cargo build

## Run

./target/debug/buffer_reader some.txt
./target/debug/buffer_line some.txt
./target/debug/buffer_bytes some.txt
./target/debug/buffer_token some.txt

## References

- [Trait std::io::Read](https://doc.rust-lang.org/std/io/trait.Read.html)
- [Struct std::io::BufReader](https://doc.rust-lang.org/std/io/struct.BufReader.html)
- [Struct std::io::Error](https://doc.rust-lang.org/std/io/struct.Error.html)