serde extensions for the http crate types
Allows serializing and deserializing the following types from http:
ResponseRequestHeaderMapStatusCodeUriMethodHeaderNameHeaderValueuri::AuthorityVersion- Generic
HeaderMap<T>where the item is not aHeaderValue
Allows serializing and deserializing the above types wrapped in the following std container types:
Installation
Run the following Cargo command in your project directory:
Or add the following line to your Cargo.toml:
= "0.1.2"
Usage
This library is intended to be used with serde's derive feature.
Fields should use the appropriate #[serde(with = "...")] annotation for that
type. Full examples are provided in each module section of the docs.
use *;
use *;
use ;
Acknowledgements
This crate is heavily inspired by Kornel's http-serde.