瀏覽代碼

Parse config file without serde

Johannes Hofmann 8 年之前
父節點
當前提交
67ab07653c
共有 4 個檔案被更改,包括 186 行新增299 行删除
  1. 107
    243
      Cargo.lock
  2. 1
    3
      Cargo.toml
  3. 73
    40
      src/config.rs
  4. 5
    13
      src/main.rs

+ 107
- 243
Cargo.lock 查看文件

@@ -3,15 +3,6 @@ name = "adler32"
3 3
 version = "1.0.2"
4 4
 source = "registry+https://github.com/rust-lang/crates.io-index"
5 5
 
6
-[[package]]
7
-name = "advapi32-sys"
8
-version = "0.2.0"
9
-source = "registry+https://github.com/rust-lang/crates.io-index"
10
-dependencies = [
11
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
12
- "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
13
-]
14
-
15 6
 [[package]]
16 7
 name = "android_glue"
17 8
 version = "0.2.3"
@@ -19,16 +10,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
19 10
 
20 11
 [[package]]
21 12
 name = "backtrace"
22
-version = "0.3.4"
13
+version = "0.3.5"
23 14
 source = "registry+https://github.com/rust-lang/crates.io-index"
24 15
 dependencies = [
25 16
  "backtrace-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
26 17
  "cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
27
- "dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
28
- "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
29
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
18
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
30 19
  "rustc-demangle 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
31
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
20
+ "winapi 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
32 21
 ]
33 22
 
34 23
 [[package]]
@@ -36,8 +25,8 @@ name = "backtrace-sys"
36 25
 version = "0.1.16"
37 26
 source = "registry+https://github.com/rust-lang/crates.io-index"
38 27
 dependencies = [
39
- "cc 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
40
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
28
+ "cc 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
29
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
41 30
 ]
42 31
 
43 32
 [[package]]
@@ -49,11 +38,6 @@ dependencies = [
49 38
  "safemem 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
50 39
 ]
51 40
 
52
-[[package]]
53
-name = "bitflags"
54
-version = "0.7.0"
55
-source = "registry+https://github.com/rust-lang/crates.io-index"
56
-
57 41
 [[package]]
58 42
 name = "bitflags"
59 43
 version = "0.9.1"
@@ -81,7 +65,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
81 65
 
82 66
 [[package]]
83 67
 name = "bytes"
84
-version = "0.4.5"
68
+version = "0.4.6"
85 69
 source = "registry+https://github.com/rust-lang/crates.io-index"
