Update to url 2.0

This commit is contained in:
Simon Sapin 2019-07-16 15:10:21 +02:00
parent ff3f3d30c7
commit 9392180007
26 changed files with 74 additions and 355 deletions

View file

@ -14,15 +14,7 @@ pub enum ImmutableOrigin {
Opaque(OpaqueOrigin),
/// Consists of the URL's scheme, host and port
Tuple(
String,
#[serde(
deserialize_with = "url_serde::deserialize",
serialize_with = "url_serde::serialize"
)]
Host,
u16,
),
Tuple(String, Host, u16),
}
impl ImmutableOrigin {