12 releases

new 0.2.9 Jan 4, 2025
0.2.8 Dec 20, 2024
0.2.7 Sep 22, 2024
0.2.5 Jul 13, 2024
0.2.1 Mar 31, 2024

#1083 in HTTP server

Download history 173/week @ 2024-09-18 35/week @ 2024-09-25 10/week @ 2024-10-02 3/week @ 2024-10-09 2/week @ 2024-11-06 6/week @ 2024-12-04 8/week @ 2024-12-11 121/week @ 2024-12-18 2/week @ 2024-12-25 132/week @ 2025-01-01

269 downloads per month
Used in zip_static_handler

MIT license

63KB
1.5K SLoC

min_http11_parser  LICENSE crates.io Version Documentation

let mut reader = BufReader::new(reader);
let mut buffer = vec![];
let (method, path, known_headers, _other_headers) = Parser::default()
    .parse_request_line_and_headers( & mut reader, & mut buffer)
    .await?;

Dependencies

~2.9–9MB
~76K SLoC