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

#19 in HTTP server

Download history 25064/week @ 2024-07-21 22404/week @ 2024-07-28 26948/week @ 2024-08-04 23763/week @ 2024-08-11 22966/week @ 2024-08-18 22218/week @ 2024-08-25 22137/week @ 2024-09-01 24523/week @ 2024-09-08 26798/week @ 2024-09-15 28789/week @ 2024-09-22 25745/week @ 2024-09-29 28858/week @ 2024-10-06 26265/week @ 2024-10-13 29179/week @ 2024-10-20 25917/week @ 2024-10-27 25156/week @ 2024-11-03

107,756 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–20MB
~271K SLoC