diff options
-rw-r--r-- | Cargo.lock | 396 | ||||
-rw-r--r-- | Cargo.toml | 8 |
2 files changed, 278 insertions, 126 deletions
@@ -1,13 +1,10 @@ | |||
1 | # This file is automatically @generated by Cargo. | 1 | # This file is automatically @generated by Cargo. |
2 | # It is not intended for manual editing. | 2 | # It is not intended for manual editing. |
3 | [[package]] | 3 | [[package]] |
4 | name = "aho-corasick" | 4 | name = "anyhow" |
5 | version = "0.7.13" | 5 | version = "1.0.32" |
6 | source = "registry+https://github.com/rust-lang/crates.io-index" | 6 | source = "registry+https://github.com/rust-lang/crates.io-index" |
7 | checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86" | 7 | checksum = "6b602bfe940d21c130f3895acd65221e8a61270debe89d628b9cb4e3ccb8569b" |
8 | dependencies = [ | ||
9 | "memchr", | ||
10 | ] | ||
11 | 8 | ||
12 | [[package]] | 9 | [[package]] |
13 | name = "arc-swap" | 10 | name = "arc-swap" |
@@ -16,17 +13,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
16 | checksum = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034" | 13 | checksum = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034" |
17 | 14 | ||
18 | [[package]] | 15 | [[package]] |
19 | name = "atty" | ||
20 | version = "0.2.14" | ||
21 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
22 | checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" | ||
23 | dependencies = [ | ||
24 | "hermit-abi", | ||
25 | "libc", | ||
26 | "winapi 0.3.9", | ||
27 | ] | ||
28 | |||
29 | [[package]] | ||
30 | name = "autocfg" | 16 | name = "autocfg" |
31 | version = "0.1.7" | 17 | version = "0.1.7" |
32 | source = "registry+https://github.com/rust-lang/crates.io-index" | 18 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -39,12 +25,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
39 | checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" | 25 | checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" |
40 | 26 | ||
41 | [[package]] | 27 | [[package]] |
28 | name = "base64" | ||
29 | version = "0.9.3" | ||
30 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
31 | checksum = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643" | ||
32 | dependencies = [ | ||
33 | "byteorder", | ||
34 | "safemem", | ||
35 | ] | ||
36 | |||
37 | [[package]] | ||
42 | name = "bitflags" | 38 | name = "bitflags" |
43 | version = "1.2.1" | 39 | version = "1.2.1" |
44 | source = "registry+https://github.com/rust-lang/crates.io-index" | 40 | source = "registry+https://github.com/rust-lang/crates.io-index" |
45 | checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" | 41 | checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" |
46 | 42 | ||
47 | [[package]] | 43 | [[package]] |
44 | name = "buf_redux" | ||
45 | version = "0.8.4" | ||
46 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
47 | checksum = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f" | ||
48 | dependencies = [ | ||
49 | "memchr", | ||
50 | "safemem", | ||
51 | ] | ||
52 | |||
53 | [[package]] | ||
54 | name = "byteorder" | ||
55 | version = "1.3.4" | ||
56 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
57 | checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" | ||
58 | |||
59 | [[package]] | ||
48 | name = "bytes" | 60 | name = "bytes" |
49 | version = "0.5.6" | 61 | version = "0.5.6" |
50 | source = "registry+https://github.com/rust-lang/crates.io-index" | 62 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -66,19 +78,6 @@ dependencies = [ | |||
66 | ] | 78 | ] |
67 | 79 | ||
68 | [[package]] | 80 | [[package]] |
69 | name = "env_logger" | ||
70 | version = "0.7.1" | ||
71 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
72 | checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" | ||
73 | dependencies = [ | ||
74 | "atty", | ||
75 | "humantime", | ||
76 | "log", | ||
77 | "regex", | ||
78 | "termcolor", | ||
79 | ] | ||
80 | |||
81 | [[package]] | ||
82 | name = "fallible-iterator" | 81 | name = "fallible-iterator" |
83 | version = "0.2.0" | 82 | version = "0.2.0" |
84 | source = "registry+https://github.com/rust-lang/crates.io-index" | 83 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -134,18 +133,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
134 | checksum = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399" | 133 | checksum = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399" |
135 | 134 | ||
136 | [[package]] | 135 | [[package]] |
137 | name = "futures-macro" | ||
138 | version = "0.3.5" | ||
139 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
140 | checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" | ||
141 | dependencies = [ | ||
142 | "proc-macro-hack", | ||
143 | "proc-macro2", | ||
144 | "quote", | ||
145 | "syn", | ||
146 | ] | ||
147 | |||
148 | [[package]] | ||
149 | name = "futures-sink" | 136 | name = "futures-sink" |
150 | version = "0.3.5" | 137 | version = "0.3.5" |
151 | source = "registry+https://github.com/rust-lang/crates.io-index" | 138 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -156,9 +143,6 @@ name = "futures-task" | |||
156 | version = "0.3.5" | 143 | version = "0.3.5" |
157 | source = "registry+https://github.com/rust-lang/crates.io-index" | 144 | source = "registry+https://github.com/rust-lang/crates.io-index" |
158 | checksum = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626" | 145 | checksum = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626" |
159 | dependencies = [ | ||
160 | "once_cell", | ||
161 | ] | ||
162 | 146 | ||
163 | [[package]] | 147 | [[package]] |
164 | name = "futures-util" | 148 | name = "futures-util" |
@@ -167,13 +151,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
167 | checksum = "8764574ff08b701a084482c3c7031349104b07ac897393010494beaa18ce32c6" | 151 | checksum = "8764574ff08b701a084482c3c7031349104b07ac897393010494beaa18ce32c6" |
168 | dependencies = [ | 152 | dependencies = [ |
169 | "futures-core", | 153 | "futures-core", |
170 | "futures-macro", | ||
171 | "futures-task", | 154 | "futures-task", |
172 | "pin-project", | 155 | "pin-project", |
173 | "pin-utils", | 156 | "pin-utils", |
174 | "proc-macro-hack", | 157 | ] |
175 | "proc-macro-nested", | 158 | |
176 | "slab", | 159 | [[package]] |
160 | name = "getrandom" | ||
161 | version = "0.1.14" | ||
162 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
163 | checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" | ||
164 | dependencies = [ | ||
165 | "cfg-if", | ||
166 | "libc", | ||
167 | "wasi", | ||
177 | ] | 168 | ] |
178 | 169 | ||
179 | [[package]] | 170 | [[package]] |
@@ -208,13 +199,13 @@ dependencies = [ | |||
208 | name = "hedge" | 199 | name = "hedge" |
209 | version = "0.1.0" | 200 | version = "0.1.0" |
210 | dependencies = [ | 201 | dependencies = [ |
211 | "futures-util", | 202 | "anyhow", |
212 | "hyper", | 203 | "hyper 0.13.7", |
204 | "multipart", | ||
213 | "nanoid", | 205 | "nanoid", |
214 | "pretty_env_logger", | ||
215 | "rusqlite", | 206 | "rusqlite", |
216 | "tokio", | 207 | "tokio", |
217 | "url", | 208 | "url 2.1.1", |
218 | ] | 209 | ] |
219 | 210 | ||
220 | [[package]] | 211 | [[package]] |
@@ -254,12 +245,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
254 | checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" | 245 | checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" |
255 | 246 | ||
256 | [[package]] | 247 | [[package]] |
257 | name = "humantime" | 248 | name = "hyper" |
258 | version = "1.3.0" | 249 | version = "0.10.16" |
259 | source = "registry+https://github.com/rust-lang/crates.io-index" | 250 | source = "registry+https://github.com/rust-lang/crates.io-index" |
260 | checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" | 251 | checksum = "0a0652d9a2609a968c14be1a9ea00bf4b1d64e2e1f53a1b51b6fff3a6e829273" |
261 | dependencies = [ | 252 | dependencies = [ |
262 | "quick-error", | 253 | "base64", |
254 | "httparse", | ||
255 | "language-tags", | ||
256 | "log 0.3.9", | ||
257 | "mime 0.2.6", | ||
258 | "num_cpus", | ||
259 | "time", | ||
260 | "traitobject", | ||
261 | "typeable", | ||
262 | "unicase 1.4.2", | ||
263 | "url 1.7.2", | ||
263 | ] | 264 | ] |
264 | 265 | ||
265 | [[package]] | 266 | [[package]] |
@@ -288,6 +289,17 @@ dependencies = [ | |||
288 | 289 | ||
289 | [[package]] | 290 | [[package]] |
290 | name = "idna" | 291 | name = "idna" |
292 | version = "0.1.5" | ||
293 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
294 | checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" | ||
295 | dependencies = [ | ||
296 | "matches", | ||
297 | "unicode-bidi", | ||
298 | "unicode-normalization", | ||
299 | ] | ||
300 | |||
301 | [[package]] | ||
302 | name = "idna" | ||
291 | version = "0.2.0" | 303 | version = "0.2.0" |
292 | source = "registry+https://github.com/rust-lang/crates.io-index" | 304 | source = "registry+https://github.com/rust-lang/crates.io-index" |
293 | checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" | 305 | checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" |
@@ -333,6 +345,12 @@ dependencies = [ | |||
333 | ] | 345 | ] |
334 | 346 | ||
335 | [[package]] | 347 | [[package]] |
348 | name = "language-tags" | ||
349 | version = "0.2.2" | ||
350 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
351 | checksum = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a" | ||
352 | |||
353 | [[package]] | ||
336 | name = "lazy_static" | 354 | name = "lazy_static" |
337 | version = "1.4.0" | 355 | version = "1.4.0" |
338 | source = "registry+https://github.com/rust-lang/crates.io-index" | 356 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -362,6 +380,15 @@ checksum = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a" | |||
362 | 380 | ||
363 | [[package]] | 381 | [[package]] |
364 | name = "log" | 382 | name = "log" |
383 | version = "0.3.9" | ||
384 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
385 | checksum = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" | ||
386 | dependencies = [ | ||
387 | "log 0.4.11", | ||
388 | ] | ||
389 | |||
390 | [[package]] | ||
391 | name = "log" | ||
365 | version = "0.4.11" | 392 | version = "0.4.11" |
366 | source = "registry+https://github.com/rust-lang/crates.io-index" | 393 | source = "registry+https://github.com/rust-lang/crates.io-index" |
367 | checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" | 394 | checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" |
@@ -391,6 +418,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
391 | checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" | 418 | checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" |
392 | 419 | ||
393 | [[package]] | 420 | [[package]] |
421 | name = "mime" | ||
422 | version = "0.2.6" | ||
423 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
424 | checksum = "ba626b8a6de5da682e1caa06bdb42a335aee5a84db8e5046a3e8ab17ba0a3ae0" | ||
425 | dependencies = [ | ||
426 | "log 0.3.9", | ||
427 | ] | ||
428 | |||
429 | [[package]] | ||
430 | name = "mime" | ||
431 | version = "0.3.16" | ||
432 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
433 | checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" | ||
434 | |||
435 | [[package]] | ||
436 | name = "mime_guess" | ||
437 | version = "2.0.3" | ||
438 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
439 | checksum = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212" | ||
440 | dependencies = [ | ||
441 | "mime 0.3.16", | ||
442 | "unicase 2.6.0", | ||
443 | ] | ||
444 | |||
445 | [[package]] | ||
394 | name = "mio" | 446 | name = "mio" |
395 | version = "0.6.22" | 447 | version = "0.6.22" |
396 | source = "registry+https://github.com/rust-lang/crates.io-index" | 448 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -402,7 +454,7 @@ dependencies = [ | |||
402 | "iovec", | 454 | "iovec", |
403 | "kernel32-sys", | 455 | "kernel32-sys", |
404 | "libc", | 456 | "libc", |
405 | "log", | 457 | "log 0.4.11", |
406 | "miow 0.2.1", | 458 | "miow 0.2.1", |
407 | "net2", | 459 | "net2", |
408 | "slab", | 460 | "slab", |
@@ -415,7 +467,7 @@ version = "0.1.7" | |||
415 | source = "registry+https://github.com/rust-lang/crates.io-index" | 467 | source = "registry+https://github.com/rust-lang/crates.io-index" |
416 | checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" | 468 | checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" |
417 | dependencies = [ | 469 | dependencies = [ |
418 | "log", | 470 | "log 0.4.11", |
419 | "mio", | 471 | "mio", |
420 | "miow 0.3.5", | 472 | "miow 0.3.5", |
421 | "winapi 0.3.9", | 473 | "winapi 0.3.9", |
@@ -455,12 +507,31 @@ dependencies = [ | |||
455 | ] | 507 | ] |
456 | 508 | ||
457 | [[package]] | 509 | [[package]] |
510 | name = "multipart" | ||
511 | version = "0.17.0" | ||
512 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
513 | checksum = "8209c33c951f07387a8497841122fc6f712165e3f9bda3e6be4645b58188f676" | ||
514 | dependencies = [ | ||
515 | "buf_redux", | ||
516 | "httparse", | ||
517 | "hyper 0.10.16", | ||
518 | "log 0.4.11", | ||
519 | "mime 0.3.16", | ||
520 | "mime_guess", | ||
521 | "quick-error", | ||
522 | "rand 0.6.5", | ||
523 | "safemem", | ||
524 | "tempfile", | ||
525 | "twoway", | ||
526 | ] | ||
527 | |||
528 | [[package]] | ||
458 | name = "nanoid" | 529 | name = "nanoid" |
459 | version = "0.3.0" | 530 | version = "0.3.0" |
460 | source = "registry+https://github.com/rust-lang/crates.io-index" | 531 | source = "registry+https://github.com/rust-lang/crates.io-index" |
461 | checksum = "a6226bc4e142124cb44e309a37a04cd9bb10e740d8642855441d3b14808f635e" | 532 | checksum = "a6226bc4e142124cb44e309a37a04cd9bb10e740d8642855441d3b14808f635e" |
462 | dependencies = [ | 533 | dependencies = [ |
463 | "rand", | 534 | "rand 0.6.5", |
464 | ] | 535 | ] |
465 | 536 | ||
466 | [[package]] | 537 | [[package]] |
@@ -485,10 +556,10 @@ dependencies = [ | |||
485 | ] | 556 | ] |
486 | 557 | ||
487 | [[package]] | 558 | [[package]] |
488 | name = "once_cell" | 559 | name = "percent-encoding" |
489 | version = "1.4.1" | 560 | version = "1.0.1" |
490 | source = "registry+https://github.com/rust-lang/crates.io-index" | 561 | source = "registry+https://github.com/rust-lang/crates.io-index" |
491 | checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad" | 562 | checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" |
492 | 563 | ||
493 | [[package]] | 564 | [[package]] |
494 | name = "percent-encoding" | 565 | name = "percent-encoding" |
@@ -535,26 +606,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
535 | checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33" | 606 | checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33" |
536 | 607 | ||
537 | [[package]] | 608 | [[package]] |
538 | name = "pretty_env_logger" | 609 | name = "ppv-lite86" |
539 | version = "0.4.0" | 610 | version = "0.2.9" |
540 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
541 | checksum = "926d36b9553851b8b0005f1275891b392ee4d2d833852c417ed025477350fb9d" | ||
542 | dependencies = [ | ||
543 | "env_logger", | ||
544 | "log", | ||
545 | ] | ||
546 | |||
547 | [[package]] | ||
548 | name = "proc-macro-hack" | ||
549 | version = "0.5.18" | ||
550 | source = "registry+https://github.com/rust-lang/crates.io-index" | 611 | source = "registry+https://github.com/rust-lang/crates.io-index" |
551 | checksum = "99c605b9a0adc77b7211c6b1f722dcb613d68d66859a44f3d485a6da332b0598" | 612 | checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20" |
552 | |||
553 | [[package]] | ||
554 | name = "proc-macro-nested" | ||
555 | version = "0.1.6" | ||
556 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
557 | checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a" | ||
558 | 613 | ||
559 | [[package]] | 614 | [[package]] |
560 | name = "proc-macro2" | 615 | name = "proc-macro2" |
@@ -588,9 +643,9 @@ checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" | |||
588 | dependencies = [ | 643 | dependencies = [ |
589 | "autocfg 0.1.7", | 644 | "autocfg 0.1.7", |
590 | "libc", | 645 | "libc", |
591 | "rand_chacha", | 646 | "rand_chacha 0.1.1", |
592 | "rand_core 0.4.2", | 647 | "rand_core 0.4.2", |
593 | "rand_hc", | 648 | "rand_hc 0.1.0", |
594 | "rand_isaac", | 649 | "rand_isaac", |
595 | "rand_jitter", | 650 | "rand_jitter", |
596 | "rand_os", | 651 | "rand_os", |
@@ -600,6 +655,19 @@ dependencies = [ | |||
600 | ] | 655 | ] |
601 | 656 | ||
602 | [[package]] | 657 | [[package]] |
658 | name = "rand" | ||
659 | version = "0.7.3" | ||
660 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
661 | checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" | ||
662 | dependencies = [ | ||
663 | "getrandom", | ||
664 | "libc", | ||
665 | "rand_chacha 0.2.2", | ||
666 | "rand_core 0.5.1", | ||
667 | "rand_hc 0.2.0", | ||
668 | ] | ||
669 | |||
670 | [[package]] | ||
603 | name = "rand_chacha" | 671 | name = "rand_chacha" |
604 | version = "0.1.1" | 672 | version = "0.1.1" |
605 | source = "registry+https://github.com/rust-lang/crates.io-index" | 673 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -610,6 +678,16 @@ dependencies = [ | |||
610 | ] | 678 | ] |
611 | 679 | ||
612 | [[package]] | 680 | [[package]] |
681 | name = "rand_chacha" | ||
682 | version = "0.2.2" | ||
683 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
684 | checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" | ||
685 | dependencies = [ | ||
686 | "ppv-lite86", | ||
687 | "rand_core 0.5.1", | ||
688 | ] | ||
689 | |||
690 | [[package]] | ||
613 | name = "rand_core" | 691 | name = "rand_core" |
614 | version = "0.3.1" | 692 | version = "0.3.1" |
615 | source = "registry+https://github.com/rust-lang/crates.io-index" | 693 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -625,6 +703,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
625 | checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" | 703 | checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" |
626 | 704 | ||
627 | [[package]] | 705 | [[package]] |
706 | name = "rand_core" | ||
707 | version = "0.5.1" | ||
708 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
709 | checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" | ||
710 | dependencies = [ | ||
711 | "getrandom", | ||
712 | ] | ||
713 | |||
714 | [[package]] | ||
628 | name = "rand_hc" | 715 | name = "rand_hc" |
629 | version = "0.1.0" | 716 | version = "0.1.0" |
630 | source = "registry+https://github.com/rust-lang/crates.io-index" | 717 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -634,6 +721,15 @@ dependencies = [ | |||
634 | ] | 721 | ] |
635 | 722 | ||
636 | [[package]] | 723 | [[package]] |
724 | name = "rand_hc" | ||
725 | version = "0.2.0" | ||
726 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
727 | checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" | ||
728 | dependencies = [ | ||
729 | "rand_core 0.5.1", | ||
730 | ] | ||
731 | |||
732 | [[package]] | ||
637 | name = "rand_isaac" | 733 | name = "rand_isaac" |
638 | version = "0.1.1" | 734 | version = "0.1.1" |
639 | source = "registry+https://github.com/rust-lang/crates.io-index" | 735 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -702,24 +798,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
702 | checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" | 798 | checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" |
703 | 799 | ||
704 | [[package]] | 800 | [[package]] |
705 | name = "regex" | 801 | name = "remove_dir_all" |
706 | version = "1.3.9" | 802 | version = "0.5.3" |
707 | source = "registry+https://github.com/rust-lang/crates.io-index" | 803 | source = "registry+https://github.com/rust-lang/crates.io-index" |
708 | checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6" | 804 | checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" |
709 | dependencies = [ | 805 | dependencies = [ |
710 | "aho-corasick", | 806 | "winapi 0.3.9", |
711 | "memchr", | ||
712 | "regex-syntax", | ||
713 | "thread_local", | ||
714 | ] | 807 | ] |
715 | 808 | ||
716 | [[package]] | 809 | [[package]] |
717 | name = "regex-syntax" | ||
718 | version = "0.6.18" | ||
719 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
720 | checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8" | ||
721 | |||
722 | [[package]] | ||
723 | name = "rusqlite" | 810 | name = "rusqlite" |
724 | version = "0.24.0" | 811 | version = "0.24.0" |
725 | source = "registry+https://github.com/rust-lang/crates.io-index" | 812 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -735,6 +822,12 @@ dependencies = [ | |||
735 | ] | 822 | ] |
736 | 823 | ||
737 | [[package]] | 824 | [[package]] |
825 | name = "safemem" | ||
826 | version = "0.3.3" | ||
827 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
828 | checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" | ||
829 | |||
830 | [[package]] | ||
738 | name = "signal-hook-registry" | 831 | name = "signal-hook-registry" |
739 | version = "1.2.1" | 832 | version = "1.2.1" |
740 | source = "registry+https://github.com/rust-lang/crates.io-index" | 833 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -780,21 +873,17 @@ dependencies = [ | |||
780 | ] | 873 | ] |
781 | 874 | ||
782 | [[package]] | 875 | [[package]] |
783 | name = "termcolor" | 876 | name = "tempfile" |
784 | version = "1.1.0" | 877 | version = "3.1.0" |
785 | source = "registry+https://github.com/rust-lang/crates.io-index" | 878 | source = "registry+https://github.com/rust-lang/crates.io-index" |
786 | checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" | 879 | checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" |
787 | dependencies = [ | 880 | dependencies = [ |
788 | "winapi-util", | 881 | "cfg-if", |
789 | ] | 882 | "libc", |
790 | 883 | "rand 0.7.3", | |
791 | [[package]] | 884 | "redox_syscall", |
792 | name = "thread_local" | 885 | "remove_dir_all", |
793 | version = "1.0.1" | 886 | "winapi 0.3.9", |
794 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
795 | checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" | ||
796 | dependencies = [ | ||
797 | "lazy_static", | ||
798 | ] | 887 | ] |
799 | 888 | ||
800 | [[package]] | 889 | [[package]] |
@@ -857,7 +946,7 @@ dependencies = [ | |||
857 | "bytes", | 946 | "bytes", |
858 | "futures-core", | 947 | "futures-core", |
859 | "futures-sink", | 948 | "futures-sink", |
860 | "log", | 949 | "log 0.4.11", |
861 | "pin-project-lite", | 950 | "pin-project-lite", |
862 | "tokio", | 951 | "tokio", |
863 | ] | 952 | ] |
@@ -875,7 +964,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
875 | checksum = "6d79ca061b032d6ce30c660fded31189ca0b9922bf483cd70759f13a2d86786c" | 964 | checksum = "6d79ca061b032d6ce30c660fded31189ca0b9922bf483cd70759f13a2d86786c" |
876 | dependencies = [ | 965 | dependencies = [ |
877 | "cfg-if", | 966 | "cfg-if", |
878 | "log", | 967 | "log 0.4.11", |
879 | "tracing-core", | 968 | "tracing-core", |
880 | ] | 969 | ] |
881 | 970 | ||
@@ -889,12 +978,51 @@ dependencies = [ | |||
889 | ] | 978 | ] |
890 | 979 | ||
891 | [[package]] | 980 | [[package]] |
981 | name = "traitobject" | ||
982 | version = "0.1.0" | ||
983 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
984 | checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079" | ||
985 | |||
986 | [[package]] | ||
892 | name = "try-lock" | 987 | name = "try-lock" |
893 | version = "0.2.3" | 988 | version = "0.2.3" |
894 | source = "registry+https://github.com/rust-lang/crates.io-index" | 989 | source = "registry+https://github.com/rust-lang/crates.io-index" |
895 | checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" | 990 | checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" |
896 | 991 | ||
897 | [[package]] | 992 | [[package]] |
993 | name = "twoway" | ||
994 | version = "0.1.8" | ||
995 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
996 | checksum = "59b11b2b5241ba34be09c3cc85a36e56e48f9888862e19cedf23336d35316ed1" | ||
997 | dependencies = [ | ||
998 | "memchr", | ||
999 | ] | ||
1000 | |||
1001 | [[package]] | ||
1002 | name = "typeable" | ||
1003 | version = "0.1.2" | ||
1004 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1005 | checksum = "1410f6f91f21d1612654e7cc69193b0334f909dcf2c790c4826254fbb86f8887" | ||
1006 | |||
1007 | [[package]] | ||
1008 | name = "unicase" | ||
1009 | version = "1.4.2" | ||
1010 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1011 | checksum = "7f4765f83163b74f957c797ad9253caf97f103fb064d3999aea9568d09fc8a33" | ||
1012 | dependencies = [ | ||
1013 | "version_check 0.1.5", | ||
1014 | ] | ||
1015 | |||
1016 | [[package]] | ||
1017 | name = "unicase" | ||
1018 | version = "2.6.0" | ||
1019 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1020 | checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" | ||
1021 | dependencies = [ | ||
1022 | "version_check 0.9.2", | ||
1023 | ] | ||
1024 | |||
1025 | [[package]] | ||
898 | name = "unicode-bidi" | 1026 | name = "unicode-bidi" |
899 | version = "0.3.4" | 1027 | version = "0.3.4" |
900 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1028 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -920,13 +1048,24 @@ checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" | |||
920 | 1048 | ||
921 | [[package]] | 1049 | [[package]] |
922 | name = "url" | 1050 | name = "url" |
1051 | version = "1.7.2" | ||
1052 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1053 | checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" | ||
1054 | dependencies = [ | ||
1055 | "idna 0.1.5", | ||
1056 | "matches", | ||
1057 | "percent-encoding 1.0.1", | ||
1058 | ] | ||
1059 | |||
1060 | [[package]] | ||
1061 | name = "url" | ||
923 | version = "2.1.1" | 1062 | version = "2.1.1" |
924 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1063 | source = "registry+https://github.com/rust-lang/crates.io-index" |
925 | checksum = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb" | 1064 | checksum = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb" |
926 | dependencies = [ | 1065 | dependencies = [ |
927 | "idna", | 1066 | "idna 0.2.0", |
928 | "matches", | 1067 | "matches", |
929 | "percent-encoding", | 1068 | "percent-encoding 2.1.0", |
930 | ] | 1069 | ] |
931 | 1070 | ||
932 | [[package]] | 1071 | [[package]] |
@@ -936,16 +1075,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
936 | checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c" | 1075 | checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c" |
937 | 1076 | ||
938 | [[package]] | 1077 | [[package]] |
1078 | name = "version_check" | ||
1079 | version = "0.1.5" | ||
1080 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1081 | checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" | ||
1082 | |||
1083 | [[package]] | ||
1084 | name = "version_check" | ||
1085 | version = "0.9.2" | ||
1086 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1087 | checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" | ||
1088 | |||
1089 | [[package]] | ||
939 | name = "want" | 1090 | name = "want" |
940 | version = "0.3.0" | 1091 | version = "0.3.0" |
941 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1092 | source = "registry+https://github.com/rust-lang/crates.io-index" |
942 | checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" | 1093 | checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" |
943 | dependencies = [ | 1094 | dependencies = [ |
944 | "log", | 1095 | "log 0.4.11", |
945 | "try-lock", | 1096 | "try-lock", |
946 | ] | 1097 | ] |
947 | 1098 | ||
948 | [[package]] | 1099 | [[package]] |
1100 | name = "wasi" | ||
1101 | version = "0.9.0+wasi-snapshot-preview1" | ||
1102 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1103 | checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" | ||
1104 | |||
1105 | [[package]] | ||
949 | name = "winapi" | 1106 | name = "winapi" |
950 | version = "0.2.8" | 1107 | version = "0.2.8" |
951 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1108 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -974,15 +1131,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
974 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | 1131 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" |
975 | 1132 | ||
976 | [[package]] | 1133 | [[package]] |
977 | name = "winapi-util" | ||
978 | version = "0.1.5" | ||
979 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
980 | checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" | ||
981 | dependencies = [ | ||
982 | "winapi 0.3.9", | ||
983 | ] | ||
984 | |||
985 | [[package]] | ||
986 | name = "winapi-x86_64-pc-windows-gnu" | 1134 | name = "winapi-x86_64-pc-windows-gnu" |
987 | version = "0.4.0" | 1135 | version = "0.4.0" |
988 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1136 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -9,8 +9,12 @@ edition = "2018" | |||
9 | [dependencies] | 9 | [dependencies] |
10 | hyper = "0.13" | 10 | hyper = "0.13" |
11 | tokio = { version = "0.2", features = ["full"] } | 11 | tokio = { version = "0.2", features = ["full"] } |
12 | pretty_env_logger = "0.4" | ||
13 | futures-util = "0.3.5" | ||
14 | rusqlite = "0.24.0" | 12 | rusqlite = "0.24.0" |
15 | nanoid = "0.3.0" | 13 | nanoid = "0.3.0" |
16 | url = "2.1.1" | 14 | url = "2.1.1" |
15 | anyhow = "1.0" | ||
16 | |||
17 | [dependencies.multipart] | ||
18 | default-features = false | ||
19 | features = [ "hyper", "server" ] | ||
20 | version = "0.17.0" | ||