nom-bufreader 0.1.0

BufReader adapter for nom parsers
Documentation
1
2
3
4
5
6
7
8
9
# nom-bufreader, adapters for BufReader around nom

**/!\Work in progress, if you put it in production, you fix it/!\**

With this crate, you can assemble a nom parser with a [std::io::BufReader](https://doc.rust-lang.org/stable/std/io/struct.BufReader.html)
for synchronous IO, or a [futures::io::BufReader](https://docs.rs/futures/0.3.16/futures/io/struct.BufReader.html) for asynchronous IO.
It will hide for you the [Incomplete](https://docs.rs/nom/6.2.1/nom/enum.Err.html#variant.Incomplete) handling in nom for streaming parsers, retrying and refilling buffers automatically.

See the `examples/` directory for usage