#header #typed #typed-headers

typed-headers

Typed HTTP header serialization and deserialization

3 unstable releases

0.2.0 Dec 6, 2019
0.1.1 Apr 15, 2019
0.1.0 Jun 22, 2018

#852 in Web programming

Download history 195/week @ 2024-12-25 910/week @ 2025-01-01 1846/week @ 2025-01-08 1705/week @ 2025-01-15 2414/week @ 2025-01-22 2553/week @ 2025-01-29 2970/week @ 2025-02-05 1779/week @ 2025-02-12 2343/week @ 2025-02-19 2720/week @ 2025-02-26 3040/week @ 2025-03-05 2263/week @ 2025-03-12 2271/week @ 2025-03-19 2696/week @ 2025-03-26 1699/week @ 2025-04-02 1869/week @ 2025-04-09

8,875 downloads per month
Used in 8 crates (3 directly)

MIT/Apache

50KB
1K SLoC

Typed HTTP header serialization and deserialization.

This crate is still in its early, experimental stages. It currently takes a fairly pedantic view of parsing, and tries to support exactly what's specified in the HTTP RFCs.

The HeaderMapExt extension trait provides new methods on the http::HeaderMap type to insert, retrieve, and remove headers in a typed manner.


typed-headers

CircleCI

Documentation

Typed HTTP header serialization and deserialization.

Dependencies

~2MB
~34K SLoC