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

#26 in HTTP server

Download history 16912/week @ 2023-11-21 18906/week @ 2023-11-28 17879/week @ 2023-12-05 17312/week @ 2023-12-12 14673/week @ 2023-12-19 10386/week @ 2023-12-26 13760/week @ 2024-01-02 17397/week @ 2024-01-09 18084/week @ 2024-01-16 17278/week @ 2024-01-23 18510/week @ 2024-01-30 18870/week @ 2024-02-06 20806/week @ 2024-02-13 20222/week @ 2024-02-20 21067/week @ 2024-02-27 19906/week @ 2024-03-05

84,787 downloads per month
Used in 150 crates (25 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

~8–20MB
~284K SLoC