Package: rust-cookie-store / 0.8.0-1

fix-deps.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,7 +24,7 @@
 features = ["percent-encode"]
 
 [dependencies.idna]
-version = "0.1.5"
+version = "0.2"
 
 [dependencies.log]
 version = "0.4.6"
@@ -47,7 +47,7 @@
 version = "0.3.2"
 
 [dependencies.url]
-version = "1.7.2"
+version = "2"
 [dev-dependencies.env_logger]
 version = "0.6.0"
 
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -11,7 +11,7 @@
 mod utils;
 
 #[derive(Debug)]
-pub struct IdnaErrors(idna::uts46::Errors);
+pub struct IdnaErrors(idna::Errors);
 
 impl std::fmt::Display for IdnaErrors {
     fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
@@ -21,8 +21,8 @@
 
 impl std::error::Error for IdnaErrors {}
 
-impl From<idna::uts46::Errors> for IdnaErrors {
-    fn from(e: idna::uts46::Errors) -> Self {
+impl From<idna::Errors> for IdnaErrors {
+    fn from(e: idna::Errors) -> Self {
         IdnaErrors(e)
     }
 }