File: cleanup-deps.patch

package info (click to toggle)
rust-sequoia-openpgp 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,608 kB
  • sloc: sh: 6; makefile: 2
file content (125 lines) | stat: -rw-r--r-- 2,424 bytes parent folder | 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
Index: sequoia-openpgp/Cargo.toml
===================================================================
--- sequoia-openpgp.orig/Cargo.toml
+++ sequoia-openpgp/Cargo.toml
@@ -319,13 +319,13 @@ features = ["std"]
 optional = true
 default-features = false
 
-[dependencies.ed25519-dalek]
-version = "2"
-features = [
-    "rand_core",
-    "zeroize",
-]
-optional = true
+#[dependencies.ed25519-dalek]
+#version = "2"
+#features = [
+#    "rand_core",
+#    "zeroize",
+#]
+#optional = true
 
 [dependencies.flate2]
 version = "1.0.1"
@@ -341,7 +341,7 @@ features = ["zeroize"]
 optional = true
 
 [dependencies.idna]
-version = ">= 1.0.3, < 2"
+version = ">= 0.4"
 
 [dependencies.lalrpop-util]
 version = "0.20"
@@ -396,13 +396,13 @@ features = [
 ]
 optional = true
 
-[dependencies.p521]
-version = "0.13"
-features = [
-    "ecdh",
-    "ecdsa",
-]
-optional = true
+#[dependencies.p521]
+#version = "0.13"
+#features = [
+#    "ecdh",
+#    "ecdsa",
+#]
+#optional = true
 
 [dependencies.rand]
 version = "0.8"
@@ -424,9 +424,9 @@ version = "0.1"
 features = ["oid"]
 optional = true
 
-[dependencies.rsa]
-version = "0.9.0"
-optional = true
+#[dependencies.rsa]
+#version = "0.9.0"
+#optional = true
 
 [dependencies.sha1collisiondetection]
 version = "0.3.1"
@@ -455,14 +455,14 @@ optional = true
 version = "1.12.0"
 optional = true
 
-[dependencies.x25519-dalek]
-version = "2"
-features = [
-    "static_secrets",
-    "zeroize",
-]
-optional = true
-default-features = false
+#[dependencies.x25519-dalek]
+#version = "2"
+#features = [
+#    "static_secrets",
+#    "zeroize",
+#]
+#optional = true
+#default-features = false
 
 [dependencies.xxhash-rust]
 version = "0.8"
@@ -491,33 +491,6 @@ version = "7.0"
 version = "0.20"
 default-features = false
 
-[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.chrono]
-version = "0.4.10"
-features = [
-    "std",
-    "wasmbind",
-    "clock",
-]
-default-features = false
-
-[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
-version = "0.2"
-features = ["js"]
-
-[target."cfg(windows)".dependencies.win-crypto-ng]
-version = "0.5.1"
-features = [
-    "rand",
-    "block-cipher",
-]
-optional = true
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.8"
-features = ["bcrypt"]
-optional = true
-default-features = false
-
 [lints.rust.unexpected_cfgs]
 level = "warn"
 priority = 0