Skip to content
Snippets Groups Projects
Commit 27608031 authored by Kornel's avatar Kornel
Browse files

Documentation

parent 9c71250f
No related branches found
Tags v1.1.3
No related merge requests found
[package]
name = "http-serde"
version = "1.1.2"
version = "1.1.3"
authors = ["Kornel <kornel@geekhood.net>"]
edition = "2021"
description = "Serde support for the http crate. (De)serialize HeaderMap, Uri, Method, StatusCode"
......@@ -23,3 +23,4 @@ serde_cbor = "0.11.2"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]
......@@ -350,9 +350,9 @@ pub mod authority {
}
}
/// For `http::uri::Authority`
/// For `http::Version`
///
/// `#[serde(with = "http_serde::authority")]`
/// `#[serde(with = "http_serde::version")]`
pub mod version {
use http::Version;
use serde::de::{Unexpected, Visitor};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment