浏览代码

Use external fswatcher library.

父节点
当前提交
ea9afff8d2
共有 7 个文件被更改,包括 211 次插入390 次删除
  1. 196
    257
      Cargo.lock
  2. 2
    2
      Cargo.toml
  3. 1
    0
      src/bin/cli.rs
  4. 0
    113
      src/file_event_delay.rs
  5. 8
    14
      src/file_system_watcher.rs
  6. 4
    3
      src/file_tree.rs
  7. 0
    1
      src/lib.rs

+ 196
- 257
Cargo.lock 查看文件

@@ -2,10 +2,10 @@
2 2
 # It is not intended for manual editing.
3 3
 [[package]]
4 4
 name = "aho-corasick"
5
-version = "0.7.6"
5
+version = "0.7.7"
6 6
 source = "registry+https://github.com/rust-lang/crates.io-index"
7 7
 dependencies = [
8
- "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
8
+ "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
9 9
 ]
10 10
 
11 11
 [[package]]
@@ -18,7 +18,7 @@ dependencies = [
18 18
 
19 19
 [[package]]
20 20
 name = "arrayref"
21
-version = "0.3.5"
21
+version = "0.3.6"
22 22
 source = "registry+https://github.com/rust-lang/crates.io-index"
23 23
 
24 24
 [[package]]
@@ -28,52 +28,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
28 28
 
29 29
 [[package]]
30 30
 name = "async-tungstenite"
31
-version = "0.3.0"
31
+version = "0.3.1"
32 32
 source = "registry+https://github.com/rust-lang/crates.io-index"
33 33
 dependencies = [
34 34
  "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
35 35
  "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
36
- "pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
37
- "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
36
+ "pin-project 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
37
+ "tokio 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
38 38
  "tungstenite 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
39 39
 ]
40 40
 
41 41
 [[package]]
42 42
 name = "atty"
43
-version = "0.2.13"
43
+version = "0.2.14"
44 44
 source = "registry+https://github.com/rust-lang/crates.io-index"
45 45
 dependencies = [
46
+ "hermit-abi 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
46 47
  "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
47 48
  "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
48 49
 ]
49 50
 
50 51
 [[package]]
51
-name = "backtrace"
52
-version = "0.3.40"
53
-source = "registry+https://github.com/rust-lang/crates.io-index"
54
-dependencies = [
55
- "backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
56
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
57
- "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
58
- "rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
59
-]
60
-
61
-[[package]]
62
-name = "backtrace-sys"
63
-version = "0.1.32"
52
+name = "autocfg"
53
+version = "0.1.7"
64 54
 source = "registry+https://github.com/rust-lang/crates.io-index"
65
-dependencies = [
66
- "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)",
67
- "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
68
-]
69
-
70
-[[package]]
71
-name = "base64"
72
-version = "0.10.1"
73
-source = "registry+https://github.com/rust-lang/crates.io-index"
74
-dependencies = [
75
- "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
76
-]
77 55
 
78 56
 [[package]]
79 57
 name = "base64"
@@ -87,12 +65,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
87 65
 
88 66
 [[package]]
89 67
 name = "blake2b_simd"
90
-version = "0.5.9"
68
+version = "0.5.10"
91 69
 source = "registry+https://github.com/rust-lang/crates.io-index"
92 70
 dependencies = [
93
- "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
71
+ "arrayref 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
94 72
  "arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
95
- "constant_time_eq 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
73
+ "constant_time_eq 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
96 74
 ]
97 75
 
98 76
 [[package]]
@@ -135,7 +113,7 @@ dependencies = [
135 113
 
136 114
 [[package]]
137 115
 name = "bytes"
138
-version = "0.5.3"
116
+version = "0.5.4"
139 117
 source = "registry+https://github.com/rust-lang/crates.io-index"
140 118
 
141 119
 [[package]]
@@ -146,11 +124,6 @@ dependencies = [
146 124
  "ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
147 125
 ]
148 126
 
149
-[[package]]
150
-name = "cc"
151
-version = "1.0.48"
152
-source = "registry+https://github.com/rust-lang/crates.io-index"
153
-
154 127
 [[package]]
155 128
 name = "cfg-if"
156 129
 version = "0.1.10"
@@ -162,7 +135,7 @@ version = "2.33.0"
162 135
 source = "registry+https://github.com/rust-lang/crates.io-index"
163 136
 dependencies = [
164 137
  "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
165
- "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
138
+ "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
166 139
  "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
167 140
  "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
168 141
  "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -170,24 +143,17 @@ dependencies = [
170 143
  "vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
171 144
 ]
172 145
 
173
-[[package]]
174
-name = "cloudabi"
175
-version = "0.0.3"
176
-source = "registry+https://github.com/rust-lang/crates.io-index"
177
-dependencies = [
178
- "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
179
-]
180
-
181 146
 [[package]]
182 147
 name = "constant_time_eq"
183
-version = "0.1.4"
148
+version = "0.1.5"
184 149
 source = "registry+https://github.com/rust-lang/crates.io-index"
185 150
 
186 151
 [[package]]
187 152
 name = "crossbeam-utils"
188
-version = "0.6.6"
153
+version = "0.7.0"
189 154
 source = "registry+https://github.com/rust-lang/crates.io-index"
190 155
 dependencies = [
156
+ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
191 157
  "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
192 158
  "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
193 159
 ]
@@ -216,7 +182,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
216 182
 dependencies = [
217 183
  "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
218 184
  "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
219
- "redox_users 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
185
+ "redox_users 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
220 186
  "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
221 187
 ]
222 188
 
@@ -225,31 +191,11 @@ name = "env_logger"
225 191
 version = "0.7.1"
226 192
 source = "registry+https://github.com/rust-lang/crates.io-index"
227 193
 dependencies = [
228
- "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
194
+ "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
229 195
  "humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
230 196
  "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
231
- "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
232
- "termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
233
-]
234
-
235
-[[package]]
236
-name = "failure"
237
-version = "0.1.6"
238
-source = "registry+https://github.com/rust-lang/crates.io-index"
239
-dependencies = [
240
- "backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)",
241
- "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
242
-]
243
-
244
-[[package]]
245
-name = "failure_derive"
246
-version = "0.1.6"
247
-source = "registry+https://github.com/rust-lang/crates.io-index"
248
-dependencies = [
249
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
250
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
251
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
252
- "synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)",
197
+ "regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
198
+ "termcolor 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
253 199
 ]
254 200
 
255 201
 [[package]]
@@ -263,9 +209,15 @@ version = "1.0.6"
263 209
 source = "registry+https://github.com/rust-lang/crates.io-index"
264 210
 
265 211
 [[package]]
266
-name = "fuchsia-cprng"
267
-version = "0.1.1"
268
-source = "registry+https://github.com/rust-lang/crates.io-index"
212
+name = "fswatcher"
213
+version = "0.1.0"
214
+source = "git+https://github.com/mgottschlag/fswatcher-rs.git#5a0cfdc08d8037094b591e5e587bc78923d9c6eb"
215
+dependencies = [
216
+ "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
217
+ "futures-tokio-compat 0.1.0 (git+https://github.com/mgottschlag/futures-tokio-compat.git)",
218
+ "inotify 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
219
+ "tokio 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
220
+]
269 221
 
270 222
 [[package]]
271 223
 name = "fuchsia-zircon"
@@ -330,9 +282,9 @@ version = "0.3.1"
330 282
 source = "registry+https://github.com/rust-lang/crates.io-index"
331 283
 dependencies = [
332 284
  "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)",
333
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
285
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
334 286
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
335
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
287
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
336 288
 ]
337 289
 
338 290
 [[package]]
@@ -351,8 +303,8 @@ version = "0.1.0"
351 303
 source = "git+https://github.com/mgottschlag/futures-tokio-compat.git#b1cace55e11809e16e1fe83af308aff7629c792a"
352 304
 dependencies = [
353 305
  "futures-io 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
354
- "pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
355
- "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
306
+ "pin-project 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
307
+ "tokio 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
356 308
 ]
357 309
 
358 310
 [[package]]
@@ -366,7 +318,7 @@ dependencies = [
366 318
  "futures-macro 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
367 319
  "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
368 320
  "futures-task 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
369
- "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
321
+ "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
370 322
  "pin-utils 0.1.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)",
371 323
  "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)",
372 324
  "proc-macro-nested 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -383,12 +335,12 @@ dependencies = [
383 335
 
384 336
 [[package]]
385 337
 name = "getrandom"
386
-version = "0.1.13"
338
+version = "0.1.14"
387 339
 source = "registry+https://github.com/rust-lang/crates.io-index"
388 340
 dependencies = [
389 341
  "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
390 342
  "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
391
- "wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
343
+ "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)",
392 344
 ]
393 345
 
394 346
 [[package]]
@@ -399,6 +351,14 @@ dependencies = [
399 351
  "unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
400 352
 ]
401 353
 
354
+[[package]]
355
+name = "hermit-abi"
356
+version = "0.1.6"
357
+source = "registry+https://github.com/rust-lang/crates.io-index"
358
+dependencies = [
359
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
360
+]
361
+
402 362
 [[package]]
403 363
 name = "http"
404 364
 version = "0.1.21"
@@ -406,7 +366,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
406 366
 dependencies = [
407 367
  "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
408 368
  "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
409
- "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
369
+ "itoa 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
410 370
 ]
411 371
 
412 372
 [[package]]
@@ -429,12 +389,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
429 389
 dependencies = [
430 390
  "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
431 391
  "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
432
- "unicode-normalization 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
392
+ "unicode-normalization 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
433 393
 ]
434 394
 
435 395
 [[package]]
436 396
 name = "inotify"
437
-version = "0.8.0"
397
+version = "0.8.2"
438 398
 source = "registry+https://github.com/rust-lang/crates.io-index"
439 399
 dependencies = [
440 400
  "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -442,7 +402,7 @@ dependencies = [
442 402
  "inotify-sys 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
443 403
  "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
444 404
  "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
445
- "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
405
+ "tokio 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
446 406
 ]
447 407
 
448 408
 [[package]]
@@ -471,7 +431,7 @@ dependencies = [
471 431
 
472 432
 [[package]]
473 433
 name = "itoa"
474
-version = "0.4.4"
434
+version = "0.4.5"
475 435
 source = "registry+https://github.com/rust-lang/crates.io-index"
476 436
 
477 437
 [[package]]
@@ -508,7 +468,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
508 468
 
509 469
 [[package]]
510 470
 name = "memchr"
511
-version = "2.2.1"
471
+version = "2.3.0"
512 472
 source = "registry+https://github.com/rust-lang/crates.io-index"
513 473
 
514 474
 [[package]]
@@ -560,6 +520,15 @@ dependencies = [
560 520
  "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
561 521
 ]
562 522
 
523
+[[package]]
524
+name = "num_cpus"
525
+version = "1.12.0"
526
+source = "registry+https://github.com/rust-lang/crates.io-index"
527
+dependencies = [
528
+ "hermit-abi 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
529
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
530
+]
531
+
563 532
 [[package]]
564 533
 name = "opaque-debug"
565 534
 version = "0.2.3"
@@ -572,25 +541,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
572 541
 
573 542
 [[package]]
574 543
 name = "pin-project"
575
-version = "0.4.6"
544
+version = "0.4.8"
576 545
 source = "registry+https://github.com/rust-lang/crates.io-index"
577 546
 dependencies = [
578
- "pin-project-internal 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
547
+ "pin-project-internal 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
579 548
 ]
580 549
 
581 550
 [[package]]
582 551
 name = "pin-project-internal"
583
-version = "0.4.6"
552
+version = "0.4.8"
584 553
 source = "registry+https://github.com/rust-lang/crates.io-index"
585 554
 dependencies = [
586
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
555
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
587 556
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
588
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
557
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
589 558
 ]
590 559
 
591 560
 [[package]]
592 561
 name = "pin-project-lite"
593
-version = "0.1.1"
562
+version = "0.1.4"
594 563
 source = "registry+https://github.com/rust-lang/crates.io-index"
595 564
 
596 565
 [[package]]
@@ -605,12 +574,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
605 574
 
606 575
 [[package]]
607 576
 name = "proc-macro-error"
608
-version = "0.2.6"
577
+version = "0.4.6"
578
+source = "registry+https://github.com/rust-lang/crates.io-index"
579
+dependencies = [
580
+ "proc-macro-error-attr 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
581
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
582
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
583
+ "rustversion 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
584
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
585
+]
586
+
587
+[[package]]
588
+name = "proc-macro-error-attr"
589
+version = "0.4.6"
609 590
 source = "registry+https://github.com/rust-lang/crates.io-index"
610 591
 dependencies = [
611
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
592
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
612 593
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
613
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
594
+ "rustversion 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
595
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
596
+ "syn-mid 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
614 597
 ]
615 598
 
616 599
 [[package]]
@@ -618,9 +601,9 @@ name = "proc-macro-hack"
618 601
 version = "0.5.11"
619 602
 source = "registry+https://github.com/rust-lang/crates.io-index"
620 603
 dependencies = [
621
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
604
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
622 605
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
623
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
606
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
624 607
 ]
625 608
 
626 609
 [[package]]
@@ -630,7 +613,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
630 613
 
631 614
 [[package]]
632 615
 name = "proc-macro2"
633
-version = "1.0.6"
616
+version = "1.0.8"
634 617
 source = "registry+https://github.com/rust-lang/crates.io-index"
635 618
 dependencies = [
636 619
  "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -646,15 +629,15 @@ name = "quote"
646 629
 version = "1.0.2"
647 630
 source = "registry+https://github.com/rust-lang/crates.io-index"
648 631
 dependencies = [
649
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
632
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
650 633
 ]
651 634
 
652 635
 [[package]]
653 636
 name = "rand"
654
-version = "0.7.2"
637
+version = "0.7.3"
655 638
 source = "registry+https://github.com/rust-lang/crates.io-index"
656 639
 dependencies = [
657
- "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
640
+ "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
658 641
  "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
659 642
  "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
660 643
  "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -670,25 +653,12 @@ dependencies = [
670 653
  "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
671 654
 ]
672 655
 
673
-[[package]]
674
-name = "rand_core"
675
-version = "0.3.1"
676
-source = "registry+https://github.com/rust-lang/crates.io-index"
677
-dependencies = [
678
- "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
679
-]
680
-
681
-[[package]]
682
-name = "rand_core"
683
-version = "0.4.2"
684
-source = "registry+https://github.com/rust-lang/crates.io-index"
685
-
686 656
 [[package]]
687 657
 name = "rand_core"
688 658
 version = "0.5.1"
689 659
 source = "registry+https://github.com/rust-lang/crates.io-index"
690 660
 dependencies = [
691
- "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
661
+ "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
692 662
 ]
693 663
 
694 664
 [[package]]
@@ -699,27 +669,6 @@ dependencies = [
699 669
  "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
700 670
 ]
701 671
 
702
-[[package]]
703
-name = "rand_os"
704
-version = "0.1.3"
705
-source = "registry+https://github.com/rust-lang/crates.io-index"
706
-dependencies = [
707
- "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
708
- "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
709
- "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
710
- "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
711
- "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
712
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
713
-]
714
-
715
-[[package]]
716
-name = "rdrand"
717
-version = "0.4.0"
718
-source = "registry+https://github.com/rust-lang/crates.io-index"
719
-dependencies = [
720
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
721
-]
722
-
723 672
 [[package]]
724 673
 name = "redox_syscall"
725 674
 version = "0.1.56"
@@ -727,45 +676,50 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
727 676
 
728 677
 [[package]]
729 678
 name = "redox_users"
730
-version = "0.3.1"
679
+version = "0.3.4"
731 680
 source = "registry+https://github.com/rust-lang/crates.io-index"
732 681
 dependencies = [
733
- "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
734
- "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
682
+ "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
735 683
  "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
736
- "rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
684
+ "rust-argon2 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
737 685
 ]
738 686
 
739 687
 [[package]]
740 688
 name = "regex"
741
-version = "1.3.1"
689
+version = "1.3.4"
742 690
 source = "registry+https://github.com/rust-lang/crates.io-index"
743 691
 dependencies = [
744
- "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
745
- "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
746
- "regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
747
- "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
692
+ "aho-corasick 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)",
693
+ "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
694
+ "regex-syntax 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)",
695
+ "thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
748 696
 ]
749 697
 
750 698
 [[package]]
751 699
 name = "regex-syntax"
752
-version = "0.6.12"
700
+version = "0.6.14"
753 701
 source = "registry+https://github.com/rust-lang/crates.io-index"
754 702
 
755 703
 [[package]]
756 704
 name = "rust-argon2"
757
-version = "0.5.1"
705
+version = "0.7.0"
758 706
 source = "registry+https://github.com/rust-lang/crates.io-index"
759 707
 dependencies = [
760
- "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
761
- "blake2b_simd 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
762
- "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
708
+ "base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
709
+ "blake2b_simd 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)",
710
+ "constant_time_eq 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
711
+ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
763 712
 ]
764 713
 
765 714
 [[package]]
766
-name = "rustc-demangle"
767
-version = "0.1.16"
715
+name = "rustversion"
716
+version = "1.0.2"
768 717
 source = "registry+https://github.com/rust-lang/crates.io-index"
718
+dependencies = [
719
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
720
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
721
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
722
+]
769 723
 
770 724
 [[package]]
771 725
 name = "ryu"
@@ -785,17 +739,17 @@ name = "serde_derive"
785 739
 version = "1.0.104"
786 740
 source = "registry+https://github.com/rust-lang/crates.io-index"
787 741
 dependencies = [
788
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
742
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
789 743
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
790
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
744
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
791 745
 ]
792 746
 
793 747
 [[package]]
794 748
 name = "serde_json"
795
-version = "1.0.44"
749
+version = "1.0.45"
796 750
 source = "registry+https://github.com/rust-lang/crates.io-index"
797 751
 dependencies = [
798
- "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
752
+ "itoa 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
799 753
  "ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
800 754
  "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
801 755
 ]
@@ -818,7 +772,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
818 772
 
819 773
 [[package]]
820 774
 name = "smallvec"
821
-version = "1.1.0"
775
+version = "1.2.0"
822 776
 source = "registry+https://github.com/rust-lang/crates.io-index"
823 777
 
824 778
 [[package]]
@@ -828,52 +782,52 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
828 782
 
829 783
 [[package]]
830 784
 name = "structopt"
831
-version = "0.3.5"
785
+version = "0.3.8"
832 786
 source = "registry+https://github.com/rust-lang/crates.io-index"
833 787
 dependencies = [
834 788
  "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
835
- "structopt-derive 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
789
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
790
+ "structopt-derive 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
836 791
 ]
837 792
 
838 793
 [[package]]
839 794
 name = "structopt-derive"
840
-version = "0.3.5"
795
+version = "0.4.1"
841 796
 source = "registry+https://github.com/rust-lang/crates.io-index"
842 797
 dependencies = [
843 798
  "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
844
- "proc-macro-error 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
845
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
799
+ "proc-macro-error 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
800
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
846 801
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
847
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
802
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
848 803
 ]
849 804
 
850 805
 [[package]]
851 806
 name = "syn"
852
-version = "1.0.11"
807
+version = "1.0.14"
853 808
 source = "registry+https://github.com/rust-lang/crates.io-index"
854 809
 dependencies = [
855
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
810
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
856 811
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
857 812
  "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
858 813
 ]
859 814
 
860 815
 [[package]]
861
-name = "synstructure"
862
-version = "0.12.3"
816
+name = "syn-mid"
817
+version = "0.5.0"
863 818
 source = "registry+https://github.com/rust-lang/crates.io-index"
864 819
 dependencies = [
865
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
820
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
866 821
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
867
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
868
- "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
822
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
869 823
 ]
870 824
 
871 825
 [[package]]
872 826
 name = "termcolor"
873
-version = "1.0.5"
827
+version = "1.1.0"
874 828
 source = "registry+https://github.com/rust-lang/crates.io-index"
875 829
 dependencies = [
876
- "wincolor 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
830
+ "winapi-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
877 831
 ]
878 832
 
879 833
 [[package]]
@@ -886,7 +840,7 @@ dependencies = [
886 840
 
887 841
 [[package]]
888 842
 name = "thread_local"
889
-version = "0.3.6"
843
+version = "1.0.1"
890 844
 source = "registry+https://github.com/rust-lang/crates.io-index"
891 845
 dependencies = [
892 846
  "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -894,30 +848,32 @@ dependencies = [
894 848
 
895 849
 [[package]]
896 850
 name = "tokio"
897
-version = "0.2.9"
851
+version = "0.2.11"
898 852
 source = "registry+https://github.com/rust-lang/crates.io-index"
899 853
 dependencies = [
900
- "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
854
+ "bytes 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)",
901 855
  "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
902 856
  "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
903 857
  "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
904 858
  "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
905 859
  "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
906
- "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
860
+ "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
907 861
  "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
908 862
  "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)",
909
- "pin-project-lite 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
863
+ "num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
864
+ "pin-project-lite 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
910 865
  "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
911
- "tokio-macros 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
866
+ "tokio-macros 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
912 867
 ]
913 868
 
914 869
 [[package]]
915 870
 name = "tokio-macros"
916
-version = "0.2.3"
871
+version = "0.2.4"
917 872
 source = "registry+https://github.com/rust-lang/crates.io-index"
918 873
 dependencies = [
874
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
919 875
  "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
920
- "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
876
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
921 877
 ]
922 878
 
923 879
 [[package]]
@@ -932,9 +888,9 @@ dependencies = [
932 888
  "httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
933 889
  "input_buffer 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
934 890
  "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
935
- "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
891
+ "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
936 892
  "sha-1 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
937
- "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
893
+ "url 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
938 894
  "utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
939 895
 ]
940 896
 
@@ -942,18 +898,18 @@ dependencies = [
942 898
 name = "twfss"
943 899
 version = "0.1.0"
944 900
 dependencies = [
945
- "async-tungstenite 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
901
+ "async-tungstenite 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
946 902
  "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
947 903
  "dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
948 904
  "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
905
+ "fswatcher 0.1.0 (git+https://github.com/mgottschlag/fswatcher-rs.git)",
949 906
  "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
950 907
  "futures-tokio-compat 0.1.0 (git+https://github.com/mgottschlag/futures-tokio-compat.git)",
951
- "inotify 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
952 908
  "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
953 909
  "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
954
- "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)",
955
- "structopt 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
956
- "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
910
+ "serde_json 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
911
+ "structopt 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
912
+ "tokio 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
957 913
 ]
958 914
 
959 915
 [[package]]
@@ -971,10 +927,10 @@ dependencies = [
971 927
 
972 928
 [[package]]
973 929
 name = "unicode-normalization"
974
-version = "0.1.11"
930
+version = "0.1.12"
975 931
 source = "registry+https://github.com/rust-lang/crates.io-index"
976 932
 dependencies = [
977
- "smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
933
+ "smallvec 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
978 934
 ]
979 935
 
980 936
 [[package]]
@@ -994,7 +950,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
994 950
 
995 951
 [[package]]
996 952
 name = "url"
997
-version = "2.1.0"
953
+version = "2.1.1"
998 954
 source = "registry+https://github.com/rust-lang/crates.io-index"
999 955
 dependencies = [
1000 956
  "idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1014,7 +970,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1014 970
 
1015 971
 [[package]]
1016 972
 name = "wasi"
1017
-version = "0.7.0"
973
+version = "0.9.0+wasi-snapshot-preview1"
1018 974
 source = "registry+https://github.com/rust-lang/crates.io-index"
1019 975
 
1020 976
 [[package]]
@@ -1043,7 +999,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1043 999
 
1044 1000
 [[package]]
1045 1001
 name = "winapi-util"
1046
-version = "0.1.2"
1002
+version = "0.1.3"
1047 1003
 source = "registry+https://github.com/rust-lang/crates.io-index"
1048 1004
 dependencies = [
1049 1005
  "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1054,15 +1010,6 @@ name = "winapi-x86_64-pc-windows-gnu"
1054 1010
 version = "0.4.0"
1055 1011
 source = "registry+https://github.com/rust-lang/crates.io-index"
1056 1012
 
1057
-[[package]]
1058
-name = "wincolor"
1059
-version = "1.0.2"
1060
-source = "registry+https://github.com/rust-lang/crates.io-index"
1061
-dependencies = [
1062
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
1063
- "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
1064
-]
1065
-
1066 1013
 [[package]]
1067 1014
 name = "ws2_32-sys"
1068 1015
 version = "0.2.1"
@@ -1073,40 +1020,34 @@ dependencies = [
1073 1020
 ]
1074 1021
 
1075 1022
 [metadata]
1076
-"checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d"
1023
+"checksum aho-corasick 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)" = "5f56c476256dc249def911d6f7580b5fc7e875895b5d7ee88f5d602208035744"
1077 1024
 "checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
1078
-"checksum arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee"
1025
+"checksum arrayref 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
1079 1026
 "checksum arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8"
1080
-"checksum async-tungstenite 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d35b7b512425d228d0366885b417ae3884930673ac1265764f1a8389dd2b00c4"
1081
-"checksum atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90"
1082
-"checksum backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)" = "924c76597f0d9ca25d762c25a4d369d51267536465dc5064bdf0eb073ed477ea"
1083
-"checksum backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491"
1084
-"checksum base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e"
1027
+"checksum async-tungstenite 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "37250bc739b253cf2d861047a7bcaad1d46d1d027070b44dbeab9168b40cf407"
1028
+"checksum atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
1029
+"checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"
1085 1030
 "checksum base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7"
1086 1031
 "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
1087
-"checksum blake2b_simd 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b83b7baab1e671718d78204225800d6b170e648188ac7dc992e9d6bddf87d0c0"
1032
+"checksum blake2b_simd 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)" = "d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a"
1088 1033
 "checksum block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
1089 1034
 "checksum block-padding 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
1090 1035
 "checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
1091 1036
 "checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5"
1092 1037
 "checksum bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c"
1093
-"checksum bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "10004c15deb332055f7a4a208190aed362cf9a7c2f6ab70a305fba50e1105f38"
1038
+"checksum bytes 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "130aac562c0dd69c56b3b1cc8ffd2e17be31d0b6c25b61c96b76231aa23e39e1"
1094 1039
 "checksum c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb"
1095
-"checksum cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)" = "f52a465a666ca3d838ebbf08b241383421412fe7ebb463527bba275526d89f76"
1096 1040
 "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
1097 1041
 "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
1098
-"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
1099
-"checksum constant_time_eq 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "995a44c877f9212528ccc74b21a232f66ad69001e40ede5bcee2ac9ef2657120"
1100
-"checksum crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6"
1042
+"checksum constant_time_eq 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
1043
+"checksum crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4"
1101 1044
 "checksum digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
1102 1045
 "checksum dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
1103 1046
 "checksum dirs-sys 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "afa0b23de8fd801745c471deffa6e12d248f962c9fd4b4c33787b055599bde7b"
1104 1047
 "checksum env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
1105
-"checksum failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f8273f13c977665c5db7eb2b99ae520952fe5ac831ae4cd09d80c4c7042b5ed9"
1106
-"checksum failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0bc225b78e0391e4b8683440bf2e63c2deeeb2ce5189eab46e2b68c6d3725d08"
1107 1048
 "checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
1108 1049
 "checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3"
1109
-"checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
1050
+"checksum fswatcher 0.1.0 (git+https://github.com/mgottschlag/fswatcher-rs.git)" = "<none>"
1110 1051
 "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
1111 1052
 "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
1112 1053
 "checksum futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b6f16056ecbb57525ff698bb955162d0cd03bee84e6241c27ff75c08d8ca5987"
@@ -1120,87 +1061,85 @@ dependencies = [
1120 1061
 "checksum futures-tokio-compat 0.1.0 (git+https://github.com/mgottschlag/futures-tokio-compat.git)" = "<none>"
1121 1062
 "checksum futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c0d66274fb76985d3c62c886d1da7ac4c0903a8c9f754e8fe0f35a6a6cc39e76"
1122 1063
 "checksum generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec"
1123
-"checksum getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "e7db7ca94ed4cd01190ceee0d8a8052f08a247aa1b469a7f68c6a3b71afcf407"
1064
+"checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
1124 1065
 "checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
1066
+"checksum hermit-abi 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "eff2656d88f158ce120947499e971d743c05dbcbed62e5bd2f38f1698bbc3772"
1125 1067
 "checksum http 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)" = "d6ccf5ede3a895d8856620237b2f02972c1bbc78d2965ad7fe8838d4a0ed41f0"
1126 1068
 "checksum httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"
1127 1069
 "checksum humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
1128 1070
 "checksum idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"
1129
-"checksum inotify 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c45f8a4a890357e626ac878be77e43d9a29ca17f67c477517c26ee108d32d973"
1071
+"checksum inotify 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc39ee997811267bf8aa0b10e1674c5bea6caacc1957eede5ea45251fe33c6d5"
1130 1072
 "checksum inotify-sys 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e74a1aa87c59aeff6ef2cc2fa62d41bc43f54952f55652656b18a02fd5e356c0"
1131 1073
 "checksum input_buffer 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8e1b822cc844905551931d6f81608ed5f50a79c1078a4e2b4d42dbc7c1eedfbf"
1132 1074
 "checksum iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
1133
-"checksum itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f"
1075
+"checksum itoa 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e"
1134 1076
 "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
1135 1077
 "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
1136 1078
 "checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
1137 1079
 "checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
1138 1080
 "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
1139
-"checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e"
1081
+"checksum memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3197e20c7edb283f87c071ddfc7a2cca8f8e0b888c242959846a6fce03c72223"
1140 1082
 "checksum mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)" = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f"
1141 1083
 "checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125"
1142 1084
 "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
1143 1085
 "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88"
1086
+"checksum num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6"
1144 1087
 "checksum opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
1145 1088
 "checksum percent-encoding 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
1146
-"checksum pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "94b90146c7216e4cb534069fb91366de4ea0ea353105ee45ed297e2d1619e469"
1147
-"checksum pin-project-internal 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "44ca92f893f0656d3cba8158dd0f2b99b94de256a4a54e870bd6922fcc6c8355"
1148
-"checksum pin-project-lite 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f0af6cbca0e6e3ce8692ee19fb8d734b641899e07b68eb73e9bbbd32f1703991"
1089
+"checksum pin-project 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7804a463a8d9572f13453c516a5faea534a2403d7ced2f0c7e100eeff072772c"
1090
+"checksum pin-project-internal 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "385322a45f2ecf3410c68d2a549a4a2685e8051d0f278e39743ff4e451cb9b3f"
1091
+"checksum pin-project-lite 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "237844750cfbb86f67afe27eee600dfbbcb6188d734139b534cbfbf4f96792ae"
1149 1092
 "checksum pin-utils 0.1.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5894c618ce612a3fa23881b152b608bafb8c56cfc22f434a3ba3120b40f7b587"
1150 1093
 "checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b"
1151
-"checksum proc-macro-error 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "aeccfe4d5d8ea175d5f0e4a2ad0637e0f4121d63bd99d356fb1f39ab2e7c6097"
1094
+"checksum proc-macro-error 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a427176b1223957a219780f6bd014fad03f59543ff7feb3854a6fb8e9626ac2b"
1095
+"checksum proc-macro-error-attr 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1f3e4daa0eae3f30db348ecfa5f942281173d441588ebdac871d730acbfc7f16"
1152 1096
 "checksum proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5"
1153 1097
 "checksum proc-macro-nested 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "369a6ed065f249a159e06c45752c780bda2fb53c995718f9e484d08daa9eb42e"
1154
-"checksum proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27"
1098
+"checksum proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3acb317c6ff86a4e579dfa00fc5e6cca91ecbb4e7eb2df0468805b674eb88548"
1155 1099
 "checksum quick-error 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
1156 1100
 "checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
1157
-"checksum rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3ae1b169243eaf61759b8475a998f0a385e42042370f3a7dbaf35246eacc8412"
1101
+"checksum rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
1158 1102
 "checksum rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853"
1159
-"checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
1160
-"checksum rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc"
1161 1103
 "checksum rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
1162 1104
 "checksum rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
1163
-"checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
1164
-"checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
1165 1105
 "checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
1166
-"checksum redox_users 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4ecedbca3bf205f8d8f5c2b44d83cd0690e39ee84b951ed649e9f1841132b66d"
1167
-"checksum regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dc220bd33bdce8f093101afe22a037b8eb0e5af33592e6a9caafff0d4cb81cbd"
1168
-"checksum regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "11a7e20d1cce64ef2fed88b66d347f88bd9babb82845b2b858f3edbf59a4f716"
1169
-"checksum rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4ca4eaef519b494d1f2848fc602d18816fed808a981aedf4f1f00ceb7c9d32cf"
1170
-"checksum rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
1106
+"checksum redox_users 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431"
1107
+"checksum regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "322cf97724bea3ee221b78fe25ac9c46114ebb51747ad5babd51a2fc6a8235a8"
1108
+"checksum regex-syntax 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)" = "b28dfe3fe9badec5dbf0a79a9cccad2cfc2ab5484bdb3e44cbd1ae8b3ba2be06"
1109
+"checksum rust-argon2 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017"
1110
+"checksum rustversion 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b3bba175698996010c4f6dce5e7f173b6eb781fce25d2cfc45e27091ce0b79f6"
1171 1111
 "checksum ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8"
1172 1112
 "checksum serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)" = "414115f25f818d7dfccec8ee535d76949ae78584fc4f79a6f45a904bf8ab4449"
1173 1113
 "checksum serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)" = "128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64"
1174
-"checksum serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)" = "48c575e0cc52bdd09b47f330f646cf59afc586e9c4e3ccd6fc1f625b8ea1dad7"
1114
+"checksum serde_json 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)" = "eab8f15f15d6c41a154c1b128a22f2dfabe350ef53c40953d84e36155c91192b"
1175 1115
 "checksum sha-1 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df"
1176 1116
 "checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
1177
-"checksum smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "44e59e0c9fa00817912ae6e4e6e3c4fe04455e75699d06eedc7d85917ed8e8f4"
1117
+"checksum smallvec 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5c2fb2ec9bcd216a5b0d0ccf31ab17b5ed1d627960edff65bbe95d3ce221cefc"
1178 1118
 "checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
1179
-"checksum structopt 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "30b3a3e93f5ad553c38b3301c8a0a0cec829a36783f6a0c467fc4bf553a5f5bf"
1180
-"checksum structopt-derive 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea692d40005b3ceba90a9fe7a78fa8d4b82b0ce627eebbffc329aab850f3410e"
1181
-"checksum syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)" = "dff0acdb207ae2fe6d5976617f887eb1e35a2ba52c13c7234c790960cdad9238"
1182
-"checksum synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545"
1183
-"checksum termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "96d6098003bde162e4277c70665bd87c326f5a0c3f3fbfb285787fa482d54e6e"
1119
+"checksum structopt 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "df136b42d76b1fbea72e2ab3057343977b04b4a2e00836c3c7c0673829572713"
1120
+"checksum structopt-derive 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fd50a87d2f7b8958055f3e73a963d78feaccca3836767a9069844e34b5b03c0a"
1121
+"checksum syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)" = "af6f3550d8dff9ef7dc34d384ac6f107e5d31c8f57d9f28e0081503f547ac8f5"
1122
+"checksum syn-mid 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a"
1123
+"checksum termcolor 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f"
1184 1124
 "checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
1185
-"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
1186
-"checksum tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "ffa2fdcfa937b20cb3c822a635ceecd5fc1a27a6a474527e5516aa24b8c8820a"
1187
-"checksum tokio-macros 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "50a61f268a3db2acee8dcab514efc813dc6dbe8a00e86076f935f94304b59a7a"
1125
+"checksum thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14"
1126
+"checksum tokio 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8fdd17989496f49cdc57978c96f0c9fe5e4a58a8bddc6813c449a4624f6a030b"
1127
+"checksum tokio-macros 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f4b1e7ed7d5d4c2af3d999904b0eebe76544897cdbfb2b9684bed2174ab20f7c"
1188 1128
 "checksum tungstenite 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8a0c2bd5aeb7dcd2bb32e472c8872759308495e5eccc942e929a513cd8d36110"
1189 1129
 "checksum typenum 1.11.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6d2783fe2d6b8c1101136184eb41be8b1ad379e4657050b8aaff0c79ee7575f9"
1190 1130
 "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
1191
-"checksum unicode-normalization 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "b561e267b2326bb4cebfc0ef9e68355c7abe6c6f522aeac2f5bf95d56c59bdcf"
1131
+"checksum unicode-normalization 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "5479532badd04e128284890390c1e876ef7a993d0570b3597ae43dfa1d59afa4"
1192 1132
 "checksum unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
1193 1133
 "checksum unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479"
1194 1134
 "checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
1195
-"checksum url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "75b414f6c464c879d7f9babf951f23bc3743fb7313c081b2e6ca719067ea9d61"
1135
+"checksum url 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb"
1196 1136
 "checksum utf-8 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)" = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7"
1197 1137
 "checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
1198
-"checksum wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d"
1138
+"checksum wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)" = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
1199 1139
 "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
1200 1140
 "checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
1201 1141
 "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
1202 1142
 "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1203
-"checksum winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9"
1143
+"checksum winapi-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4ccfbf554c6ad11084fb7517daca16cfdcaccbdadba4fc336f032a8b12c2ad80"
1204 1144
 "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1205
-"checksum wincolor 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "96f5016b18804d24db43cebf3c77269e7569b8954a8464501c216cc5e070eaa9"
1206 1145
 "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e"

+ 2
- 2
Cargo.toml 查看文件

@@ -10,10 +10,10 @@ serde = { version = "1.0", features = ["derive"] }
10 10
 serde_json = "1.0"
11 11
 dirs = "2.0"
12 12
 byteorder = "1.3"
13
-tokio = { version = "0.2", features = ["fs", "io-util", "macros", "net", "stream", "sync", "tcp", "time"] }
13
+tokio = { version = "0.2", features = ["fs", "io-util", "macros", "net", "rt-threaded", "stream", "sync", "tcp", "time"] }
14 14
 futures = "0.3.1"
15 15
 futures-tokio-compat = { git = "https://github.com/mgottschlag/futures-tokio-compat.git" }
16 16
 async-tungstenite = { version = "0.3", features = ["tokio-runtime"] }
17 17
 env_logger = "0.7"
18 18
 log = "0.4"
19
-inotify = "0.8"
19
+fswatcher = { git = "https://github.com/mgottschlag/fswatcher-rs.git" }

+ 1
- 0
src/bin/cli.rs 查看文件

@@ -26,6 +26,7 @@ pub struct Options {
26 26
 #[derive(StructOpt, Serialize, Deserialize)]
27 27
 pub enum Command {
28 28
     ListDirectories {
29
+        #[structopt(short, long)]
29 30
         status: bool,
30 31
     },
31 32
     AddDirectory {

+ 0
- 113
src/file_event_delay.rs 查看文件

@@ -1,113 +0,0 @@
1
-use std::collections::VecDeque;
2
-use std::io;
3
-use std::mem;
4
-use std::pin::Pin;
5
-use std::task::{Context, Poll};
6
-use std::time::Duration;
7
-
8
-use futures::stream::Stream;
9
-use tokio::time::{self, Interval};
10
-
11
-/// A stream which delays inotify events and combines them whenever possible.
12
-///
13
-/// The type tries to reduce the number of unnecessary events (e.g., a file which was created and
14
-/// then immediately removed again, or a large number of modification events for the same file) and
15
-/// tries to reconstruct additional information (e.g., if a file was moved from one directory to
16
-/// another, in which case inotify cannot detect the move).
17
-pub struct FileEventDelay<T>
18
-where
19
-    T: Stream<Item = io::Result<inotify::EventOwned>>,
20
-{
21
-    input: Pin<Box<T>>,
22
-
23
-    min_delay: Duration,
24
-    timer: Option<Pin<Box<Interval>>>,
25
-
26
-    /// Inotify events which are queued for processing.
27
-    ///
28
-    /// Whenever the timer expires, the events from the second array are processed and the content
29
-    /// of the first array is moved to the second. This way, each event is in the queue for a
30
-    /// duration of at least `min_delay`.
31
-    event_queue: (Vec<inotify::EventOwned>, Vec<inotify::EventOwned>),
32
-    processed_events: VecDeque<FileEvent>,
33
-}
34
-
35
-impl<T> FileEventDelay<T>
36
-where
37
-    T: Stream<Item = io::Result<inotify::EventOwned>>,
38
-{
39
-    pub fn new(input: T, min_delay: Duration) -> Self {
40
-        Self {
41
-            input: Box::pin(input),
42
-            min_delay,
43
-            timer: None,
44
-            event_queue: (Vec::new(), Vec::new()),
45
-            processed_events: VecDeque::new(),
46
-        }
47
-    }
48
-
49
-    fn process_events(&mut self) {
50
-        // TODO
51
-
52
-        // Swap the arrays. This code assumes that the second array is now empty.
53
-        // TODO: Check the assumption.
54
-        mem::swap(&mut self.event_queue.0, &mut self.event_queue.1);
55
-    }
56
-}
57
-
58
-impl<T> Stream for FileEventDelay<T>
59
-where
60
-    T: Stream<Item = io::Result<inotify::EventOwned>>,
61
-{
62
-    type Item = io::Result<FileEvent>;
63
-
64
-    fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
65
-        // Safe, as we will not move self_.
66
-        let self_ = unsafe { self.get_unchecked_mut() };
67
-
68
-        if self_.processed_events.is_empty() {
69
-            // Fill the first array with incoming inotify events.
70
-            while let Poll::Ready(inotify_event) = Pin::as_mut(&mut self_.input).poll_next(cx) {
71
-                if inotify_event.is_some() {
72
-                    self_.event_queue.0.push(inotify_event.unwrap().unwrap());
73
-                } else {
74
-                    // TODO: Stream exhausted. Can this ever happen?
75
-                    return Poll::Ready(None);
76
-                }
77
-            }
78
-
79
-            // If the first array is not empty, start a timer for processing if no timer is already
80
-            // running.
81
-            if !self_.event_queue.0.is_empty() && self_.timer.is_none() {
82
-                self_.timer = Some(Box::pin(time::interval(self_.min_delay)));
83
-            }
84
-
85
-            // If the timer elapsed, process the events from the second array and move the content
86
-            // of the first array to the second.
87
-            if let Poll::Ready(Some(_)) =
88
-                Pin::as_mut(&mut self_.timer.as_mut().unwrap()).poll_next(cx)
89
-            {
90
-                self_.process_events();
91
-
92
-                // If no unprocessed events are available, stop the timer to reduce CPU
93
-                // consumption.
94
-                if self_.event_queue.1.is_empty() {
95
-                    self_.timer = None;
96
-                }
97
-                // Return the first event if possible.
98
-                if let Some(next_event) = self_.processed_events.pop_front() {
99
-                    return Poll::Ready(Some(Ok(next_event)));
100
-                }
101
-            }
102
-
103
-            Poll::Pending
104
-        } else {
105
-            let next_event = self_.processed_events.pop_front().unwrap();
106
-            Poll::Ready(Some(Ok(next_event)))
107
-        }
108
-    }
109
-}
110
-
111
-pub enum FileEvent {
112
-    // TODO
113
-}

+ 8
- 14
src/file_system_watcher.rs 查看文件

@@ -1,14 +1,13 @@
1
-use std::collections::VecDeque;
1
+use std::collections::{VecDeque, HashMap};
2 2
 use std::sync::Arc;
3 3
 use std::path::Path;
4 4
 use std::time::Duration;
5 5
 
6
-use inotify::{Inotify, WatchMask};
7 6
 use tokio::sync::{mpsc, oneshot, Mutex};
8 7
 use tokio::task;
8
+use fswatcher::FileEventDelay;
9 9
 
10 10
 use super::{Error, FileTree};
11
-use super::file_event_delay::FileEventDelay;
12 11
 
13 12
 pub struct FileSystemWatcher {
14 13
     state_send: mpsc::Sender<(StateChange, oneshot::Sender<()>)>,
@@ -76,19 +75,14 @@ impl FileSystemWatcher {
76 75
         file_tree: &mut Arc<Mutex<FileTree>>,
77 76
         _state_receive: &mut mpsc::Receiver<(StateChange, oneshot::Sender<()>)>,
78 77
     ) -> StateChange {
79
-        let mut inotify = Inotify::init().expect("Failed to initialize inotify");
80
-        let mut new_directories = VecDeque::new();
81
-        new_directories.push_back(file_tree.lock().await.root_path().to_owned());
82
-
83
-        let mut inotify_buffer = InotifyBuffer { data: [0; 1024] };
84
-        let inotify_stream = inotify.event_stream(&mut inotify_buffer).unwrap();
85
-        let _file_events = FileEventDelay::new(inotify_stream, Duration::from_secs(3));
86
-        //let watches_by_path = BTreeMap::new();
87
-        //let paths_by_watch = HashMap::new();
78
+        let root_path = file_tree.lock().await.root_path().to_owned();
79
+        // TODO: Proper error handling.
80
+        let file_events = FileEventDelay::new(fswatcher::FileSystemWatcher::new(&root_path).unwrap(), Duration::from_secs(3));
88 81
 
89 82
         loop {
90
-            if new_directories.is_empty() {
83
+            /*if new_directories.is_empty() {
91 84
                 // If all the inotify watches are up-to-date, simply wait for any events.
85
+                let event = file_events.next(&paths_by_watch).await;
92 86
                 // TODO
93 87
             } else {
94 88
                 // Install an inotify watch for the directory and check the directory contents
@@ -116,7 +110,7 @@ impl FileSystemWatcher {
116 110
                 // TODO: Check whether this is really necessary and how large the impact on
117 111
                 // performance is.
118 112
                 task::yield_now().await;
119
-            }
113
+            }*/
120 114
         }
121 115
     }
122 116
 }

+ 4
- 3
src/file_tree.rs 查看文件

@@ -1,3 +1,4 @@
1
+use std::ffi::{OsStr, OsString};
1 2
 use std::sync::Arc;
2 3
 
3 4
 use tokio::sync::mpsc::{unbounded_channel, UnboundedReceiver, UnboundedSender};
@@ -9,11 +10,11 @@ pub struct FileTree {
9 10
     db: Arc<Mutex<Database>>,
10 11
     new_version_notifiers: Vec<UnboundedSender<NewVersionEvent>>,
11 12
     next_version_source: u64,
12
-    root_path: String,
13
+    root_path: OsString,
13 14
 }
14 15
 
15 16
 impl FileTree {
16
-    pub fn open(db: Arc<Mutex<Database>>, directory: &str) -> Result<FileTree, Error> {
17
+    pub fn open(db: Arc<Mutex<Database>>, directory: &OsStr) -> Result<FileTree, Error> {
17 18
         // Check whether the database entry for this file tree exists and fetch the root
18 19
         // file ID.
19 20
         // TODO
@@ -35,7 +36,7 @@ impl FileTree {
35 36
         })
36 37
     }
37 38
 
38
-    pub fn root_path(&self) -> &str {
39
+    pub fn root_path(&self) -> &OsStr {
39 40
         &self.root_path
40 41
     }
41 42
 

+ 0
- 1
src/lib.rs 查看文件

@@ -1,7 +1,6 @@
1 1
 use std::io;
2 2
 
3 3
 mod database;
4
-mod file_event_delay;
5 4
 mod file_system_watcher;
6 5
 mod file_tree;
7 6
 

正在加载...
取消
保存