16 unstable releases (5 breaking)

0.7.2 Dec 11, 2025
0.7.1 Nov 18, 2025
0.7.0 Sep 22, 2025
0.6.1 Jun 19, 2025
0.2.2 Nov 30, 2022

#472 in Web programming

Download history 1704/week @ 2025-09-29 860/week @ 2025-10-06 787/week @ 2025-10-13 1249/week @ 2025-10-20 1049/week @ 2025-10-27 1109/week @ 2025-11-03 778/week @ 2025-11-10 1097/week @ 2025-11-17 775/week @ 2025-11-24 913/week @ 2025-12-01 1142/week @ 2025-12-08 1113/week @ 2025-12-15 550/week @ 2025-12-22 702/week @ 2025-12-29 1398/week @ 2026-01-05 3414/week @ 2026-01-12

6,106 downloads per month
Used in 6 crates (4 directly)

MIT/Apache

78KB
2K SLoC

Binary HTTP Messages

This is a rust implementation of Binary HTTP Messages.

Using

The API documentation is currently sparse, but the API is fairly small and descriptive.

The bhttp crate has the following features:

  • read-bhttp enables parsing of binary HTTP messages. This is enabled by default.

  • write-bhttp enables writing of binary HTTP messages. This is enabled by default.

  • read-http enables a simple HTTP/1.1 message parser. This parser is fairly basic and is not recommended for production use. Getting an HTTP/1.1 parser right is a massive enterprise; this one only does the basics. This is disabled by default.

  • write-http enables writing of HTTP/1.1 messages. This is disabled by default.

Dependencies

~0.2–1.2MB
~23K SLoC