Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
H
http-serde
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
Kornel
http-serde
Compare revisions
v1.1.2 to v1.1.3
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
kornelski/http-serde
Select target project
No results found
v1.1.3
Select Git revision
Branches
master
Tags
v1.1.0
v1.1.2
v1.1.3
v2.0.0
v2.0.1
v2.1.0
v2.1.1
Swap
Target
kornelski/http-serde
Select target project
kornelski/http-serde
andrewhickman/http-serde
calavera/http-serde
glebpom/http-serde
jmagnuson/http-serde
Yannik_Sc/http-serde
andrewtoth1/http-serde
aschey/http-serde
claas.dev/http-serde
9 results
v1.1.2
Select Git revision
Branches
master
Tags
v1.1.0
v1.1.2
v1.1.3
v2.0.0
v2.0.1
v2.1.0
v2.1.1
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Documentation
· 27608031
Kornel
authored
1 year ago
27608031
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Cargo.toml
+2
-1
2 additions, 1 deletion
Cargo.toml
src/lib.rs
+2
-2
2 additions, 2 deletions
src/lib.rs
with
4 additions
and
3 deletions
Cargo.toml
View file @
27608031
[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"
]
This diff is collapsed.
Click to expand it.
src/lib.rs
View file @
27608031
...
...
@@ -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
};
...
...
This diff is collapsed.
Click to expand it.