Merge ~juliank/ubuntu/+source/rust-sequoia-sqv:ubuntu/devel into ubuntu/+source/rust-sequoia-sqv:ubuntu/devel
- Git
- lp:~juliank/ubuntu/+source/rust-sequoia-sqv
- ubuntu/devel
- Merge into ubuntu/devel
Status: | Needs review |
---|---|
Proposed branch: | ~juliank/ubuntu/+source/rust-sequoia-sqv:ubuntu/devel |
Merge into: | ubuntu/+source/rust-sequoia-sqv:ubuntu/devel |
Diff against target: |
1414 lines (+1361/-16) 4 files modified
debian/control (+2/-13) debian/patches/remove-dependencies.patch (+1303/-0) debian/patches/series (+1/-1) debian/rules (+55/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lukas Märdian (community) | Needs Fixing | ||
git-ubuntu import | Pending | ||
Review via email:
|
Commit message
Description of the change
Vendorize the dependencies. We deviate from the previous progress here that removes unused crates to simply emptying them, like cargo-vendor-
- d84750a... by Julian Andres Klode
-
Use cargo-vendor-
filterer directly I just packed it, hooray
Unmerged commits
- d84750a... by Julian Andres Klode
-
Use cargo-vendor-
filterer directly I just packed it, hooray
- 600a48a... by Julian Andres Klode
-
Vendor the crates
Instead of the previous approach of deleting the unwanted crates and
then patching all the other crates to remove the dependencies on them,
we simply empty the crates, similar to `cargo-vendor- filterer` , this
way we can save all the patching :)The list of unwanted crates can be calculated by running
debian/rules vendor-filterer
Assuming you have `cargo-
vendor- filterer` installed. Our patching is slightly different when it comes to custom build
scripts and links: We don't patch Cargo.toml to remove them, instead
we simply create an empty build.rs which is sufficient.Remove relax-deps.patch from the series as we do not need to relax
the deps when vendoring crates. - c56da13... by Julian Andres Klode
-
d/p/remove-
dependencies. patch: Remove unused crypto backends This avoids `cargo vendor` even downloading them
Preview Diff
1 | diff --git a/debian/control b/debian/control | |||
2 | index 6c38562..2029532 100644 | |||
3 | --- a/debian/control | |||
4 | +++ b/debian/control | |||
5 | @@ -5,19 +5,7 @@ Build-Depends: debhelper-compat (= 13), | |||
6 | 5 | dh-sequence-cargo, | 5 | dh-sequence-cargo, |
7 | 6 | cargo:native, | 6 | cargo:native, |
8 | 7 | rustc:native (>= 1.70), | 7 | rustc:native (>= 1.70), |
22 | 8 | libstd-rust-dev, | 8 | libssl-dev, |
10 | 9 | librust-anyhow-1+default-dev (>= 1.0.18-~~), | ||
11 | 10 | librust-chrono-0.4+default-dev (>= 0.4.10-~~), | ||
12 | 11 | librust-clap-4+default-dev, | ||
13 | 12 | librust-clap-4+derive-dev, | ||
14 | 13 | librust-clap-4+string-dev, | ||
15 | 14 | librust-clap-4+wrap-help-dev, | ||
16 | 15 | librust-clap-complete-4+default-dev, | ||
17 | 16 | librust-clap-mangen-0.2+default-dev, | ||
18 | 17 | librust-sequoia-openpgp-1+crypto-openssl-dev, | ||
19 | 18 | librust-sequoia-openpgp-1-dev, | ||
20 | 19 | librust-sequoia-policy-config-0.7+default-dev, | ||
21 | 20 | librust-sequoia-policy-config-0.7+default-dev | librust-sequoia-policy-config-0.6+default-dev, | ||
23 | 21 | bash-completion | 9 | bash-completion |
24 | 22 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | 10 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
25 | 23 | XSBC-Original-Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | 11 | XSBC-Original-Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
26 | @@ -30,6 +18,7 @@ Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/sequoia-sqv] | |||
27 | 30 | Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/sequoia-sqv | 18 | Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/sequoia-sqv |
28 | 31 | Homepage: https://sequoia-pgp.org/ | 19 | Homepage: https://sequoia-pgp.org/ |
29 | 32 | X-Cargo-Crate: sequoia-sqv | 20 | X-Cargo-Crate: sequoia-sqv |
30 | 21 | XS-Vendored-Sources-Rust: aho-corasick@1.1.3, anstream@0.6.13, anstyle-parse@0.2.3, anstyle-query@1.0.2, anstyle@1.0.6, anyhow@1.0.76, ascii-canvas@3.0.0, assert_cmd@2.0.13, autocfg@1.2.0, base64@0.22.0, bit-set@0.5.3, bit-vec@0.6.3, bitflags@2.5.0, block-buffer@0.10.4, bstr@1.9.1, buffered-reader@1.3.1, cc@1.0.94, cfg-if@1.0.0, chrono@0.4.38, clap@4.4.18, clap_builder@4.4.18, clap_complete@4.4.10, clap_derive@4.4.7, clap_lex@0.6.0, clap_mangen@0.2.19, colorchoice@1.0.0, crunchy@0.2.2, crypto-common@0.1.6, difflib@0.4.0, digest@0.10.7, dirs-next@2.0.0, dirs-sys-next@0.1.2, doc-comment@0.3.3, dyn-clone@1.0.17, either@1.11.0, ena@0.14.2, equivalent@1.0.1, errno@0.3.8, fixedbitset@0.4.2, float-cmp@0.9.0, foreign-types-shared@0.1.1, foreign-types@0.3.2, generic-array@0.14.7, hashbrown@0.14.3, heck@0.4.1, iana-time-zone@0.1.60, idna@0.5.0, indexmap@2.2.6, itertools@0.11.0, lalrpop-util@0.20.2, lalrpop@0.20.2, lazy_static@1.4.0, libc@0.2.153, linux-raw-sys@0.4.13, lock_api@0.4.11, log@0.4.21, memchr@2.7.2, memsec@0.6.3, new_debug_unreachable@1.0.6, normalize-line-endings@0.3.0, num-traits@0.2.18, once_cell@1.19.0, openssl-macros@0.1.1, openssl-sys@0.9.102, openssl@0.10.64, parking_lot@0.12.1, parking_lot_core@0.9.9, petgraph@0.6.4, phf_shared@0.10.0, pkg-config@0.3.30, precomputed-hash@0.1.1, predicates-core@1.0.6, predicates-tree@1.0.9, predicates@3.1.0, proc-macro2@1.0.81, quote@1.0.36, regex-automata@0.4.6, regex-syntax@0.8.3, regex@1.10.4, roff@0.2.1, rustix@0.38.32, same-file@1.0.6, scopeguard@1.2.0, sequoia-openpgp@1.20.0, sequoia-policy-config@0.6.0, serde@1.0.198, sha1collisiondetection@0.3.4, siphasher@0.3.11, smallvec@1.13.2, string_cache@0.8.7, strsim@0.10.0, syn@2.0.60, term@0.7.0, terminal_size@0.3.0, termtree@0.4.1, thiserror-impl@1.0.58, thiserror@1.0.58, tiny-keccak@2.0.2, tinyvec@1.6.0, tinyvec_macros@0.1.1, toml@0.5.11, typenum@1.17.0, unicode-bidi@0.3.15, unicode-ident@1.0.12, unicode-normalization@0.1.23, unicode-xid@0.2.4, utf8parse@0.2.1, vcpkg@0.2.15, version_check@0.9.4, wait-timeout@0.2.0, walkdir@2.5.0, xxhash-rust@0.8.10 | ||
31 | 33 | Rules-Requires-Root: no | 22 | Rules-Requires-Root: no |
32 | 34 | 23 | ||
33 | 35 | Package: sqv | 24 | Package: sqv |
34 | diff --git a/debian/patches/remove-dependencies.patch b/debian/patches/remove-dependencies.patch | |||
35 | 36 | new file mode 100644 | 25 | new file mode 100644 |
36 | index 0000000..7fbd1af | |||
37 | --- /dev/null | |||
38 | +++ b/debian/patches/remove-dependencies.patch | |||
39 | @@ -0,0 +1,1303 @@ | |||
40 | 1 | Description: Remove unused dependencies from Cargo.toml | ||
41 | 2 | This avoids having to rebuild them. Cargo.lock is recreated automatically by | ||
42 | 3 | cargo, but we ship the diff here so it works | ||
43 | 4 | Author: Julian Andres Klode <juliank@ubuntu.com> | ||
44 | 5 | Forwarded: not-needed | ||
45 | 6 | diff --git a/Cargo.lock b/Cargo.lock | ||
46 | 7 | index fccfe2c..68b8276 100644 | ||
47 | 8 | --- a/Cargo.lock | ||
48 | 9 | +++ b/Cargo.lock | ||
49 | 10 | @@ -2,42 +2,6 @@ | ||
50 | 11 | # It is not intended for manual editing. | ||
51 | 12 | version = 3 | ||
52 | 13 | |||
53 | 14 | -[[package]] | ||
54 | 15 | -name = "aead" | ||
55 | 16 | -version = "0.5.2" | ||
56 | 17 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
57 | 18 | -checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" | ||
58 | 19 | -dependencies = [ | ||
59 | 20 | - "crypto-common", | ||
60 | 21 | - "generic-array", | ||
61 | 22 | -] | ||
62 | 23 | - | ||
63 | 24 | -[[package]] | ||
64 | 25 | -name = "aes" | ||
65 | 26 | -version = "0.8.4" | ||
66 | 27 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
67 | 28 | -checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" | ||
68 | 29 | -dependencies = [ | ||
69 | 30 | - "cfg-if", | ||
70 | 31 | - "cipher", | ||
71 | 32 | - "cpufeatures", | ||
72 | 33 | - "zeroize", | ||
73 | 34 | -] | ||
74 | 35 | - | ||
75 | 36 | -[[package]] | ||
76 | 37 | -name = "aes-gcm" | ||
77 | 38 | -version = "0.10.3" | ||
78 | 39 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
79 | 40 | -checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" | ||
80 | 41 | -dependencies = [ | ||
81 | 42 | - "aead", | ||
82 | 43 | - "aes", | ||
83 | 44 | - "cipher", | ||
84 | 45 | - "ctr", | ||
85 | 46 | - "ghash", | ||
86 | 47 | - "subtle", | ||
87 | 48 | -] | ||
88 | 49 | - | ||
89 | 50 | [[package]] | ||
90 | 51 | name = "aho-corasick" | ||
91 | 52 | version = "1.1.3" | ||
92 | 53 | @@ -146,44 +110,12 @@ version = "1.2.0" | ||
93 | 54 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
94 | 55 | checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" | ||
95 | 56 | |||
96 | 57 | -[[package]] | ||
97 | 58 | -name = "base16ct" | ||
98 | 59 | -version = "0.2.0" | ||
99 | 60 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
100 | 61 | -checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" | ||
101 | 62 | - | ||
102 | 63 | [[package]] | ||
103 | 64 | name = "base64" | ||
104 | 65 | version = "0.22.0" | ||
105 | 66 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
106 | 67 | checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" | ||
107 | 68 | |||
108 | 69 | -[[package]] | ||
109 | 70 | -name = "base64ct" | ||
110 | 71 | -version = "1.6.0" | ||
111 | 72 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
112 | 73 | -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" | ||
113 | 74 | - | ||
114 | 75 | -[[package]] | ||
115 | 76 | -name = "bindgen" | ||
116 | 77 | -version = "0.68.1" | ||
117 | 78 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
118 | 79 | -checksum = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078" | ||
119 | 80 | -dependencies = [ | ||
120 | 81 | - "bitflags 2.5.0", | ||
121 | 82 | - "cexpr", | ||
122 | 83 | - "clang-sys", | ||
123 | 84 | - "lazy_static", | ||
124 | 85 | - "lazycell", | ||
125 | 86 | - "peeking_take_while", | ||
126 | 87 | - "proc-macro2", | ||
127 | 88 | - "quote", | ||
128 | 89 | - "regex", | ||
129 | 90 | - "rustc-hash", | ||
130 | 91 | - "shlex", | ||
131 | 92 | - "syn", | ||
132 | 93 | -] | ||
133 | 94 | - | ||
134 | 95 | [[package]] | ||
135 | 96 | name = "bit-set" | ||
136 | 97 | version = "0.5.3" | ||
137 | 98 | @@ -220,40 +152,6 @@ dependencies = [ | ||
138 | 99 | "generic-array", | ||
139 | 100 | ] | ||
140 | 101 | |||
141 | 102 | -[[package]] | ||
142 | 103 | -name = "block-padding" | ||
143 | 104 | -version = "0.3.3" | ||
144 | 105 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
145 | 106 | -checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" | ||
146 | 107 | -dependencies = [ | ||
147 | 108 | - "generic-array", | ||
148 | 109 | -] | ||
149 | 110 | - | ||
150 | 111 | -[[package]] | ||
151 | 112 | -name = "blowfish" | ||
152 | 113 | -version = "0.9.1" | ||
153 | 114 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
154 | 115 | -checksum = "e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7" | ||
155 | 116 | -dependencies = [ | ||
156 | 117 | - "byteorder", | ||
157 | 118 | - "cipher", | ||
158 | 119 | -] | ||
159 | 120 | - | ||
160 | 121 | -[[package]] | ||
161 | 122 | -name = "botan" | ||
162 | 123 | -version = "0.10.7" | ||
163 | 124 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
164 | 125 | -checksum = "350081af1a3c6883f8a1f863ac553bfe6922589aad60008a70947765ed57c53e" | ||
165 | 126 | -dependencies = [ | ||
166 | 127 | - "botan-sys", | ||
167 | 128 | -] | ||
168 | 129 | - | ||
169 | 130 | -[[package]] | ||
170 | 131 | -name = "botan-sys" | ||
171 | 132 | -version = "0.10.5" | ||
172 | 133 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
173 | 134 | -checksum = "9f49dde1b8ebd2996cc41c55c39f6ef8b54e38148d8973aeba0792b87b1621ca" | ||
174 | 135 | - | ||
175 | 136 | [[package]] | ||
176 | 137 | name = "bstr" | ||
177 | 138 | version = "1.9.1" | ||
178 | 139 | @@ -281,55 +179,12 @@ version = "3.16.0" | ||
179 | 140 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
180 | 141 | checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" | ||
181 | 142 | |||
182 | 143 | -[[package]] | ||
183 | 144 | -name = "byteorder" | ||
184 | 145 | -version = "1.5.0" | ||
185 | 146 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
186 | 147 | -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" | ||
187 | 148 | - | ||
188 | 149 | -[[package]] | ||
189 | 150 | -name = "camellia" | ||
190 | 151 | -version = "0.1.0" | ||
191 | 152 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
192 | 153 | -checksum = "3264e2574e9ef2b53ce6f536dea83a69ac0bc600b762d1523ff83fe07230ce30" | ||
193 | 154 | -dependencies = [ | ||
194 | 155 | - "byteorder", | ||
195 | 156 | - "cipher", | ||
196 | 157 | -] | ||
197 | 158 | - | ||
198 | 159 | -[[package]] | ||
199 | 160 | -name = "cast5" | ||
200 | 161 | -version = "0.11.1" | ||
201 | 162 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
202 | 163 | -checksum = "26b07d673db1ccf000e90f54b819db9e75a8348d6eb056e9b8ab53231b7a9911" | ||
203 | 164 | -dependencies = [ | ||
204 | 165 | - "cipher", | ||
205 | 166 | -] | ||
206 | 167 | - | ||
207 | 168 | [[package]] | ||
208 | 169 | name = "cc" | ||
209 | 170 | version = "1.0.94" | ||
210 | 171 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
211 | 172 | checksum = "17f6e324229dc011159fcc089755d1e2e216a90d43a7dea6853ca740b84f35e7" | ||
212 | 173 | |||
213 | 174 | -[[package]] | ||
214 | 175 | -name = "cexpr" | ||
215 | 176 | -version = "0.6.0" | ||
216 | 177 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
217 | 178 | -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" | ||
218 | 179 | -dependencies = [ | ||
219 | 180 | - "nom", | ||
220 | 181 | -] | ||
221 | 182 | - | ||
222 | 183 | -[[package]] | ||
223 | 184 | -name = "cfb-mode" | ||
224 | 185 | -version = "0.8.2" | ||
225 | 186 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
226 | 187 | -checksum = "738b8d467867f80a71351933f70461f5b56f24d5c93e0cf216e59229c968d330" | ||
227 | 188 | -dependencies = [ | ||
228 | 189 | - "cipher", | ||
229 | 190 | -] | ||
230 | 191 | - | ||
231 | 192 | [[package]] | ||
232 | 193 | name = "cfg-if" | ||
233 | 194 | version = "1.0.0" | ||
234 | 195 | @@ -350,28 +205,6 @@ dependencies = [ | ||
235 | 196 | "windows-targets 0.52.5", | ||
236 | 197 | ] | ||
237 | 198 | |||
238 | 199 | -[[package]] | ||
239 | 200 | -name = "cipher" | ||
240 | 201 | -version = "0.4.4" | ||
241 | 202 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
242 | 203 | -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" | ||
243 | 204 | -dependencies = [ | ||
244 | 205 | - "crypto-common", | ||
245 | 206 | - "inout", | ||
246 | 207 | - "zeroize", | ||
247 | 208 | -] | ||
248 | 209 | - | ||
249 | 210 | -[[package]] | ||
250 | 211 | -name = "clang-sys" | ||
251 | 212 | -version = "1.7.0" | ||
252 | 213 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
253 | 214 | -checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" | ||
254 | 215 | -dependencies = [ | ||
255 | 216 | - "glob", | ||
256 | 217 | - "libc", | ||
257 | 218 | - "libloading", | ||
258 | 219 | -] | ||
259 | 220 | - | ||
260 | 221 | [[package]] | ||
261 | 222 | name = "clap" | ||
262 | 223 | version = "4.4.18" | ||
263 | 224 | @@ -432,62 +265,24 @@ dependencies = [ | ||
264 | 225 | "roff", | ||
265 | 226 | ] | ||
266 | 227 | |||
267 | 228 | -[[package]] | ||
268 | 229 | -name = "cmac" | ||
269 | 230 | -version = "0.7.2" | ||
270 | 231 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
271 | 232 | -checksum = "8543454e3c3f5126effff9cd44d562af4e31fb8ce1cc0d3dcd8f084515dbc1aa" | ||
272 | 233 | -dependencies = [ | ||
273 | 234 | - "cipher", | ||
274 | 235 | - "dbl", | ||
275 | 236 | - "digest", | ||
276 | 237 | -] | ||
277 | 238 | - | ||
278 | 239 | [[package]] | ||
279 | 240 | name = "colorchoice" | ||
280 | 241 | version = "1.0.0" | ||
281 | 242 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
282 | 243 | checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" | ||
283 | 244 | |||
284 | 245 | -[[package]] | ||
285 | 246 | -name = "const-oid" | ||
286 | 247 | -version = "0.9.6" | ||
287 | 248 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
288 | 249 | -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" | ||
289 | 250 | - | ||
290 | 251 | [[package]] | ||
291 | 252 | name = "core-foundation-sys" | ||
292 | 253 | version = "0.8.6" | ||
293 | 254 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
294 | 255 | checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" | ||
295 | 256 | |||
296 | 257 | -[[package]] | ||
297 | 258 | -name = "cpufeatures" | ||
298 | 259 | -version = "0.2.12" | ||
299 | 260 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
300 | 261 | -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" | ||
301 | 262 | -dependencies = [ | ||
302 | 263 | - "libc", | ||
303 | 264 | -] | ||
304 | 265 | - | ||
305 | 266 | [[package]] | ||
306 | 267 | name = "crunchy" | ||
307 | 268 | version = "0.2.2" | ||
308 | 269 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
309 | 270 | checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" | ||
310 | 271 | |||
311 | 272 | -[[package]] | ||
312 | 273 | -name = "crypto-bigint" | ||
313 | 274 | -version = "0.5.5" | ||
314 | 275 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
315 | 276 | -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" | ||
316 | 277 | -dependencies = [ | ||
317 | 278 | - "generic-array", | ||
318 | 279 | - "rand_core", | ||
319 | 280 | - "subtle", | ||
320 | 281 | - "zeroize", | ||
321 | 282 | -] | ||
322 | 283 | - | ||
323 | 284 | [[package]] | ||
324 | 285 | name = "crypto-common" | ||
325 | 286 | version = "0.1.6" | ||
326 | 287 | @@ -495,76 +290,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | ||
327 | 288 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" | ||
328 | 289 | dependencies = [ | ||
329 | 290 | "generic-array", | ||
330 | 291 | - "rand_core", | ||
331 | 292 | "typenum", | ||
332 | 293 | ] | ||
333 | 294 | |||
334 | 295 | -[[package]] | ||
335 | 296 | -name = "ctr" | ||
336 | 297 | -version = "0.9.2" | ||
337 | 298 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
338 | 299 | -checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" | ||
339 | 300 | -dependencies = [ | ||
340 | 301 | - "cipher", | ||
341 | 302 | -] | ||
342 | 303 | - | ||
343 | 304 | -[[package]] | ||
344 | 305 | -name = "curve25519-dalek" | ||
345 | 306 | -version = "4.1.2" | ||
346 | 307 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
347 | 308 | -checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" | ||
348 | 309 | -dependencies = [ | ||
349 | 310 | - "cfg-if", | ||
350 | 311 | - "cpufeatures", | ||
351 | 312 | - "curve25519-dalek-derive", | ||
352 | 313 | - "digest", | ||
353 | 314 | - "fiat-crypto", | ||
354 | 315 | - "platforms", | ||
355 | 316 | - "rustc_version", | ||
356 | 317 | - "subtle", | ||
357 | 318 | - "zeroize", | ||
358 | 319 | -] | ||
359 | 320 | - | ||
360 | 321 | -[[package]] | ||
361 | 322 | -name = "curve25519-dalek-derive" | ||
362 | 323 | -version = "0.1.1" | ||
363 | 324 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
364 | 325 | -checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" | ||
365 | 326 | -dependencies = [ | ||
366 | 327 | - "proc-macro2", | ||
367 | 328 | - "quote", | ||
368 | 329 | - "syn", | ||
369 | 330 | -] | ||
370 | 331 | - | ||
371 | 332 | -[[package]] | ||
372 | 333 | -name = "dbl" | ||
373 | 334 | -version = "0.3.2" | ||
374 | 335 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
375 | 336 | -checksum = "bd2735a791158376708f9347fe8faba9667589d82427ef3aed6794a8981de3d9" | ||
376 | 337 | -dependencies = [ | ||
377 | 338 | - "generic-array", | ||
378 | 339 | -] | ||
379 | 340 | - | ||
380 | 341 | -[[package]] | ||
381 | 342 | -name = "der" | ||
382 | 343 | -version = "0.7.9" | ||
383 | 344 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
384 | 345 | -checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" | ||
385 | 346 | -dependencies = [ | ||
386 | 347 | - "const-oid", | ||
387 | 348 | - "pem-rfc7468", | ||
388 | 349 | - "zeroize", | ||
389 | 350 | -] | ||
390 | 351 | - | ||
391 | 352 | -[[package]] | ||
392 | 353 | -name = "des" | ||
393 | 354 | -version = "0.8.1" | ||
394 | 355 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
395 | 356 | -checksum = "ffdd80ce8ce993de27e9f063a444a4d53ce8e8db4c1f00cc03af5ad5a9867a1e" | ||
396 | 357 | -dependencies = [ | ||
397 | 358 | - "cipher", | ||
398 | 359 | -] | ||
399 | 360 | - | ||
400 | 361 | [[package]] | ||
401 | 362 | name = "difflib" | ||
402 | 363 | version = "0.4.0" | ||
403 | 364 | @@ -578,9 +306,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | ||
404 | 365 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" | ||
405 | 366 | dependencies = [ | ||
406 | 367 | "block-buffer", | ||
407 | 368 | - "const-oid", | ||
408 | 369 | "crypto-common", | ||
409 | 370 | - "subtle", | ||
410 | 371 | ] | ||
411 | 372 | |||
412 | 373 | [[package]] | ||
413 | 374 | @@ -610,116 +336,18 @@ version = "0.3.3" | ||
414 | 375 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
415 | 376 | checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" | ||
416 | 377 | |||
417 | 378 | -[[package]] | ||
418 | 379 | -name = "dsa" | ||
419 | 380 | -version = "0.6.3" | ||
420 | 381 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
421 | 382 | -checksum = "48bc224a9084ad760195584ce5abb3c2c34a225fa312a128ad245a6b412b7689" | ||
422 | 383 | -dependencies = [ | ||
423 | 384 | - "digest", | ||
424 | 385 | - "num-bigint-dig", | ||
425 | 386 | - "num-traits", | ||
426 | 387 | - "pkcs8", | ||
427 | 388 | - "rfc6979", | ||
428 | 389 | - "sha2", | ||
429 | 390 | - "signature", | ||
430 | 391 | - "zeroize", | ||
431 | 392 | -] | ||
432 | 393 | - | ||
433 | 394 | [[package]] | ||
434 | 395 | name = "dyn-clone" | ||
435 | 396 | version = "1.0.17" | ||
436 | 397 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
437 | 398 | checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" | ||
438 | 399 | |||
439 | 400 | -[[package]] | ||
440 | 401 | -name = "eax" | ||
441 | 402 | -version = "0.5.0" | ||
442 | 403 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
443 | 404 | -checksum = "9954fabd903b82b9d7a68f65f97dc96dd9ad368e40ccc907a7c19d53e6bfac28" | ||
444 | 405 | -dependencies = [ | ||
445 | 406 | - "aead", | ||
446 | 407 | - "cipher", | ||
447 | 408 | - "cmac", | ||
448 | 409 | - "ctr", | ||
449 | 410 | - "subtle", | ||
450 | 411 | -] | ||
451 | 412 | - | ||
452 | 413 | -[[package]] | ||
453 | 414 | -name = "ecb" | ||
454 | 415 | -version = "0.1.2" | ||
455 | 416 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
456 | 417 | -checksum = "1a8bfa975b1aec2145850fcaa1c6fe269a16578c44705a532ae3edc92b8881c7" | ||
457 | 418 | -dependencies = [ | ||
458 | 419 | - "cipher", | ||
459 | 420 | -] | ||
460 | 421 | - | ||
461 | 422 | -[[package]] | ||
462 | 423 | -name = "ecdsa" | ||
463 | 424 | -version = "0.16.9" | ||
464 | 425 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
465 | 426 | -checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" | ||
466 | 427 | -dependencies = [ | ||
467 | 428 | - "der", | ||
468 | 429 | - "digest", | ||
469 | 430 | - "elliptic-curve", | ||
470 | 431 | - "rfc6979", | ||
471 | 432 | - "signature", | ||
472 | 433 | - "spki", | ||
473 | 434 | -] | ||
474 | 435 | - | ||
475 | 436 | -[[package]] | ||
476 | 437 | -name = "ed25519" | ||
477 | 438 | -version = "2.2.3" | ||
478 | 439 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
479 | 440 | -checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" | ||
480 | 441 | -dependencies = [ | ||
481 | 442 | - "pkcs8", | ||
482 | 443 | - "signature", | ||
483 | 444 | -] | ||
484 | 445 | - | ||
485 | 446 | -[[package]] | ||
486 | 447 | -name = "ed25519-dalek" | ||
487 | 448 | -version = "2.1.1" | ||
488 | 449 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
489 | 450 | -checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" | ||
490 | 451 | -dependencies = [ | ||
491 | 452 | - "curve25519-dalek", | ||
492 | 453 | - "ed25519", | ||
493 | 454 | - "rand_core", | ||
494 | 455 | - "serde", | ||
495 | 456 | - "sha2", | ||
496 | 457 | - "subtle", | ||
497 | 458 | - "zeroize", | ||
498 | 459 | -] | ||
499 | 460 | - | ||
500 | 461 | [[package]] | ||
501 | 462 | name = "either" | ||
502 | 463 | version = "1.11.0" | ||
503 | 464 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
504 | 465 | checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" | ||
505 | 466 | |||
506 | 467 | -[[package]] | ||
507 | 468 | -name = "elliptic-curve" | ||
508 | 469 | -version = "0.13.8" | ||
509 | 470 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
510 | 471 | -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" | ||
511 | 472 | -dependencies = [ | ||
512 | 473 | - "base16ct", | ||
513 | 474 | - "crypto-bigint", | ||
514 | 475 | - "digest", | ||
515 | 476 | - "ff", | ||
516 | 477 | - "generic-array", | ||
517 | 478 | - "group", | ||
518 | 479 | - "hkdf", | ||
519 | 480 | - "pem-rfc7468", | ||
520 | 481 | - "pkcs8", | ||
521 | 482 | - "rand_core", | ||
522 | 483 | - "sec1", | ||
523 | 484 | - "subtle", | ||
524 | 485 | - "zeroize", | ||
525 | 486 | -] | ||
526 | 487 | - | ||
527 | 488 | [[package]] | ||
528 | 489 | name = "ena" | ||
529 | 490 | version = "0.14.2" | ||
530 | 491 | @@ -745,28 +373,6 @@ dependencies = [ | ||
531 | 492 | "windows-sys 0.52.0", | ||
532 | 493 | ] | ||
533 | 494 | |||
534 | 495 | -[[package]] | ||
535 | 496 | -name = "fastrand" | ||
536 | 497 | -version = "2.0.2" | ||
537 | 498 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
538 | 499 | -checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" | ||
539 | 500 | - | ||
540 | 501 | -[[package]] | ||
541 | 502 | -name = "ff" | ||
542 | 503 | -version = "0.13.0" | ||
543 | 504 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
544 | 505 | -checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" | ||
545 | 506 | -dependencies = [ | ||
546 | 507 | - "rand_core", | ||
547 | 508 | - "subtle", | ||
548 | 509 | -] | ||
549 | 510 | - | ||
550 | 511 | -[[package]] | ||
551 | 512 | -name = "fiat-crypto" | ||
552 | 513 | -version = "0.2.7" | ||
553 | 514 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
554 | 515 | -checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f" | ||
555 | 516 | - | ||
556 | 517 | [[package]] | ||
557 | 518 | name = "fixedbitset" | ||
558 | 519 | version = "0.4.2" | ||
559 | 520 | @@ -805,7 +411,6 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" | ||
560 | 521 | dependencies = [ | ||
561 | 522 | "typenum", | ||
562 | 523 | "version_check", | ||
563 | 524 | - "zeroize", | ||
564 | 525 | ] | ||
565 | 526 | |||
566 | 527 | [[package]] | ||
567 | 528 | @@ -821,33 +426,6 @@ dependencies = [ | ||
568 | 529 | "wasm-bindgen", | ||
569 | 530 | ] | ||
570 | 531 | |||
571 | 532 | -[[package]] | ||
572 | 533 | -name = "ghash" | ||
573 | 534 | -version = "0.5.1" | ||
574 | 535 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
575 | 536 | -checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" | ||
576 | 537 | -dependencies = [ | ||
577 | 538 | - "opaque-debug", | ||
578 | 539 | - "polyval", | ||
579 | 540 | -] | ||
580 | 541 | - | ||
581 | 542 | -[[package]] | ||
582 | 543 | -name = "glob" | ||
583 | 544 | -version = "0.3.1" | ||
584 | 545 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
585 | 546 | -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" | ||
586 | 547 | - | ||
587 | 548 | -[[package]] | ||
588 | 549 | -name = "group" | ||
589 | 550 | -version = "0.13.0" | ||
590 | 551 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
591 | 552 | -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" | ||
592 | 553 | -dependencies = [ | ||
593 | 554 | - "ff", | ||
594 | 555 | - "rand_core", | ||
595 | 556 | - "subtle", | ||
596 | 557 | -] | ||
597 | 558 | - | ||
598 | 559 | [[package]] | ||
599 | 560 | name = "hashbrown" | ||
600 | 561 | version = "0.14.3" | ||
601 | 562 | @@ -860,24 +438,6 @@ version = "0.4.1" | ||
602 | 563 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
603 | 564 | checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" | ||
604 | 565 | |||
605 | 566 | -[[package]] | ||
606 | 567 | -name = "hkdf" | ||
607 | 568 | -version = "0.12.4" | ||
608 | 569 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
609 | 570 | -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" | ||
610 | 571 | -dependencies = [ | ||
611 | 572 | - "hmac", | ||
612 | 573 | -] | ||
613 | 574 | - | ||
614 | 575 | -[[package]] | ||
615 | 576 | -name = "hmac" | ||
616 | 577 | -version = "0.12.1" | ||
617 | 578 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
618 | 579 | -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" | ||
619 | 580 | -dependencies = [ | ||
620 | 581 | - "digest", | ||
621 | 582 | -] | ||
622 | 583 | - | ||
623 | 584 | [[package]] | ||
624 | 585 | name = "iana-time-zone" | ||
625 | 586 | version = "0.1.60" | ||
626 | 587 | @@ -901,15 +461,6 @@ dependencies = [ | ||
627 | 588 | "cc", | ||
628 | 589 | ] | ||
629 | 590 | |||
630 | 591 | -[[package]] | ||
631 | 592 | -name = "idea" | ||
632 | 593 | -version = "0.5.1" | ||
633 | 594 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
634 | 595 | -checksum = "075557004419d7f2031b8bb7f44bb43e55a83ca7b63076a8fb8fe75753836477" | ||
635 | 596 | -dependencies = [ | ||
636 | 597 | - "cipher", | ||
637 | 598 | -] | ||
638 | 599 | - | ||
639 | 600 | [[package]] | ||
640 | 601 | name = "idna" | ||
641 | 602 | version = "0.5.0" | ||
642 | 603 | @@ -930,16 +481,6 @@ dependencies = [ | ||
643 | 604 | "hashbrown", | ||
644 | 605 | ] | ||
645 | 606 | |||
646 | 607 | -[[package]] | ||
647 | 608 | -name = "inout" | ||
648 | 609 | -version = "0.1.3" | ||
649 | 610 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
650 | 611 | -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" | ||
651 | 612 | -dependencies = [ | ||
652 | 613 | - "block-padding", | ||
653 | 614 | - "generic-array", | ||
654 | 615 | -] | ||
655 | 616 | - | ||
656 | 617 | [[package]] | ||
657 | 618 | name = "itertools" | ||
658 | 619 | version = "0.11.0" | ||
659 | 620 | @@ -993,15 +534,6 @@ name = "lazy_static" | ||
660 | 621 | version = "1.4.0" | ||
661 | 622 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
662 | 623 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" | ||
663 | 624 | -dependencies = [ | ||
664 | 625 | - "spin", | ||
665 | 626 | -] | ||
666 | 627 | - | ||
667 | 628 | -[[package]] | ||
668 | 629 | -name = "lazycell" | ||
669 | 630 | -version = "1.3.0" | ||
670 | 631 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
671 | 632 | -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" | ||
672 | 633 | |||
673 | 634 | [[package]] | ||
674 | 635 | name = "libc" | ||
675 | 636 | @@ -1009,22 +541,6 @@ version = "0.2.153" | ||
676 | 637 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
677 | 638 | checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" | ||
678 | 639 | |||
679 | 640 | -[[package]] | ||
680 | 641 | -name = "libloading" | ||
681 | 642 | -version = "0.8.3" | ||
682 | 643 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
683 | 644 | -checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" | ||
684 | 645 | -dependencies = [ | ||
685 | 646 | - "cfg-if", | ||
686 | 647 | - "windows-targets 0.52.5", | ||
687 | 648 | -] | ||
688 | 649 | - | ||
689 | 650 | -[[package]] | ||
690 | 651 | -name = "libm" | ||
691 | 652 | -version = "0.2.8" | ||
692 | 653 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
693 | 654 | -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" | ||
694 | 655 | - | ||
695 | 656 | [[package]] | ||
696 | 657 | name = "libredox" | ||
697 | 658 | version = "0.1.3" | ||
698 | 659 | @@ -1057,16 +573,6 @@ version = "0.4.21" | ||
699 | 660 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
700 | 661 | checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" | ||
701 | 662 | |||
702 | 663 | -[[package]] | ||
703 | 664 | -name = "md-5" | ||
704 | 665 | -version = "0.10.6" | ||
705 | 666 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
706 | 667 | -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" | ||
707 | 668 | -dependencies = [ | ||
708 | 669 | - "cfg-if", | ||
709 | 670 | - "digest", | ||
710 | 671 | -] | ||
711 | 672 | - | ||
712 | 673 | [[package]] | ||
713 | 674 | name = "memchr" | ||
714 | 675 | version = "2.7.2" | ||
715 | 676 | @@ -1079,98 +585,18 @@ version = "0.6.3" | ||
716 | 677 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
717 | 678 | checksum = "0fa0916b001582d253822171bd23f4a0229d32b9507fae236f5da8cad515ba7c" | ||
718 | 679 | |||
719 | 680 | -[[package]] | ||
720 | 681 | -name = "minimal-lexical" | ||
721 | 682 | -version = "0.2.1" | ||
722 | 683 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
723 | 684 | -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" | ||
724 | 685 | - | ||
725 | 686 | -[[package]] | ||
726 | 687 | -name = "nettle" | ||
727 | 688 | -version = "7.4.0" | ||
728 | 689 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
729 | 690 | -checksum = "44e6ff4a94e5d34a1fd5abbd39418074646e2fa51b257198701330f22fcd6936" | ||
730 | 691 | -dependencies = [ | ||
731 | 692 | - "getrandom", | ||
732 | 693 | - "libc", | ||
733 | 694 | - "nettle-sys", | ||
734 | 695 | - "thiserror", | ||
735 | 696 | - "typenum", | ||
736 | 697 | -] | ||
737 | 698 | - | ||
738 | 699 | -[[package]] | ||
739 | 700 | -name = "nettle-sys" | ||
740 | 701 | -version = "2.3.0" | ||
741 | 702 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
742 | 703 | -checksum = "b495053a10a19a80e3a26bf1212e92e29350797b5f5bdc58268c3f3f818e66ec" | ||
743 | 704 | -dependencies = [ | ||
744 | 705 | - "bindgen", | ||
745 | 706 | - "cc", | ||
746 | 707 | - "libc", | ||
747 | 708 | - "pkg-config", | ||
748 | 709 | - "tempfile", | ||
749 | 710 | - "vcpkg", | ||
750 | 711 | -] | ||
751 | 712 | - | ||
752 | 713 | [[package]] | ||
753 | 714 | name = "new_debug_unreachable" | ||
754 | 715 | version = "1.0.6" | ||
755 | 716 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
756 | 717 | checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" | ||
757 | 718 | |||
758 | 719 | -[[package]] | ||
759 | 720 | -name = "nom" | ||
760 | 721 | -version = "7.1.3" | ||
761 | 722 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
762 | 723 | -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" | ||
763 | 724 | -dependencies = [ | ||
764 | 725 | - "memchr", | ||
765 | 726 | - "minimal-lexical", | ||
766 | 727 | -] | ||
767 | 728 | - | ||
768 | 729 | [[package]] | ||
769 | 730 | name = "normalize-line-endings" | ||
770 | 731 | version = "0.3.0" | ||
771 | 732 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
772 | 733 | checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" | ||
773 | 734 | |||
774 | 735 | -[[package]] | ||
775 | 736 | -name = "num-bigint-dig" | ||
776 | 737 | -version = "0.8.4" | ||
777 | 738 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
778 | 739 | -checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" | ||
779 | 740 | -dependencies = [ | ||
780 | 741 | - "byteorder", | ||
781 | 742 | - "lazy_static", | ||
782 | 743 | - "libm", | ||
783 | 744 | - "num-integer", | ||
784 | 745 | - "num-iter", | ||
785 | 746 | - "num-traits", | ||
786 | 747 | - "rand", | ||
787 | 748 | - "smallvec", | ||
788 | 749 | - "zeroize", | ||
789 | 750 | -] | ||
790 | 751 | - | ||
791 | 752 | -[[package]] | ||
792 | 753 | -name = "num-integer" | ||
793 | 754 | -version = "0.1.46" | ||
794 | 755 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
795 | 756 | -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" | ||
796 | 757 | -dependencies = [ | ||
797 | 758 | - "num-traits", | ||
798 | 759 | -] | ||
799 | 760 | - | ||
800 | 761 | -[[package]] | ||
801 | 762 | -name = "num-iter" | ||
802 | 763 | -version = "0.1.44" | ||
803 | 764 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
804 | 765 | -checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" | ||
805 | 766 | -dependencies = [ | ||
806 | 767 | - "autocfg", | ||
807 | 768 | - "num-integer", | ||
808 | 769 | - "num-traits", | ||
809 | 770 | -] | ||
810 | 771 | - | ||
811 | 772 | [[package]] | ||
812 | 773 | name = "num-traits" | ||
813 | 774 | version = "0.2.18" | ||
814 | 775 | @@ -1178,7 +604,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | ||
815 | 776 | checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" | ||
816 | 777 | dependencies = [ | ||
817 | 778 | "autocfg", | ||
818 | 779 | - "libm", | ||
819 | 780 | ] | ||
820 | 781 | |||
821 | 782 | [[package]] | ||
822 | 783 | @@ -1187,12 +612,6 @@ version = "1.19.0" | ||
823 | 784 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
824 | 785 | checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" | ||
825 | 786 | |||
826 | 787 | -[[package]] | ||
827 | 788 | -name = "opaque-debug" | ||
828 | 789 | -version = "0.3.1" | ||
829 | 790 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
830 | 791 | -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" | ||
831 | 792 | - | ||
832 | 793 | [[package]] | ||
833 | 794 | name = "openssl" | ||
834 | 795 | version = "0.10.64" | ||
835 | 796 | @@ -1231,18 +650,6 @@ dependencies = [ | ||
836 | 797 | "vcpkg", | ||
837 | 798 | ] | ||
838 | 799 | |||
839 | 800 | -[[package]] | ||
840 | 801 | -name = "p256" | ||
841 | 802 | -version = "0.13.2" | ||
842 | 803 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
843 | 804 | -checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" | ||
844 | 805 | -dependencies = [ | ||
845 | 806 | - "ecdsa", | ||
846 | 807 | - "elliptic-curve", | ||
847 | 808 | - "primeorder", | ||
848 | 809 | - "sha2", | ||
849 | 810 | -] | ||
850 | 811 | - | ||
851 | 812 | [[package]] | ||
852 | 813 | name = "parking_lot" | ||
853 | 814 | version = "0.12.1" | ||
854 | 815 | @@ -1266,21 +673,6 @@ dependencies = [ | ||
855 | 816 | "windows-targets 0.48.5", | ||
856 | 817 | ] | ||
857 | 818 | |||
858 | 819 | -[[package]] | ||
859 | 820 | -name = "peeking_take_while" | ||
860 | 821 | -version = "0.1.2" | ||
861 | 822 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
862 | 823 | -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" | ||
863 | 824 | - | ||
864 | 825 | -[[package]] | ||
865 | 826 | -name = "pem-rfc7468" | ||
866 | 827 | -version = "0.7.0" | ||
867 | 828 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
868 | 829 | -checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" | ||
869 | 830 | -dependencies = [ | ||
870 | 831 | - "base64ct", | ||
871 | 832 | -] | ||
872 | 833 | - | ||
873 | 834 | [[package]] | ||
874 | 835 | name = "petgraph" | ||
875 | 836 | version = "0.6.4" | ||
876 | 837 | @@ -1300,57 +692,12 @@ dependencies = [ | ||
877 | 838 | "siphasher", | ||
878 | 839 | ] | ||
879 | 840 | |||
880 | 841 | -[[package]] | ||
881 | 842 | -name = "pkcs1" | ||
882 | 843 | -version = "0.7.5" | ||
883 | 844 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
884 | 845 | -checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" | ||
885 | 846 | -dependencies = [ | ||
886 | 847 | - "der", | ||
887 | 848 | - "pkcs8", | ||
888 | 849 | - "spki", | ||
889 | 850 | -] | ||
890 | 851 | - | ||
891 | 852 | -[[package]] | ||
892 | 853 | -name = "pkcs8" | ||
893 | 854 | -version = "0.10.2" | ||
894 | 855 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
895 | 856 | -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" | ||
896 | 857 | -dependencies = [ | ||
897 | 858 | - "der", | ||
898 | 859 | - "spki", | ||
899 | 860 | -] | ||
900 | 861 | - | ||
901 | 862 | [[package]] | ||
902 | 863 | name = "pkg-config" | ||
903 | 864 | version = "0.3.30" | ||
904 | 865 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
905 | 866 | checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" | ||
906 | 867 | |||
907 | 868 | -[[package]] | ||
908 | 869 | -name = "platforms" | ||
909 | 870 | -version = "3.4.0" | ||
910 | 871 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
911 | 872 | -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" | ||
912 | 873 | - | ||
913 | 874 | -[[package]] | ||
914 | 875 | -name = "polyval" | ||
915 | 876 | -version = "0.6.2" | ||
916 | 877 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
917 | 878 | -checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" | ||
918 | 879 | -dependencies = [ | ||
919 | 880 | - "cfg-if", | ||
920 | 881 | - "cpufeatures", | ||
921 | 882 | - "opaque-debug", | ||
922 | 883 | - "universal-hash", | ||
923 | 884 | -] | ||
924 | 885 | - | ||
925 | 886 | -[[package]] | ||
926 | 887 | -name = "ppv-lite86" | ||
927 | 888 | -version = "0.2.17" | ||
928 | 889 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
929 | 890 | -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" | ||
930 | 891 | - | ||
931 | 892 | [[package]] | ||
932 | 893 | name = "precomputed-hash" | ||
933 | 894 | version = "0.1.1" | ||
934 | 895 | @@ -1387,15 +734,6 @@ dependencies = [ | ||
935 | 896 | "termtree", | ||
936 | 897 | ] | ||
937 | 898 | |||
938 | 899 | -[[package]] | ||
939 | 900 | -name = "primeorder" | ||
940 | 901 | -version = "0.13.6" | ||
941 | 902 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
942 | 903 | -checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" | ||
943 | 904 | -dependencies = [ | ||
944 | 905 | - "elliptic-curve", | ||
945 | 906 | -] | ||
946 | 907 | - | ||
947 | 908 | [[package]] | ||
948 | 909 | name = "proc-macro2" | ||
949 | 910 | version = "1.0.81" | ||
950 | 911 | @@ -1414,35 +752,6 @@ dependencies = [ | ||
951 | 912 | "proc-macro2", | ||
952 | 913 | ] | ||
953 | 914 | |||
954 | 915 | -[[package]] | ||
955 | 916 | -name = "rand" | ||
956 | 917 | -version = "0.8.5" | ||
957 | 918 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
958 | 919 | -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" | ||
959 | 920 | -dependencies = [ | ||
960 | 921 | - "rand_chacha", | ||
961 | 922 | - "rand_core", | ||
962 | 923 | -] | ||
963 | 924 | - | ||
964 | 925 | -[[package]] | ||
965 | 926 | -name = "rand_chacha" | ||
966 | 927 | -version = "0.3.1" | ||
967 | 928 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
968 | 929 | -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" | ||
969 | 930 | -dependencies = [ | ||
970 | 931 | - "ppv-lite86", | ||
971 | 932 | - "rand_core", | ||
972 | 933 | -] | ||
973 | 934 | - | ||
974 | 935 | -[[package]] | ||
975 | 936 | -name = "rand_core" | ||
976 | 937 | -version = "0.6.4" | ||
977 | 938 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
978 | 939 | -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" | ||
979 | 940 | -dependencies = [ | ||
980 | 941 | - "getrandom", | ||
981 | 942 | -] | ||
982 | 943 | - | ||
983 | 944 | [[package]] | ||
984 | 945 | name = "redox_syscall" | ||
985 | 946 | version = "0.4.1" | ||
986 | 947 | @@ -1492,66 +801,12 @@ version = "0.8.3" | ||
987 | 948 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
988 | 949 | checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" | ||
989 | 950 | |||
990 | 951 | -[[package]] | ||
991 | 952 | -name = "rfc6979" | ||
992 | 953 | -version = "0.4.0" | ||
993 | 954 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
994 | 955 | -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" | ||
995 | 956 | -dependencies = [ | ||
996 | 957 | - "hmac", | ||
997 | 958 | - "subtle", | ||
998 | 959 | -] | ||
999 | 960 | - | ||
1000 | 961 | -[[package]] | ||
1001 | 962 | -name = "ripemd" | ||
1002 | 963 | -version = "0.1.3" | ||
1003 | 964 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1004 | 965 | -checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" | ||
1005 | 966 | -dependencies = [ | ||
1006 | 967 | - "digest", | ||
1007 | 968 | -] | ||
1008 | 969 | - | ||
1009 | 970 | [[package]] | ||
1010 | 971 | name = "roff" | ||
1011 | 972 | version = "0.2.1" | ||
1012 | 973 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1013 | 974 | checksum = "b833d8d034ea094b1ea68aa6d5c740e0d04bad9d16568d08ba6f76823a114316" | ||
1014 | 975 | |||
1015 | 976 | -[[package]] | ||
1016 | 977 | -name = "rsa" | ||
1017 | 978 | -version = "0.9.6" | ||
1018 | 979 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1019 | 980 | -checksum = "5d0e5124fcb30e76a7e79bfee683a2746db83784b86289f6251b54b7950a0dfc" | ||
1020 | 981 | -dependencies = [ | ||
1021 | 982 | - "const-oid", | ||
1022 | 983 | - "digest", | ||
1023 | 984 | - "num-bigint-dig", | ||
1024 | 985 | - "num-integer", | ||
1025 | 986 | - "num-traits", | ||
1026 | 987 | - "pkcs1", | ||
1027 | 988 | - "pkcs8", | ||
1028 | 989 | - "rand_core", | ||
1029 | 990 | - "signature", | ||
1030 | 991 | - "spki", | ||
1031 | 992 | - "subtle", | ||
1032 | 993 | - "zeroize", | ||
1033 | 994 | -] | ||
1034 | 995 | - | ||
1035 | 996 | -[[package]] | ||
1036 | 997 | -name = "rustc-hash" | ||
1037 | 998 | -version = "1.1.0" | ||
1038 | 999 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1039 | 1000 | -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" | ||
1040 | 1001 | - | ||
1041 | 1002 | -[[package]] | ||
1042 | 1003 | -name = "rustc_version" | ||
1043 | 1004 | -version = "0.4.0" | ||
1044 | 1005 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1045 | 1006 | -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" | ||
1046 | 1007 | -dependencies = [ | ||
1047 | 1008 | - "semver", | ||
1048 | 1009 | -] | ||
1049 | 1010 | - | ||
1050 | 1011 | [[package]] | ||
1051 | 1012 | name = "rustix" | ||
1052 | 1013 | version = "0.38.32" | ||
1053 | 1014 | @@ -1586,83 +841,31 @@ version = "1.2.0" | ||
1054 | 1015 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1055 | 1016 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" | ||
1056 | 1017 | |||
1057 | 1018 | -[[package]] | ||
1058 | 1019 | -name = "sec1" | ||
1059 | 1020 | -version = "0.7.3" | ||
1060 | 1021 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1061 | 1022 | -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" | ||
1062 | 1023 | -dependencies = [ | ||
1063 | 1024 | - "base16ct", | ||
1064 | 1025 | - "der", | ||
1065 | 1026 | - "generic-array", | ||
1066 | 1027 | - "pkcs8", | ||
1067 | 1028 | - "subtle", | ||
1068 | 1029 | - "zeroize", | ||
1069 | 1030 | -] | ||
1070 | 1031 | - | ||
1071 | 1032 | -[[package]] | ||
1072 | 1033 | -name = "semver" | ||
1073 | 1034 | -version = "1.0.22" | ||
1074 | 1035 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1075 | 1036 | -checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" | ||
1076 | 1037 | - | ||
1077 | 1038 | [[package]] | ||
1078 | 1039 | name = "sequoia-openpgp" | ||
1079 | 1040 | version = "1.20.0" | ||
1080 | 1041 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1081 | 1042 | checksum = "06f82708c8568218b8544b4abbba1f6483067dca0a946a54991c1d3f424dcade" | ||
1082 | 1043 | dependencies = [ | ||
1083 | 1044 | - "aes", | ||
1084 | 1045 | - "aes-gcm", | ||
1085 | 1046 | "anyhow", | ||
1086 | 1047 | "base64", | ||
1087 | 1048 | - "block-padding", | ||
1088 | 1049 | - "blowfish", | ||
1089 | 1050 | - "botan", | ||
1090 | 1051 | "buffered-reader", | ||
1091 | 1052 | - "camellia", | ||
1092 | 1053 | - "cast5", | ||
1093 | 1054 | - "cfb-mode", | ||
1094 | 1055 | "chrono", | ||
1095 | 1056 | - "cipher", | ||
1096 | 1057 | - "des", | ||
1097 | 1058 | - "digest", | ||
1098 | 1059 | - "dsa", | ||
1099 | 1060 | "dyn-clone", | ||
1100 | 1061 | - "eax", | ||
1101 | 1062 | - "ecb", | ||
1102 | 1063 | - "ecdsa", | ||
1103 | 1064 | - "ed25519", | ||
1104 | 1065 | - "ed25519-dalek", | ||
1105 | 1066 | "getrandom", | ||
1106 | 1067 | - "idea", | ||
1107 | 1068 | "idna", | ||
1108 | 1069 | "lalrpop", | ||
1109 | 1070 | "lalrpop-util", | ||
1110 | 1071 | "lazy_static", | ||
1111 | 1072 | "libc", | ||
1112 | 1073 | - "md-5", | ||
1113 | 1074 | "memsec", | ||
1114 | 1075 | - "nettle", | ||
1115 | 1076 | - "num-bigint-dig", | ||
1116 | 1077 | "once_cell", | ||
1117 | 1078 | "openssl", | ||
1118 | 1079 | "openssl-sys", | ||
1119 | 1080 | - "p256", | ||
1120 | 1081 | - "rand", | ||
1121 | 1082 | - "rand_core", | ||
1122 | 1083 | "regex", | ||
1123 | 1084 | "regex-syntax", | ||
1124 | 1085 | - "ripemd", | ||
1125 | 1086 | - "rsa", | ||
1126 | 1087 | "sha1collisiondetection", | ||
1127 | 1088 | - "sha2", | ||
1128 | 1089 | "thiserror", | ||
1129 | 1090 | - "twofish", | ||
1130 | 1091 | - "typenum", | ||
1131 | 1092 | - "win-crypto-ng", | ||
1132 | 1093 | - "winapi", | ||
1133 | 1094 | - "x25519-dalek", | ||
1134 | 1095 | "xxhash-rust", | ||
1135 | 1096 | ] | ||
1136 | 1097 | |||
1137 | 1098 | @@ -1721,38 +924,10 @@ version = "0.3.4" | ||
1138 | 1099 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1139 | 1100 | checksum = "1f606421e4a6012877e893c399822a4ed4b089164c5969424e1b9d1e66e6964b" | ||
1140 | 1101 | dependencies = [ | ||
1141 | 1102 | - "const-oid", | ||
1142 | 1103 | "digest", | ||
1143 | 1104 | "generic-array", | ||
1144 | 1105 | ] | ||
1145 | 1106 | |||
1146 | 1107 | -[[package]] | ||
1147 | 1108 | -name = "sha2" | ||
1148 | 1109 | -version = "0.10.8" | ||
1149 | 1110 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1150 | 1111 | -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" | ||
1151 | 1112 | -dependencies = [ | ||
1152 | 1113 | - "cfg-if", | ||
1153 | 1114 | - "cpufeatures", | ||
1154 | 1115 | - "digest", | ||
1155 | 1116 | -] | ||
1156 | 1117 | - | ||
1157 | 1118 | -[[package]] | ||
1158 | 1119 | -name = "shlex" | ||
1159 | 1120 | -version = "1.3.0" | ||
1160 | 1121 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1161 | 1122 | -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" | ||
1162 | 1123 | - | ||
1163 | 1124 | -[[package]] | ||
1164 | 1125 | -name = "signature" | ||
1165 | 1126 | -version = "2.2.0" | ||
1166 | 1127 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1167 | 1128 | -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" | ||
1168 | 1129 | -dependencies = [ | ||
1169 | 1130 | - "digest", | ||
1170 | 1131 | - "rand_core", | ||
1171 | 1132 | -] | ||
1172 | 1133 | - | ||
1173 | 1134 | [[package]] | ||
1174 | 1135 | name = "siphasher" | ||
1175 | 1136 | version = "0.3.11" | ||
1176 | 1137 | @@ -1765,22 +940,6 @@ version = "1.13.2" | ||
1177 | 1138 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1178 | 1139 | checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" | ||
1179 | 1140 | |||
1180 | 1141 | -[[package]] | ||
1181 | 1142 | -name = "spin" | ||
1182 | 1143 | -version = "0.5.2" | ||
1183 | 1144 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1184 | 1145 | -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" | ||
1185 | 1146 | - | ||
1186 | 1147 | -[[package]] | ||
1187 | 1148 | -name = "spki" | ||
1188 | 1149 | -version = "0.7.3" | ||
1189 | 1150 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1190 | 1151 | -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" | ||
1191 | 1152 | -dependencies = [ | ||
1192 | 1153 | - "base64ct", | ||
1193 | 1154 | - "der", | ||
1194 | 1155 | -] | ||
1195 | 1156 | - | ||
1196 | 1157 | [[package]] | ||
1197 | 1158 | name = "string_cache" | ||
1198 | 1159 | version = "0.8.7" | ||
1199 | 1160 | @@ -1800,12 +959,6 @@ version = "0.10.0" | ||
1200 | 1161 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1201 | 1162 | checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" | ||
1202 | 1163 | |||
1203 | 1164 | -[[package]] | ||
1204 | 1165 | -name = "subtle" | ||
1205 | 1166 | -version = "2.5.0" | ||
1206 | 1167 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1207 | 1168 | -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" | ||
1208 | 1169 | - | ||
1209 | 1170 | [[package]] | ||
1210 | 1171 | name = "syn" | ||
1211 | 1172 | version = "2.0.60" | ||
1212 | 1173 | @@ -1817,18 +970,6 @@ dependencies = [ | ||
1213 | 1174 | "unicode-ident", | ||
1214 | 1175 | ] | ||
1215 | 1176 | |||
1216 | 1177 | -[[package]] | ||
1217 | 1178 | -name = "tempfile" | ||
1218 | 1179 | -version = "3.10.1" | ||
1219 | 1180 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1220 | 1181 | -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" | ||
1221 | 1182 | -dependencies = [ | ||
1222 | 1183 | - "cfg-if", | ||
1223 | 1184 | - "fastrand", | ||
1224 | 1185 | - "rustix", | ||
1225 | 1186 | - "windows-sys 0.52.0", | ||
1226 | 1187 | -] | ||
1227 | 1188 | - | ||
1228 | 1189 | [[package]] | ||
1229 | 1190 | name = "term" | ||
1230 | 1191 | version = "0.7.0" | ||
1231 | 1192 | @@ -1909,15 +1050,6 @@ dependencies = [ | ||
1232 | 1193 | "serde", | ||
1233 | 1194 | ] | ||
1234 | 1195 | |||
1235 | 1196 | -[[package]] | ||
1236 | 1197 | -name = "twofish" | ||
1237 | 1198 | -version = "0.7.1" | ||
1238 | 1199 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1239 | 1200 | -checksum = "a78e83a30223c757c3947cd144a31014ff04298d8719ae10d03c31c0448c8013" | ||
1240 | 1201 | -dependencies = [ | ||
1241 | 1202 | - "cipher", | ||
1242 | 1203 | -] | ||
1243 | 1204 | - | ||
1244 | 1205 | [[package]] | ||
1245 | 1206 | name = "typenum" | ||
1246 | 1207 | version = "1.17.0" | ||
1247 | 1208 | @@ -1951,16 +1083,6 @@ version = "0.2.4" | ||
1248 | 1209 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1249 | 1210 | checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" | ||
1250 | 1211 | |||
1251 | 1212 | -[[package]] | ||
1252 | 1213 | -name = "universal-hash" | ||
1253 | 1214 | -version = "0.5.1" | ||
1254 | 1215 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1255 | 1216 | -checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" | ||
1256 | 1217 | -dependencies = [ | ||
1257 | 1218 | - "crypto-common", | ||
1258 | 1219 | - "subtle", | ||
1259 | 1220 | -] | ||
1260 | 1221 | - | ||
1261 | 1222 | [[package]] | ||
1262 | 1223 | name = "utf8parse" | ||
1263 | 1224 | version = "0.2.1" | ||
1264 | 1225 | @@ -2058,19 +1180,6 @@ version = "0.2.92" | ||
1265 | 1226 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1266 | 1227 | checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" | ||
1267 | 1228 | |||
1268 | 1229 | -[[package]] | ||
1269 | 1230 | -name = "win-crypto-ng" | ||
1270 | 1231 | -version = "0.5.1" | ||
1271 | 1232 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1272 | 1233 | -checksum = "99abfb435a71e54ab2971d8d8c32f1a7e006cdbf527f71743b1d45b93517bb92" | ||
1273 | 1234 | -dependencies = [ | ||
1274 | 1235 | - "cipher", | ||
1275 | 1236 | - "doc-comment", | ||
1276 | 1237 | - "rand_core", | ||
1277 | 1238 | - "winapi", | ||
1278 | 1239 | - "zeroize", | ||
1279 | 1240 | -] | ||
1280 | 1241 | - | ||
1281 | 1242 | [[package]] | ||
1282 | 1243 | name = "winapi" | ||
1283 | 1244 | version = "0.3.9" | ||
1284 | 1245 | @@ -2250,39 +1359,8 @@ version = "0.52.5" | ||
1285 | 1246 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1286 | 1247 | checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" | ||
1287 | 1248 | |||
1288 | 1249 | -[[package]] | ||
1289 | 1250 | -name = "x25519-dalek" | ||
1290 | 1251 | -version = "2.0.1" | ||
1291 | 1252 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1292 | 1253 | -checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" | ||
1293 | 1254 | -dependencies = [ | ||
1294 | 1255 | - "curve25519-dalek", | ||
1295 | 1256 | - "rand_core", | ||
1296 | 1257 | - "zeroize", | ||
1297 | 1258 | -] | ||
1298 | 1259 | - | ||
1299 | 1260 | [[package]] | ||
1300 | 1261 | name = "xxhash-rust" | ||
1301 | 1262 | version = "0.8.10" | ||
1302 | 1263 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1303 | 1264 | checksum = "927da81e25be1e1a2901d59b81b37dd2efd1fc9c9345a55007f09bf5a2d3ee03" | ||
1304 | 1265 | - | ||
1305 | 1266 | -[[package]] | ||
1306 | 1267 | -name = "zeroize" | ||
1307 | 1268 | -version = "1.7.0" | ||
1308 | 1269 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1309 | 1270 | -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" | ||
1310 | 1271 | -dependencies = [ | ||
1311 | 1272 | - "zeroize_derive", | ||
1312 | 1273 | -] | ||
1313 | 1274 | - | ||
1314 | 1275 | -[[package]] | ||
1315 | 1276 | -name = "zeroize_derive" | ||
1316 | 1277 | -version = "1.4.2" | ||
1317 | 1278 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1318 | 1279 | -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" | ||
1319 | 1280 | -dependencies = [ | ||
1320 | 1281 | - "proc-macro2", | ||
1321 | 1282 | - "quote", | ||
1322 | 1283 | - "syn", | ||
1323 | 1284 | -] | ||
1324 | 1285 | diff --git a/Cargo.toml b/Cargo.toml | ||
1325 | 1286 | index 16b6c6c..e78a065 100644 | ||
1326 | 1287 | --- a/Cargo.toml | ||
1327 | 1288 | +++ b/Cargo.toml | ||
1328 | 1289 | @@ -98,13 +98,8 @@ default-features = false | ||
1329 | 1290 | version = "0.6" | ||
1330 | 1291 | |||
1331 | 1292 | [features] | ||
1332 | 1293 | -crypto-botan = ["sequoia-openpgp/crypto-botan"] | ||
1333 | 1294 | -crypto-botan2 = ["sequoia-openpgp/crypto-botan2"] | ||
1334 | 1295 | -crypto-cng = ["sequoia-openpgp/crypto-cng"] | ||
1335 | 1296 | -crypto-nettle = ["sequoia-openpgp/crypto-nettle"] | ||
1336 | 1297 | crypto-openssl = ["sequoia-openpgp/crypto-openssl"] | ||
1337 | 1298 | -crypto-rust = ["sequoia-openpgp/crypto-rust"] | ||
1338 | 1299 | -default = ["crypto-nettle"] | ||
1339 | 1300 | +default = ["crypto-openssl"] | ||
1340 | 1301 | |||
1341 | 1302 | [badges.gitlab] | ||
1342 | 1303 | repository = "sequoia-pgp/sequoia" | ||
1343 | diff --git a/debian/patches/series b/debian/patches/series | |||
1344 | index bdddf05..89a4dbc 100644 | |||
1345 | --- a/debian/patches/series | |||
1346 | +++ b/debian/patches/series | |||
1347 | @@ -1 +1 @@ | |||
1349 | 1 | relax-deps.patch | 1 | remove-dependencies.patch |
1350 | diff --git a/debian/rules b/debian/rules | |||
1351 | index 59b895d..666fa6f 100755 | |||
1352 | --- a/debian/rules | |||
1353 | +++ b/debian/rules | |||
1354 | @@ -14,5 +14,58 @@ execute_after_dh_auto_configure: | |||
1355 | 14 | %: | 14 | %: |
1356 | 15 | dh $@ --buildsystem cargo --with bash-completion | 15 | dh $@ --buildsystem cargo --with bash-completion |
1357 | 16 | 16 | ||
1360 | 17 | override_dh_auto_install: | 17 | export CARGO = /usr/share/cargo/bin/cargo |
1361 | 18 | dh_auto_install -- --features=crypto-openssl --no-default-features | 18 | export CARGO_VENDOR_DIR = rust-vendor |
1362 | 19 | export CARGO_HOME = $(CURDIR)/debian/cargo_home | ||
1363 | 20 | |||
1364 | 21 | include /usr/share/rustc/architecture.mk | ||
1365 | 22 | export DEB_HOST_RUST_TYPE DEB_HOST_GNU_TYPE | ||
1366 | 23 | |||
1367 | 24 | VENDOR_TARBALL = $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig-$(CARGO_VENDOR_DIR).tar.xz | ||
1368 | 25 | |||
1369 | 26 | vendor-tarball-quick-check: | ||
1370 | 27 | if [ -e ../$(VENDOR_TARBALL) ]; then echo "../$(VENDOR_TARBALL) already exists, bailing!"; exit 1; fi | ||
1371 | 28 | |||
1372 | 29 | vendor-deps-cargo: | ||
1373 | 30 | if QUILT_PATCHES=debian/patches quilt applied | grep vendor-remove-unused-deps ; then \ | ||
1374 | 31 | echo "Detecting patch on vendor dir applied, aborting."; \ | ||
1375 | 32 | exit 1; \ | ||
1376 | 33 | fi | ||
1377 | 34 | # We need to have the dependencies removed in the top-level Cargo.toml or we vendor too much | ||
1378 | 35 | QUILT_PATCHES=debian/patches quilt applied | grep remove-dependencies.patch || QUILT_PATCHES=debian/patches quilt push remove-dependencies.patch | ||
1379 | 36 | rm -rf $(CARGO_VENDOR_DIR) | ||
1380 | 37 | # Deliberately don't use the wrapper, as it expects the configure step | ||
1381 | 38 | # to have occurred already. | ||
1382 | 39 | # If you have to modify the path here, don't forget to change the README.source doc | ||
1383 | 40 | # as well. | ||
1384 | 41 | env -i cargo-vendor-filterer -F crypto-openssl --no-default-features --tier 2 --platform '*-*-linux-gnu' --platform '*-*-linux-gnueabi' $(CARGO_VENDOR_DIR) | ||
1385 | 42 | |||
1386 | 43 | vendor-deps: vendor-deps-cargo | ||
1387 | 44 | # Remove unused and undesirable data files (e.g. test data for vendored crates) | ||
1388 | 45 | # The sequioia creates have a custom build script that uses the tests, so we keep them. | ||
1389 | 46 | mv $(CARGO_VENDOR_DIR)/sequoia-policy-config/tests $(CARGO_VENDOR_DIR)/sequoia-policy-config/tests.bak | ||
1390 | 47 | mv $(CARGO_VENDOR_DIR)/sequoia-openpgp/tests $(CARGO_VENDOR_DIR)/sequoia-openpgp/tests.bak | ||
1391 | 48 | rm -r \ | ||
1392 | 49 | $(CARGO_VENDOR_DIR)/*/test-data \ | ||
1393 | 50 | $(CARGO_VENDOR_DIR)/*/tests | ||
1394 | 51 | mv $(CARGO_VENDOR_DIR)/sequoia-policy-config/tests.bak $(CARGO_VENDOR_DIR)/sequoia-policy-config/tests | ||
1395 | 52 | mv $(CARGO_VENDOR_DIR)/sequoia-openpgp/tests.bak $(CARGO_VENDOR_DIR)/sequoia-openpgp/tests | ||
1396 | 53 | # Remove the checksum files to allow us to patch the crates to remove extraneous dependencies | ||
1397 | 54 | for crate in $(CARGO_VENDOR_DIR)/*; do \ | ||
1398 | 55 | sed -i 's/^{"files":.*"package":"\([a-z0-9]\+\)"}$$/{"files":{},"package":"\1"}/' $$crate/.cargo-checksum.json; \ | ||
1399 | 56 | done | ||
1400 | 57 | # Cleanup temp files | ||
1401 | 58 | rm -rf $(CARGO_HOME) | ||
1402 | 59 | |||
1403 | 60 | vendor-tarball: vendor-tarball-quick-check vendor-deps | ||
1404 | 61 | tar --sort=name --mtime=@0 --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime -caf ../$(VENDOR_TARBALL) $(CARGO_VENDOR_DIR) | ||
1405 | 62 | |||
1406 | 63 | override_dh_auto_configure: | ||
1407 | 64 | DEB_CARGO_CRATE=sequoia-sqv_$(shell dpkg-parsechangelog --show-field Version) \ | ||
1408 | 65 | $(CARGO) prepare-debian $(CARGO_VENDOR_DIR) | ||
1409 | 66 | # /usr/share/cargo/bin/dh-cargo-vendored-sources | ||
1410 | 67 | dh_auto_configure | ||
1411 | 68 | |||
1412 | 69 | override_dh_clean: | ||
1413 | 70 | dh_clean | ||
1414 | 71 | rm -rf $(CARGO_HOME) |
Hi Julian,
thank you very much for getting sequoia in shape for Ubuntu! This generally LGTM and IMO is a good example of how we do Rust packaging in Ubuntu main. It follows best-practices from https:/ /github. com/canonical/ ubuntu- mir/blob/ main/vendoring/ Rust.md – especially the .orig-rust- vendor. tar.xz vendoring tarball.
A small nitpick (non-blocking): You might want to add a debian/ README. source file, describing of how the vendoring tarball is created and how (vendored) dependencies can be updated. (Along the lines of https:/ /git.launchpad. net/ubuntu/ +source/ s390-tools/ tree/debian/ README. source)
Another non-blocking nitpick can be found in-line below.
The one blocking issue I discovered is that it FTBFS with the following error: ALLOW_SYSTEM_ CFLAGS= 1 pkg-config --libs --cflags openssl`
[...]
run pkg_config fail: Could not run `PKG_CONFIG_
The pkg-config command could not be found.
[...]
Adding "pkgconf" as a B-D (to find openssl system lib) fixes this. And you should probably do that.
Once that pkg-config issue is fixed. Feel free to upload!