86 70
 dependencies = [
87 71
  "byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -90,7 +74,7 @@ dependencies = [
90 74
 
91 75
 [[package]]
92 76
 name = "cc"
93
-version = "1.0.3"
77
+version = "1.0.4"
94 78
 source = "registry+https://github.com/rust-lang/crates.io-index"
95 79
 
96 80
 [[package]]
@@ -103,8 +87,8 @@ name = "cgl"
103 87
 version = "0.2.1"
104 88
 source = "registry+https://github.com/rust-lang/crates.io-index"
105 89
 dependencies = [
106
- "gleam 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
107
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
90
+ "gleam 0.4.18 (registry+https://github.com/rust-lang/crates.io-index)",
91
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
108 92
 ]
109 93
 
110 94
 [[package]]
@@ -124,7 +108,7 @@ dependencies = [
124 108
  "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
125 109
  "block 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
126 110
  "core-graphics 0.12.4 (registry+https://github.com/rust-lang/crates.io-index)",
127
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
111
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
128 112
  "objc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
129 113
 ]
130 114
 
@@ -139,7 +123,7 @@ version = "0.2.3"
139 123
 source = "registry+https://github.com/rust-lang/crates.io-index"
140 124
 dependencies = [
141 125
  "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
142
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
126
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
143 127
 ]
144 128
 
145 129
 [[package]]
@@ -148,7 +132,7 @@ version = "0.4.6"
148 132
 source = "registry+https://github.com/rust-lang/crates.io-index"
149 133
 dependencies = [
150 134
  "core-foundation-sys 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
151
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
135
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
152 136
 ]
153 137
 
154 138
 [[package]]
@@ -156,7 +140,7 @@ name = "core-foundation-sys"
156 140
 version = "0.2.3"
157 141
 source = "registry+https://github.com/rust-lang/crates.io-index"
158 142
 dependencies = [
159
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
143
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
160 144
 ]
161 145
 
162 146
 [[package]]
@@ -164,7 +148,7 @@ name = "core-foundation-sys"
164 148
 version = "0.4.6"
165 149
 source = "registry+https://github.com/rust-lang/crates.io-index"
166 150
 dependencies = [
167
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
151
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
168 152
 ]
169 153
 
170 154
 [[package]]
@@ -175,7 +159,7 @@ dependencies = [
175 159
  "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
176 160
  "core-foundation 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
177 161
  "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
178
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
162
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
179 163
 ]
180 164
 
181 165
 [[package]]
@@ -186,24 +170,6 @@ dependencies = [
186 170
  "build_const 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
187 171
 ]
188 172
 
189
-[[package]]
190
-name = "crypt32-sys"
191
-version = "0.2.0"
192
-source = "registry+https://github.com/rust-lang/crates.io-index"
193
-dependencies = [
194
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
195
- "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
196
-]
197
-
198
-[[package]]
199
-name = "dbghelp-sys"
200
-version = "0.2.0"
201
-source = "registry+https://github.com/rust-lang/crates.io-index"
202
-dependencies = [
203
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
204
- "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
205
-]
206
-
207 173
 [[package]]
208 174
 name = "deflate"
209 175
 version = "0.7.17"
@@ -223,9 +189,7 @@ dependencies = [
223 189
  "linked-hash-map 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
224 190
  "osmpbf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
225 191
  "reqwest 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
226
- "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)",
227
- "serde_derive 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)",
228
- "servo-glutin 0.13.3 (registry+https://github.com/rust-lang/crates.io-index)",
192
+ "servo-glutin 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)",
229 193
  "toml 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
230 194
 ]
231 195
 
@@ -261,7 +225,7 @@ name = "error-chain"
261 225
 version = "0.11.0"
262 226
 source = "registry+https://github.com/rust-lang/crates.io-index"
263 227
 dependencies = [
264
- "backtrace 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
228
+ "backtrace 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
265 229
 ]
266 230
 
267 231
 [[package]]
@@ -269,7 +233,7 @@ name = "flate2"
269 233
 version = "0.2.20"
270 234
 source = "registry+https://github.com/rust-lang/crates.io-index"
271 235
 dependencies = [
272
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
236
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
273 237
  "miniz-sys 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
274 238
 ]
275 239
 
@@ -288,32 +252,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
288 252
 
289 253
 [[package]]
290 254
 name = "fuchsia-zircon"
291
-version = "0.2.1"
292
-source = "registry+https://github.com/rust-lang/crates.io-index"
293
-dependencies = [
294
- "fuchsia-zircon-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
295
-]
296
-
297
-[[package]]
298
-name = "fuchsia-zircon"
299
-version = "0.3.2"
255
+version = "0.3.3"
300 256
 source = "registry+https://github.com/rust-lang/crates.io-index"
301 257
 dependencies = [
302 258
  "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
303
- "fuchsia-zircon-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
304
-]
305
-
306
-[[package]]
307
-name = "fuchsia-zircon-sys"
308
-version = "0.2.0"
309
-source = "registry+https://github.com/rust-lang/crates.io-index"
310
-dependencies = [
311
- "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
259
+ "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
312 260
 ]
313 261
 
314 262
 [[package]]
315 263
 name = "fuchsia-zircon-sys"
316
-version = "0.3.2"
264
+version = "0.3.3"
317 265
 source = "registry+https://github.com/rust-lang/crates.io-index"
318 266
 
319 267
 [[package]]
@@ -356,16 +304,6 @@ dependencies = [
356 304
  "gl_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
357 305
 ]
358 306
 
359
-[[package]]
360
-name = "gl_generator"
361
-version = "0.6.1"
362
-source = "registry+https://github.com/rust-lang/crates.io-index"
363
-dependencies = [
364
- "khronos_api 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
365
- "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
366
- "xml-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
367
-]
368
-
369 307
 [[package]]
370 308
 name = "gl_generator"
371 309
 version = "0.8.0"
@@ -378,10 +316,10 @@ dependencies = [
378 316
 
379 317
 [[package]]
380 318
 name = "gleam"
381
-version = "0.4.17"
319
+version = "0.4.18"
382 320
 source = "registry+https://github.com/rust-lang/crates.io-index"
383 321
 dependencies = [
384
- "gl_generator 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
322
+ "gl_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
385 323
  "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
386 324
 ]
387 325
 
@@ -392,21 +330,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
392 330
 
393 331
 [[package]]
394 332
 name = "hyper"
395
-version = "0.11.10"
333
+version = "0.11.12"
396 334
 source = "registry+https://github.com/rust-lang/crates.io-index"
397 335
 dependencies = [
398 336
  "base64 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
399
- "bytes 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
337
+ "bytes 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
400 338
  "futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
401 339
  "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
402 340
  "httparse 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
403 341
  "language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
404
- "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
342
+ "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
405 343
  "mime 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
406 344
  "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
407 345
  "relay 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
408 346
  "time 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
409
- "tokio-core 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
347
+ "tokio-core 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
410 348
  "tokio-io 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
411 349
  "tokio-proto 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
412 350
  "tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -419,9 +357,9 @@ version = "0.1.2"
419 357
 source = "registry+https://github.com/rust-lang/crates.io-index"
420 358
 dependencies = [
421 359
  "futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
422
- "hyper 0.11.10 (registry+https://github.com/rust-lang/crates.io-index)",
423
- "native-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
424
- "tokio-core 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
360
+ "hyper 0.11.12 (registry+https://github.com/rust-lang/crates.io-index)",
361
+ "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
362
+ "tokio-core 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
425 363
  "tokio-io 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
426 364
  "tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
427 365
  "tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -482,7 +420,7 @@ name = "iovec"
482 420
 version = "0.1.1"
483 421
 source = "registry+https://github.com/rust-lang/crates.io-index"
484 422
 dependencies = [
485
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
423
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
486 424
  "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
487 425
 ]
488 426
 
@@ -531,12 +469,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
531 469
 
532 470
 [[package]]
533 471
 name = "lazycell"
534
-version = "0.5.1"
472
+version = "0.6.0"
535 473
 source = "registry+https://github.com/rust-lang/crates.io-index"
536 474
 
537 475
 [[package]]
538 476
 name = "libc"
539
-version = "0.2.34"
477
+version = "0.2.35"
540 478
 source = "registry+https://github.com/rust-lang/crates.io-index"
541 479
 
542 480
 [[package]]
@@ -580,7 +518,7 @@ name = "malloc_buf"
580 518
 version = "0.0.6"
581 519
 source = "registry+https://github.com/rust-lang/crates.io-index"
582 520
 dependencies = [
583
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
521
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
584 522
 ]
585 523
 
586 524
 [[package]]
@@ -590,12 +528,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
590 528
 
591 529
 [[package]]
592 530
 name = "memmap"
593
-version = "0.6.1"
531
+version = "0.6.2"
594 532
 source = "registry+https://github.com/rust-lang/crates.io-index"
595 533
 dependencies = [
596
- "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
597
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
598
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
534
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
535
+ "winapi 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
599 536
 ]
600 537
 
601 538
 [[package]]
@@ -622,21 +559,21 @@ name = "miniz-sys"
622 559
 version = "0.1.10"
623 560
 source = "registry+https://github.com/rust-lang/crates.io-index"
624 561
 dependencies = [
625
- "cc 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
626
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
562
+ "cc 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
563
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
627 564
 ]
628 565
 
629 566
 [[package]]
630 567
 name = "mio"
631
-version = "0.6.11"
568
+version = "0.6.12"
632 569
 source = "registry+https://github.com/rust-lang/crates.io-index"
633 570
 dependencies = [
634
- "fuchsia-zircon 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
635
- "fuchsia-zircon-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
571
+ "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
572
+ "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
636 573
  "iovec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
637 574
  "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
638
- "lazycell 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
639
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
575
+ "lazycell 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
576
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
640 577
  "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
641 578
  "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
642 579
  "net2 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -657,11 +594,13 @@ dependencies = [
657 594
 
658 595
 [[package]]
659 596
 name = "native-tls"
660
-version = "0.1.4"
597
+version = "0.1.5"
661 598
 source = "registry+https://github.com/rust-lang/crates.io-index"
662 599
 dependencies = [
600
+ "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
601
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
663 602
  "openssl 0.9.23 (registry+https://github.com/rust-lang/crates.io-index)",
664
- "schannel 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
603
+ "schannel 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
665 604
  "security-framework 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
666 605
  "security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
667 606
  "tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -674,7 +613,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
674 613
 dependencies = [
675 614
  "cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
676 615
  "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
677
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
616
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
678 617
  "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
679 618
  "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
680 619
 ]
@@ -715,7 +654,7 @@ name = "num_cpus"
715 654
 version = "1.8.0"
716 655
 source = "registry+https://github.com/rust-lang/crates.io-index"
717 656
 dependencies = [
718
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
657
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
719 658
 ]
720 659
 
721 660
 [[package]]
@@ -734,17 +673,17 @@ dependencies = [
734 673
  "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
735 674
  "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
736 675
  "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
737
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
738
- "openssl-sys 0.9.23 (registry+https://github.com/rust-lang/crates.io-index)",
676
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
677
+ "openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)",
739 678
 ]
740 679
 
741 680
 [[package]]
742 681
 name = "openssl-sys"
743
-version = "0.9.23"
682
+version = "0.9.24"
744 683
 source = "registry+https://github.com/rust-lang/crates.io-index"
745 684
 dependencies = [
746
- "cc 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
747
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
685
+ "cc 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
686
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
748 687
  "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
749 688
  "vcpkg 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
750 689
 ]
@@ -766,7 +705,7 @@ dependencies = [
766 705
  "error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
767 706
  "flate2 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)",
768 707
  "inflate 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
769
- "memmap 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
708
+ "memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
770 709
  "protobuf 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
771 710
  "rayon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
772 711
 ]
@@ -799,7 +738,7 @@ version = "0.7.21"
799 738
 source = "registry+https://github.com/rust-lang/crates.io-index"
800 739
 dependencies = [
801 740
  "phf_shared 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)",
802
- "rand 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
741
+ "rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)",
803 742
 ]
804 743
 
805 744
 [[package]]
@@ -832,18 +771,13 @@ name = "protobuf"
832 771
 version = "1.4.3"
833 772
 source = "registry+https://github.com/rust-lang/crates.io-index"
834 773
 
835
-[[package]]
836
-name = "quote"
837
-version = "0.3.15"
838
-source = "registry+https://github.com/rust-lang/crates.io-index"
839
-
840 774
 [[package]]
841 775
 name = "rand"
842
-version = "0.3.19"
776
+version = "0.3.20"
843 777
 source = "registry+https://github.com/rust-lang/crates.io-index"
844 778
 dependencies = [
845
- "fuchsia-zircon 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
846
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
779
+ "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
780
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
847 781
 ]
848 782
 
849 783
 [[package]]
@@ -870,14 +804,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
870 804
 dependencies = [
871 805
  "coco 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
872 806
  "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
873
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
807
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
874 808
  "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
875
- "rand 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
809
+ "rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)",
876 810
 ]
877 811
 
878 812
 [[package]]
879 813
 name = "redox_syscall"
880
-version = "0.1.33"
814
+version = "0.1.37"
881 815
 source = "registry+https://github.com/rust-lang/crates.io-index"
882 816
 
883 817
 [[package]]
@@ -893,18 +827,18 @@ name = "reqwest"
893 827
 version = "0.8.2"
894 828
 source = "registry+https://github.com/rust-lang/crates.io-index"
895 829
 dependencies = [
896
- "bytes 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
830
+ "bytes 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
897 831
  "futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
898
- "hyper 0.11.10 (registry+https://github.com/rust-lang/crates.io-index)",
832
+ "hyper 0.11.12 (registry+https://github.com/rust-lang/crates.io-index)",
899 833
  "hyper-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
900 834
  "libflate 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
901 835
  "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
902 836
  "mime_guess 2.0.0-alpha.3 (registry+https://github.com/rust-lang/crates.io-index)",
903
- "native-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
837
+ "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
904 838
  "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)",
905 839
  "serde_json 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
906 840
  "serde_urlencoded 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
907
- "tokio-core 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
841
+ "tokio-core 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
908 842
  "tokio-io 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
909 843
  "tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
910 844
  "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -923,16 +857,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
923 857
 
924 858
 [[package]]
925 859
 name = "schannel"
926
-version = "0.1.9"
860
+version = "0.1.10"
927 861
 source = "registry+https://github.com/rust-lang/crates.io-index"
928 862
 dependencies = [
929
- "advapi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
930
- "crypt32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
931
- "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
932 863
  "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
933
- "secur32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
934
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
935
- "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
864
+ "winapi 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
936 865
 ]
937 866
 
938 867
 [[package]]
@@ -950,15 +879,6 @@ name = "scopeguard"
950 879
 version = "0.3.3"
951 880
 source = "registry+https://github.com/rust-lang/crates.io-index"
952 881
 
953
-[[package]]
954
-name = "secur32-sys"
955
-version = "0.2.0"
956
-source = "registry+https://github.com/rust-lang/crates.io-index"
957
-dependencies = [
958
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
959
- "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
960
-]
961
-
962 882
 [[package]]
963 883
 name = "security-framework"
964 884
 version = "0.1.16"
@@ -966,7 +886,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
966 886
 dependencies = [
967 887
  "core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
968 888
  "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
969
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
889
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
970 890
  "security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
971 891
 ]
972 892
 
@@ -976,7 +896,7 @@ version = "0.1.16"
976 896
 source = "registry+https://github.com/rust-lang/crates.io-index"
977 897
 dependencies = [
978 898
  "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
979
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
899
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
980 900
 ]
981 901
 
982 902
 [[package]]
@@ -984,25 +904,6 @@ name = "serde"
984 904
 version = "1.0.27"
985 905
 source = "registry+https://github.com/rust-lang/crates.io-index"
986 906
 
987
-[[package]]
988
-name = "serde_derive"
989
-version = "1.0.27"
990
-source = "registry+https://github.com/rust-lang/crates.io-index"
991
-dependencies = [
992
- "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
993
- "serde_derive_internals 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)",
994
- "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)",
995
-]
996
-
997
-[[package]]
998
-name = "serde_derive_internals"
999
-version = "0.19.0"
1000
-source = "registry+https://github.com/rust-lang/crates.io-index"
1001
-dependencies = [
1002
- "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)",
1003
- "synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)",
1004
-]
1005
-
1006 907
 [[package]]
1007 908
 name = "serde_json"
1008 909
 version = "1.0.9"
@@ -1027,7 +928,7 @@ dependencies = [
1027 928
 
1028 929
 [[package]]
1029 930
 name = "servo-glutin"
1030
-version = "0.13.3"
931
+version = "0.13.4"
1031 932
 source = "registry+https://github.com/rust-lang/crates.io-index"
1032 933
 dependencies = [
1033 934
  "android_glue 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1037,11 +938,11 @@ dependencies = [
1037 938
  "core-graphics 0.12.4 (registry+https://github.com/rust-lang/crates.io-index)",
1038 939
  "dwmapi-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
1039 940
  "gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
1040
- "gl_generator 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
941
+ "gl_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
1041 942
  "image 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)",
1042 943
  "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
1043 944
  "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1044
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
945
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
1045 946
  "objc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
1046 947
  "osmesa-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
1047 948
  "shared_library 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1057,7 +958,7 @@ version = "0.1.8"
1057 958
 source = "registry+https://github.com/rust-lang/crates.io-index"
1058 959
 dependencies = [
1059 960
  "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1060
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
961
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
1061 962
 ]
1062 963
 
1063 964
 [[package]]
@@ -1089,24 +990,6 @@ name = "smallvec"
1089 990
 version = "0.2.1"
1090 991
 source = "registry+https://github.com/rust-lang/crates.io-index"
1091 992
 
1092
-[[package]]
1093
-name = "syn"
1094
-version = "0.11.11"
1095
-source = "registry+https://github.com/rust-lang/crates.io-index"
1096
-dependencies = [
1097
- "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
1098
- "synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)",
1099
- "unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
1100
-]
1101
-
1102
-[[package]]
1103
-name = "synom"
1104
-version = "0.11.3"
1105
-source = "registry+https://github.com/rust-lang/crates.io-index"
1106
-dependencies = [
1107
- "unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
1108
-]
1109
-
1110 993
 [[package]]
1111 994
 name = "take"
1112 995
 version = "0.1.0"
@@ -1117,7 +1000,7 @@ name = "tempdir"
1117 1000
 version = "0.3.5"
1118 1001
 source = "registry+https://github.com/rust-lang/crates.io-index"
1119 1002
 dependencies = [
1120
- "rand 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
1003
+ "rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)",
1121 1004
 ]
1122 1005
 
1123 1006
 [[package]]
@@ -1125,21 +1008,21 @@ name = "time"
1125 1008
 version = "0.1.39"
1126 1009
 source = "registry+https://github.com/rust-lang/crates.io-index"
1127 1010
 dependencies = [
1128
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
1129
- "redox_syscall 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)",
1011
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
1012
+ "redox_syscall 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)",
1130 1013
  "winapi 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
1131 1014
 ]
1132 1015
 
1133 1016
 [[package]]
1134 1017
 name = "tokio-core"
1135
-version = "0.1.11"
1018
+version = "0.1.12"
1136 1019
 source = "registry+https://github.com/rust-lang/crates.io-index"
1137 1020
 dependencies = [
1138
- "bytes 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
1021
+ "bytes 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
1139 1022
  "futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
1140 1023
  "iovec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
1141
- "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
1142
- "mio 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)",
1024
+ "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
1025
+ "mio 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
1143 1026
  "scoped-tls 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
1144 1027
  "slab 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
1145 1028
  "tokio-io 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1150,7 +1033,7 @@ name = "tokio-io"
1150 1033
 version = "0.1.4"
1151 1034
 source = "registry+https://github.com/rust-lang/crates.io-index"
1152 1035
 dependencies = [
1153
- "bytes 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
1036
+ "bytes 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
1154 1037
  "futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
1155 1038
  "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
1156 1039
 ]
@@ -1163,11 +1046,11 @@ dependencies = [
1163 1046
  "futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
1164 1047
  "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
1165 1048
  "net2 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
1166
- "rand 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
1049
+ "rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)",
1167 1050
  "slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
1168 1051
  "smallvec 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
1169 1052
  "take 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
1170
- "tokio-core 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
1053
+ "tokio-core 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
1171 1054
  "tokio-io 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
1172 1055
  "tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
1173 1056
 ]
@@ -1186,8 +1069,8 @@ version = "0.1.4"
1186 1069
 source = "registry+https://github.com/rust-lang/crates.io-index"
1187 1070
 dependencies = [
1188 1071
  "futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
1189
- "native-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
1190
- "tokio-core 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
1072
+ "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
1073
+ "tokio-core 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
1191 1074
  "tokio-io 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
1192 1075
 ]
1193 1076
 
@@ -1228,11 +1111,6 @@ name = "unicode-normalization"
1228 1111
 version = "0.1.5"
1229 1112
 source = "registry+https://github.com/rust-lang/crates.io-index"
1230 1113
 
1231
-[[package]]
1232
-name = "unicode-xid"
1233
-version = "0.0.4"
1234
-source = "registry+https://github.com/rust-lang/crates.io-index"
1235
-
1236 1114
 [[package]]
1237 1115
 name = "url"
1238 1116
 version = "1.6.0"
@@ -1257,7 +1135,7 @@ name = "uuid"
1257 1135
 version = "0.5.1"
1258 1136
 source = "registry+https://github.com/rust-lang/crates.io-index"
1259 1137
 dependencies = [
1260
- "rand 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
1138
+ "rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)",
1261 1139
 ]
1262 1140
 
1263 1141
 [[package]]
@@ -1314,7 +1192,7 @@ version = "2.17.2"
1314 1192
 source = "registry+https://github.com/rust-lang/crates.io-index"
1315 1193
 dependencies = [
1316 1194
  "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1317
- "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
1195
+ "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)",
1318 1196
  "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
1319 1197
 ]
1320 1198
 
@@ -1328,19 +1206,17 @@ dependencies = [
1328 1206
 
1329 1207
 [metadata]
1330 1208
 "checksum adler32 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6cbd0b9af8587c72beadc9f72d35b9fbb070982c9e6203e46e93f10df25f8f45"
1331
-"checksum advapi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e06588080cb19d0acb6739808aafa5f26bfb2ca015b2b6370028b44cf7cb8a9a"
1332 1209
 "checksum android_glue 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "000444226fcff248f2bc4c7625be32c63caccfecc2723a2b9f78a7487a49c407"
1333
-"checksum backtrace 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8709cc7ec06f6f0ae6c2c7e12f6ed41540781f72b488d83734978295ceae182e"
1210
+"checksum backtrace 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ebbbf59b1c43eefa8c3ede390fcc36820b4999f7914104015be25025e0d62af2"
1334 1211
 "checksum backtrace-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "44585761d6161b0f57afc49482ab6bd067e4edef48c12a152c237eb0203f7661"
1335 1212
 "checksum base64 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "229d032f1a99302697f10b27167ae6d03d49d032e6a8e2550e8d3fc13356d2b4"
1336
-"checksum bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d"
1337 1213
 "checksum bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
1338 1214
 "checksum bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b3c30d3802dfb7281680d6285f2ccdaa8c2d8fee41f93805dba5c4cf50dc23cf"
1339 1215
 "checksum block 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
1340 1216
 "checksum build_const 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e90dc84f5e62d2ebe7676b83c22d33b6db8bd27340fb6ffbff0a364efa0cb9c9"
1341 1217
 "checksum byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "652805b7e73fada9d85e9a6682a4abd490cb52d96aeecc12e33a0de34dfd0d23"
1342
-"checksum bytes 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d828f97b58cc5de3e40c421d0cf2132d6b2da4ee0e11b8632fa838f0f9333ad6"
1343
-"checksum cc 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a9b13a57efd6b30ecd6598ebdb302cca617930b5470647570468a65d12ef9719"
1218
+"checksum bytes 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1b7db437d718977f6dc9b2e3fd6fc343c02ac6b899b73fdd2179163447bd9ce9"
1219
+"checksum cc 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "deaf9ec656256bb25b404c51ef50097207b9cbb29c933d31f92cae5a8a0ffee0"
1344 1220
 "checksum cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de"
1345 1221
 "checksum cgl 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "86765cb42c2a2c497e142af72517c1b4d7ae5bb2f25dfa77a5c69642f2342d89"
1346 1222
 "checksum coco 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c06169f5beb7e31c7c67ebf5540b8b472d23e3eade3b2ec7d1f5b504a85f91bd"
@@ -1352,8 +1228,6 @@ dependencies = [
1352 1228
 "checksum core-foundation-sys 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "152195421a2e6497a8179195672e9d4ee8e45ed8c465b626f1606d27a08ebcd5"
1353 1229
 "checksum core-graphics 0.12.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8de78908c558a9ba526877d165635c9eaed0818a785a93efddde1c5bfd2ce5d1"
1354 1230
 "checksum crc 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bd5d02c0aac6bd68393ed69e00bbc2457f3e89075c6349db7189618dc4ddc1d7"
1355
-"checksum crypt32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e34988f7e069e0b2f3bfc064295161e489b2d4e04a2e4248fb94360cdf00b4ec"
1356
-"checksum dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "97590ba53bcb8ac28279161ca943a924d1fd4a8fb3fa63302591647c4fc5b850"
1357 1231
 "checksum deflate 0.7.17 (registry+https://github.com/rust-lang/crates.io-index)" = "4dddda59aaab719767ab11d3efd9a714e95b610c4445d4435765021e9d52dfb1"
1358 1232
 "checksum dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "09c3753c3db574d215cba4ea76018483895d7bff25a31b49ba45db21c48e50ab"
1359 1233
 "checksum dwmapi-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b44b6442aeab12e609aee505bd1066bdfd36b79c3fe5aad604aae91537623e76"
@@ -1363,20 +1237,17 @@ dependencies = [
1363 1237
 "checksum flate2 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)" = "e6234dd4468ae5d1e2dbb06fe2b058696fdc50a339c68a393aefbf00bc81e423"
1364 1238
 "checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
1365 1239
 "checksum foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
1366
-"checksum fuchsia-zircon 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f6c0581a4e363262e52b87f59ee2afe3415361c6ec35e665924eb08afe8ff159"
1367
-"checksum fuchsia-zircon 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bd510087c325af53ba24f3be8f1c081b0982319adcb8b03cad764512923ccc19"
1368
-"checksum fuchsia-zircon-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "43f3795b4bae048dc6123a6b972cadde2e676f9ded08aef6bb77f5f157684a82"
1369
-"checksum fuchsia-zircon-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "08b3a6f13ad6b96572b53ce7af74543132f1a7055ccceb6d073dd36c54481859"
1240
+"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
1241
+"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
1370 1242
 "checksum futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)" = "118b49cac82e04121117cbd3121ede3147e885627d82c4546b87c702debb90c1"
1371 1243
 "checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
1372 1244
 "checksum gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0912515a8ff24ba900422ecda800b52f4016a56251922d397c576bf92c690518"
1373 1245
 "checksum gif 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2e41945ba23db3bf51b24756d73d81acb4f28d85c3dccc32c6fae904438c25f"
1374 1246
 "checksum gl 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8067824a3f3794cb508bf89a1937bada36a9f235680911fd30d919ebcd12aa36"
1375
-"checksum gl_generator 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "75d69f914b49d9ff32fdf394cbd798f8c716d74fd19f9cc29da3e99797b2a78d"
1376 1247
 "checksum gl_generator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4f5c19cde55637681450c92f7a05ea16c78e2b6d0587e601ec1ebdab6960854b"
1377
-"checksum gleam 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)" = "6f4f9148004bdc641f47173769e2625d8dec7aafd3f8d808309aab8f2d7c5ee0"
1248
+"checksum gleam 0.4.18 (registry+https://github.com/rust-lang/crates.io-index)" = "437fdf7818d999b299e159611d7bb733fc7bcee683640ec2275b7d38a70688dd"
1378 1249
 "checksum httparse 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "af2f2dd97457e8fb1ae7c5a420db346af389926e36f43768b96f101546b04a07"
1379
-"checksum hyper 0.11.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4844b207be8393981c5fcb61c9372d7c96432fcc8f5c3431a255a9d19b5c298b"
1250
+"checksum hyper 0.11.12 (registry+https://github.com/rust-lang/crates.io-index)" = "856a5eb897fbc26890ddf8760ad4bbfc6bd777233522d9c48379ca9563d40517"
1380 1251
 "checksum hyper-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c81fa95203e2a6087242c38691a0210f23e9f3f8f944350bd676522132e2985"
1381 1252
 "checksum idna 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "014b298351066f1512874135335d62a789ffe78a9974f94b43ed5621951eaf7d"
1382 1253
 "checksum image 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d1576ffa01849c91b484b95c01d54dddc242b4d50923eaa2d4d74a58c4b9e8fd"
@@ -1390,8 +1261,8 @@ dependencies = [
1390 1261
 "checksum language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a"
1391 1262
 "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
1392 1263
 "checksum lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c8f31047daa365f19be14b47c29df4f7c3b581832407daabe6ae77397619237d"
1393
-"checksum lazycell 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3b585b7a6811fb03aa10e74b278a0f00f8dd9b45dc681f148bb29fa5cb61859b"
1394
-"checksum libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)" = "36fbc8a8929c632868295d0178dd8f63fc423fd7537ad0738372bd010b3ac9b0"
1264
+"checksum lazycell 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a6f08839bc70ef4a3fe1d566d5350f519c5912ea86be0df1740a7d247c7fc0ef"
1265
+"checksum libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)" = "96264e9b293e95d25bfcbbf8a88ffd1aedc85b754eba8b7d78012f638ba220eb"
1395 1266
 "checksum libflate 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "1a429b86418868c7ea91ee50e9170683f47fd9d94f5375438ec86ec3adb74e8e"
1396 1267
 "checksum linked-hash-map 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d2aab0478615bb586559b0114d94dd8eca4fdbb73b443adcb0d00b61692b4bf"
1397 1268
 "checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b"
@@ -1399,13 +1270,13 @@ dependencies = [
1399 1270
 "checksum lzw 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7d947cbb889ed21c2a84be6ffbaebf5b4e0f4340638cba0444907e38b56be084"
1400 1271
 "checksum malloc_buf 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
1401 1272
 "checksum matches 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "100aabe6b8ff4e4a7e32c1c13523379802df0772b82466207ac25b013f193376"
1402
-"checksum memmap 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "248000cb22d8164e9b9b74dcdb5bf89a15248d31517287a123367a47f7042460"
1273
+"checksum memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2ffa2c986de11a9df78620c01eeaaf27d94d3ff02bf81bfcca953102dd0c6ff"
1403 1274
 "checksum mime 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e2e00e17be181010a91dbfefb01660b17311059dc8c7f48b9017677721e732bd"
1404 1275
 "checksum mime_guess 2.0.0-alpha.3 (registry+https://github.com/rust-lang/crates.io-index)" = "013572795763289e14710c7b279461295f2673b2b338200c235082cd7ca9e495"
1405 1276
 "checksum miniz-sys 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "609ce024854aeb19a0ef7567d348aaa5a746b32fb72e336df7fcc16869d7e2b4"
1406
-"checksum mio 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "0e8411968194c7b139e9105bc4ae7db0bae232af087147e72f0616ebf5fdb9cb"
1277
+"checksum mio 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "75f72a93f046f1517e3cfddc0a096eb756a2ba727d36edc8227dee769a50a9b0"
1407 1278
 "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
1408
-"checksum native-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "04b781c9134a954c84f0594b9ab3f5606abc516030388e8511887ef4c204a1e5"
1279
+"checksum native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f74dbadc8b43df7864539cedb7bc91345e532fdd913cfdc23ad94f4d2d40fbc0"
1409 1280
 "checksum net2 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)" = "3a80f842784ef6c9a958b68b7516bc7e35883c614004dd94959a4dca1b716c09"
1410 1281
 "checksum num-integer 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "d1452e8b06e448a07f0e6ebb0bb1d92b8890eea63288c0b627331d53514d0fba"
1411 1282
 "checksum num-iter 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)" = "7485fcc84f85b4ecd0ea527b14189281cf27d60e583ae65ebc9c088b13dffe01"
@@ -1414,7 +1285,7 @@ dependencies = [
1414 1285
 "checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30"
1415 1286
 "checksum objc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "877f30f37acef6749b1841cceab289707f211aecfc756553cd63976190e6cc2e"
1416 1287
 "checksum openssl 0.9.23 (registry+https://github.com/rust-lang/crates.io-index)" = "169a4b9160baf9b9b1ab975418c673686638995ba921683a7f1e01470dcb8854"
1417
-"checksum openssl-sys 0.9.23 (registry+https://github.com/rust-lang/crates.io-index)" = "2200ffec628e3f14c39fc0131a301db214f1a7d584e36507ee8700b0c7fb7a46"
1288
+"checksum openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" = "14ba54ac7d5a4eabd1d5f2c1fdeb7e7c14debfa669d94b983d01b465e767ba9e"
1418 1289
 "checksum osmesa-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "88cfece6e95d2e717e0872a7f53a8684712ad13822a7979bc760b9c77ec0013b"
1419 1290
 "checksum osmpbf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5c0f8ed1b769c08e94a59edf0e72610db04b4b79a9029cfbfdd417a3cafd86ca"
1420 1291
 "checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
@@ -1425,41 +1296,35 @@ dependencies = [
1425 1296
 "checksum pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3a8b4c6b8165cd1a1cd4b9b120978131389f64bdaf456435caa41e630edba903"
1426 1297
 "checksum png 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f0b0cabbbd20c2d7f06dbf015e06aad59b6ca3d9ed14848783e98af9aaf19925"
1427 1298
 "checksum protobuf 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bec26e67194b7d991908145fdf21b7cae8b08423d96dcb9e860cd31f854b9506"
1428
-"checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a"
1429
-"checksum rand 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)" = "9e7944d95d25ace8f377da3ac7068ce517e4c646754c43a1b1849177bbf72e59"
1299
+"checksum rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)" = "512870020642bb8c221bf68baa1b2573da814f6ccfe5c9699b1c303047abe9b1"
1430 1300
 "checksum rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b614fe08b6665cb9a231d07ac1364b0ef3cb3698f1239ee0c4c3a88a524f54c8"
1431 1301
 "checksum rayon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ed02d09394c94ffbdfdc755ad62a132e94c3224a8354e78a1200ced34df12edf"
1432 1302
 "checksum rayon-core 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e64b609139d83da75902f88fd6c01820046840a18471e4dfcd5ac7c0f46bea53"
1433
-"checksum redox_syscall 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)" = "07b8f011e3254d5a9b318fde596d409a0001c9ae4c6e7907520c2eaa4d988c99"
1303
+"checksum redox_syscall 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)" = "0d92eecebad22b767915e4d529f89f28ee96dbbf5a4810d2b844373f136417fd"
1434 1304
 "checksum relay 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f301bafeb60867c85170031bdb2fcf24c8041f33aee09e7b116a58d4e9f781c5"
1435 1305
 "checksum reqwest 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3161ca63fd11ce36c7718af239e6492a25a3dbfcec54240f959b9d816cf42413"
1436 1306
 "checksum rustc-demangle 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "aee45432acc62f7b9a108cc054142dac51f979e69e71ddce7d6fc7adf29e817e"
1437 1307
 "checksum safemem 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e27a8b19b835f7aea908818e871f5cc3a5a186550c30773be987e155e8163d8f"
1438
-"checksum schannel 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "4330c2e874379fbd28fa67ba43239dbe8c7fb00662ceb1078bd37474f08bf5ce"
1308
+"checksum schannel 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "acece75e0f987c48863a6c792ec8b7d6c4177d4a027f8ccc72f849794f437016"
1439 1309
 "checksum scoped-tls 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f417c22df063e9450888a7561788e9bd46d3bb3c1466435b4eccb903807f147d"
1440 1310
 "checksum scoped_threadpool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "4ea459fe3ceff01e09534847c49860891d3ff1c12b4eb7731b67f2778fb60190"
1441 1311
 "checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
1442
-"checksum secur32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3f412dfa83308d893101dd59c10d6fda8283465976c28c287c5c855bf8d216bc"
1443 1312
 "checksum security-framework 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "dfa44ee9c54ce5eecc9de7d5acbad112ee58755239381f687e564004ba4a2332"
1444 1313
 "checksum security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "5421621e836278a0b139268f36eee0dc7e389b784dc3f79d8f11aabadf41bead"
1445 1314
 "checksum serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)" = "db99f3919e20faa51bb2996057f5031d8685019b5a06139b1ce761da671b8526"
1446
-"checksum serde_derive 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)" = "f4ba7591cfe93755e89eeecdbcc668885624829b020050e6aec99c2a03bd3fd0"
1447
-"checksum serde_derive_internals 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6e03f1c9530c3fb0a0a5c9b826bdd9246a5921ae995d75f512ac917fc4dd55b5"
1448 1315
 "checksum serde_json 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c9db7266c7d63a4c4b7fe8719656ccdd51acf1bed6124b174f933b009fb10bcb"
1449 1316
 "checksum serde_urlencoded 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ce0fd303af908732989354c6f02e05e2e6d597152870f2c6990efb0577137480"
1450
-"checksum servo-glutin 0.13.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f5a0f8bf1b9904f47f3c191f2f7be6b1fdc8dc6e2e0d22934533c62cbe049793"
1317
+"checksum servo-glutin 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)" = "3267faf3d12f1c2210f691e82826493d732f7288cd3842a0739db3c2ce3d5048"
1451 1318
 "checksum shared_library 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8254bf098ce4d8d7cc7cc6de438c5488adc5297e5b7ffef88816c0a91bd289c1"
1452 1319
 "checksum shell32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9ee04b46101f57121c9da2b151988283b6beb79b34f5bb29a58ee48cb695122c"
1453 1320
 "checksum siphasher 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0df90a788073e8d0235a67e50441d47db7c8ad9debd91cbf43736a2a92d36537"
1454 1321
 "checksum slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23"
1455 1322
 "checksum slab 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fdeff4cd9ecff59ec7e3744cbca73dfe5ac35c2aedb2cfba8a1c715a18912e9d"
1456 1323
 "checksum smallvec 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4c8cbcd6df1e117c2210e13ab5109635ad68a929fcbb8964dc965b76cb5ee013"
1457
-"checksum syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad"
1458
-"checksum synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6"
1459 1324
 "checksum take 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b157868d8ac1f56b64604539990685fa7611d8fa9e5476cf0c02cf34d32917c5"
1460 1325
 "checksum tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "87974a6f5c1dfb344d733055601650059a3363de2a6104819293baff662132d6"
1461 1326
 "checksum time 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "a15375f1df02096fb3317256ce2cee6a1f42fc84ea5ad5fc8c421cfe40c73098"
1462
-"checksum tokio-core 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "c87c27560184212c9dc45cd8f38623f37918248aad5b58fb65303b5d07a98c6e"
1327
+"checksum tokio-core 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "52b4e32d8edbf29501aabb3570f027c6ceb00ccef6538f4bddba0200503e74e8"
1463 1328
 "checksum tokio-io 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "514aae203178929dbf03318ad7c683126672d4d96eccb77b29603d33c9e25743"
1464 1329
 "checksum tokio-proto 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8fbb47ae81353c63c487030659494b295f6cb6576242f907f203473b191b0389"
1465 1330
 "checksum tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162"
@@ -1469,7 +1334,6 @@ dependencies = [
1469 1334
 "checksum unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "284b6d3db520d67fbe88fd778c21510d1b0ba4a551e5d0fbb023d33405f6de8a"
1470 1335
 "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
1471 1336
 "checksum unicode-normalization 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "51ccda9ef9efa3f7ef5d91e8f9b83bbe6955f9bf86aec89d5cce2c874625920f"
1472
-"checksum unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc"
1473 1337
 "checksum url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fa35e768d4daf1d85733418a49fb42e10d7f633e394fccab4ab7aba897053fe2"
1474 1338
 "checksum user32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4ef4711d107b21b410a3a974b1204d9accc8b10dad75d8324b5d755de1617d47"
1475 1339
 "checksum uuid 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bcc7e3b898aa6f6c08e5295b6c89258d1331e9ac578cc992fb818759951bdc22"

+ 1
- 3
Cargo.toml 查看文件

@@ -8,10 +8,8 @@ gl = "0.9"
8 8
 image = "0.18"
9 9
 linked-hash-map = "0.5.0"
10 10
 osmpbf = "0.1"
11
-servo-glutin = "0.13"
12
-serde = "1.0"
13
-serde_derive = "1.0"
14 11
 reqwest = "0.8"
12
+servo-glutin = "0.13"
15 13
 toml = "0.4"
16 14
 
17 15
 [build-dependencies]

+ 73
- 40
src/config.rs 查看文件

@@ -1,59 +1,92 @@
1
-use std::collections::BTreeMap;
1
+use std::error::Error;
2 2
 use std::fs::File;
3 3
 use std::io::Read;
4 4
 use std::path::{Path, PathBuf};
5 5
 use tile_source::TileSource;
6
-use toml;
6
+use toml::Value;
7 7
 
8 8
 
9
-#[derive(Deserialize, Clone, Debug)]
10 9
 pub struct Config {
11 10
     tile_cache_dir: String,
12
-    sources: BTreeMap<String, Source>,
13
-}
14
-
15
-#[derive(Deserialize, Clone, Debug)]
16
-struct Source {
17
-    max_zoom: u32,
18
-    url_template: String,
19
-    extension: String,
11
+    sources: Vec<(String, TileSource)>,
20 12
 }
21 13
 
22 14
 impl Config {
23
-    pub fn from_toml<P: AsRef<Path>>(path: P) -> Option<Config> {
24
-        let mut file = match File::open(path) {
25
-            Ok(file) => file,
26
-            Err(_) => return None,
27
-        };
15
+    pub fn from_toml<P: AsRef<Path>>(path: P) -> Result<Config, String> {
16
+        let mut file = File::open(path).map_err(|e| e.description().to_string())?;
28 17
 
29 18
         let mut content = String::new();
30
-        if file.read_to_string(&mut content).is_err() {
31
-            return None;
32
-        }
19
+        file.read_to_string(&mut content).map_err(|e| e.description().to_string())?;
33 20
 
34
-        toml::from_str(&content).ok()
35
-    }
21
+        match content.parse::<Value>() {
22
+            Ok(Value::Table(ref table)) => {
23
+                let tile_cache_dir = table.get("tile_cache_dir")
24
+                    .ok_or_else(|| "missing \"tile_cache_dir\" entry".to_string())?
25
+                    .as_str()
26
+                    .ok_or_else(|| "tile_cache_dir has to be a string".to_string())?;
27
+
28
+                let sources_table = table.get("sources")
29
+                    .ok_or_else(|| "missing \"sources\" table".to_string())?
30
+                    .as_table()
31
+                    .ok_or_else(|| "\"sources\" has to be a table".to_string())?;
32
+
33
+                let mut sources_vec: Vec<(String, TileSource)> = Vec::with_capacity(sources_table.len());
34
+
35
+                for (id, (name, source)) in sources_table.iter().enumerate() {
36
+                    let max_zoom = source.get("max_zoom")
37
+                        .ok_or_else(|| format!("source {:?} is missing \"max_zoom\" entry", name))?
38
+                        .as_integer()
39
+                        .ok_or_else(|| "max_zoom has to be an integer".to_string())
40
+                        .and_then(|m| {
41
+                            if m <= 0 || m > 30 {
42
+                                Err(format!("max_zoom = {} is out of bounds. Has to be in interval [1, 30].", m))
43
+                            } else {
44
+                                Ok(m)
45
+                            }
46
+                        })?;
36 47
 
37
-    pub fn tile_sources(&self) -> Vec<(String, TileSource)> {
38
-        let mut vec = Vec::with_capacity(self.sources.len());
39
-
40
-        for (id, (name, source)) in self.sources.iter().enumerate() {
41
-            let mut path = PathBuf::from(&self.tile_cache_dir);
42
-            //TODO escape name (no slashes or dots)
43
-            path.push(name);
44
-
45
-            vec.push((
46
-                name.clone(),
47
-                TileSource::new(
48
-                    id as u32,
49
-                    source.url_template.clone(),
50
-                    path,
51
-                    source.extension.clone(),
52
-                    source.max_zoom,
53
-                ),
54
-            ));
48
+                    let url_template = source.get("url_template")
49
+                        .ok_or_else(|| format!("source {:?} is missing \"url_template\" entry", name))?
50
+                        .as_str()
51
+                        .ok_or_else(|| "url_template has to be a string".to_string())?;
52
+
53
+                    let extension = source.get("extension")
54
+                        .ok_or_else(|| format!("source {:?} is missing \"extension\" entry", name))?
55
+                        .as_str()
56
+                        .ok_or_else(|| "extension has to be a string".to_string())?;
57
+
58
+                    if name.contains("/") || name.contains("\\") {
59
+                        return Err(format!("source name ({:?}) must not contain slashes (\"/\" or \"\\\")", name));
60
+                    }
61
+
62
+                    let mut path = PathBuf::from(&tile_cache_dir);
63
+                    path.push(name);
64
+
65
+                    sources_vec.push((
66
+                        name.clone(),
67
+                        TileSource::new(
68
+                            id as u32,
69
+                            url_template.to_string(),
70
+                            path,
71
+                            extension.to_string(),
72
+                            max_zoom as u32,
73
+                        ),
74
+                    ));
75
+                }
76
+
77
+                Ok(
78
+                    Config {
79
+                        tile_cache_dir: tile_cache_dir.to_string(),
80
+                        sources: sources_vec,
81
+                    }
82
+                )
83
+            },
84
+            Ok(_) => Err("TOML file has invalid structure. Expected a Table as the top-level element.".to_string()),
85
+            Err(e) => Err(e.description().to_string()),
55 86
         }
87
+    }
56 88
 
57
-        vec
89
+    pub fn tile_sources(&self) -> &[(String, TileSource)] {
90
+        &self.sources
58 91
     }
59 92
 }

+ 5
- 13
src/main.rs 查看文件

@@ -1,15 +1,7 @@
1
-#[cfg(target_os = "android")]
2
-#[macro_use]
3
-extern crate android_glue;
4
-
5
-#[macro_use]
6
-extern crate serde_derive;
7
-
8 1
 extern crate glutin;
9 2
 extern crate image;
10 3
 extern crate linked_hash_map;
11 4
 extern crate reqwest;
12
-extern crate serde;
13 5
 extern crate toml;
14 6
 
15 7
 
@@ -32,8 +24,8 @@ mod tile_source;
32 24
 use coord::ScreenCoord;
33 25
 use glutin::{ElementState, Event, MouseButton, MouseScrollDelta, VirtualKeyCode};
34 26
 use map_view_gl::MapViewGl;
35
-use tile_source::TileSource;
36 27
 use std::time::{Duration, Instant};
28
+use tile_source::TileSource;
37 29
 
38 30
 #[cfg(target_os = "android")]
39 31
 android_start!(main);
@@ -253,13 +245,13 @@ fn main() {
253 245
     }
254 246
 }
255 247
 
256
-struct TileSources {
248
+struct TileSources<'a> {
257 249
     current_index: usize,
258
-    sources: Vec<(String, TileSource)>,
250
+    sources: &'a [(String, TileSource)],
259 251
 }
260 252
 
261
-impl TileSources {
262
-    pub fn new(sources: Vec<(String, TileSource)>) -> Option<TileSources> {
253
+impl<'a> TileSources<'a> {
254
+    pub fn new(sources: &'a [(String, TileSource)]) -> Option<TileSources> {
263 255
         if sources.is_empty() {
264 256
             None
265 257
         } else {