Streaming HTTP parser for Rust, based on nodejs/http-parser
MIT License
Rust wrapper for NodeJS http-parser library.
It's intended to be used as an HTTP/1.x protocol handler in Rust-based web servers.
Why not write a brand new HTTP parser from scratch in Rust or just use an existing crate such as httparse?
Here's why:
Add the library to your Cargo.toml
dependencies section:
[dependencies]
http-muncher = "0.3"
Or, for the edge version:
[dependencies]
http-muncher = {git = "https://github.com/nbaksalyar/rust-streaming-http-parser"}
You can find usage example in examples/parser.rs (run it by executing cargo run --example parser
) and in the library tests.
You can find API docs here.
The MIT License (MIT)
Copyright (c) 2015 Nikita Baksalyar <[email protected]>