5 stable releases

2.3.4 Oct 10, 2023
2.3.3 Nov 21, 2021
2.3.2 Mar 3, 2021
2.3.0 Dec 18, 2020
0.0.0 Jun 1, 2019

#22 in HTTP server

Download history 22278/week @ 2024-08-13 23449/week @ 2024-08-20 20920/week @ 2024-08-27 23310/week @ 2024-09-03 25853/week @ 2024-09-10 25812/week @ 2024-09-17 29966/week @ 2024-09-24 25353/week @ 2024-10-01 27648/week @ 2024-10-08 28066/week @ 2024-10-15 27737/week @ 2024-10-22 25377/week @ 2024-10-29 23882/week @ 2024-11-05 21424/week @ 2024-11-12 21555/week @ 2024-11-19 17854/week @ 2024-11-26

89,176 downloads per month
Used in 154 crates (26 directly)

MIT/Apache

71KB
1.5K SLoC

async-h1

Asynchronous HTTP/1.1 parser.

Installation

$ cargo add async-h1

Safety

This crate uses #![forbid(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.

Minimum Supported Rust Version

Given the rapidly-improving nature of async Rust, async-h1 only guarantees it will work on the latest stable Rust compiler. Currently async-h1 compiles on rustc 1.40.0 and above, but we reserve the right to upgrade the minimum Rust version outside of major releases. If upgrading stable compiler versions is an issue we recommend pinning the version of async-h1.

Contributing

Want to join us? Check out our "Contributing" guide and take a look at some of these issues:

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~10–23MB
~283K SLoC