diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Cargo.lock | 1052 | ||||
-rw-r--r-- | Cargo.toml | 8 | ||||
-rw-r--r-- | src/main.rs | 35 |
4 files changed, 1098 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..70e3cae --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,3 @@ | |||
1 | |||
2 | /target | ||
3 | **/*.rs.bk | ||
diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..e3d6e96 --- /dev/null +++ b/Cargo.lock | |||
@@ -0,0 +1,1052 @@ | |||
1 | [[package]] | ||
2 | name = "adler32" | ||
3 | version = "1.0.2" | ||
4 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
5 | |||
6 | [[package]] | ||
7 | name = "arrayvec" | ||
8 | version = "0.4.7" | ||
9 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
10 | dependencies = [ | ||
11 | "nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | ||
12 | ] | ||
13 | |||
14 | [[package]] | ||
15 | name = "base64" | ||
16 | version = "0.9.2" | ||
17 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
18 | dependencies = [ | ||
19 | "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
20 | "safemem 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
21 | ] | ||
22 | |||
23 | [[package]] | ||
24 | name = "bitflags" | ||
25 | version = "0.9.1" | ||
26 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
27 | |||
28 | [[package]] | ||
29 | name = "bitflags" | ||
30 | version = "1.0.3" | ||
31 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
32 | |||
33 | [[package]] | ||
34 | name = "build_const" | ||
35 | version = "0.2.1" | ||
36 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
37 | |||
38 | [[package]] | ||
39 | name = "byteorder" | ||
40 | version = "1.2.3" | ||
41 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
42 | |||
43 | [[package]] | ||
44 | name = "bytes" | ||
45 | version = "0.4.8" | ||
46 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
47 | dependencies = [ | ||
48 | "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
49 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
50 | ] | ||
51 | |||
52 | [[package]] | ||
53 | name = "cc" | ||
54 | version = "1.0.17" | ||
55 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
56 | |||
57 | [[package]] | ||
58 | name = "cfg-if" | ||
59 | version = "0.1.3" | ||
60 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
61 | |||
62 | [[package]] | ||
63 | name = "core-foundation" | ||
64 | version = "0.2.3" | ||
65 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
66 | dependencies = [ | ||
67 | "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
68 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
69 | ] | ||
70 | |||
71 | [[package]] | ||
72 | name = "core-foundation-sys" | ||
73 | version = "0.2.3" | ||
74 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
75 | dependencies = [ | ||
76 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
77 | ] | ||
78 | |||
79 | [[package]] | ||
80 | name = "crc" | ||
81 | version = "1.8.1" | ||
82 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
83 | dependencies = [ | ||
84 | "build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
85 | ] | ||
86 | |||
87 | [[package]] | ||
88 | name = "crossbeam-deque" | ||
89 | version = "0.3.1" | ||
90 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
91 | dependencies = [ | ||
92 | "crossbeam-epoch 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
93 | "crossbeam-utils 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
94 | ] | ||
95 | |||
96 | [[package]] | ||
97 | name = "crossbeam-epoch" | ||
98 | version = "0.4.3" | ||
99 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
100 | dependencies = [ | ||
101 | "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
102 | "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
103 | "crossbeam-utils 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
104 | "lazy_static 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
105 | "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
106 | "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
107 | ] | ||
108 | |||
109 | [[package]] | ||
110 | name = "crossbeam-utils" | ||
111 | version = "0.3.2" | ||
112 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
113 | dependencies = [ | ||
114 | "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
115 | ] | ||
116 | |||
117 | [[package]] | ||
118 | name = "dtoa" | ||
119 | version = "0.4.2" | ||
120 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
121 | |||
122 | [[package]] | ||
123 | name = "encoding_rs" | ||
124 | version = "0.7.2" | ||
125 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
126 | dependencies = [ | ||
127 | "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
128 | ] | ||
129 | |||
130 | [[package]] | ||
131 | name = "foreign-types" | ||
132 | version = "0.3.2" | ||
133 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
134 | dependencies = [ | ||
135 | "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
136 | ] | ||
137 | |||
138 | [[package]] | ||
139 | name = "foreign-types-shared" | ||
140 | version = "0.1.1" | ||
141 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
142 | |||
143 | [[package]] | ||
144 | name = "fuchsia-zircon" | ||
145 | version = "0.3.3" | ||
146 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
147 | dependencies = [ | ||
148 | "bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
149 | "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
150 | ] | ||
151 | |||
152 | [[package]] | ||
153 | name = "fuchsia-zircon-sys" | ||
154 | version = "0.3.3" | ||
155 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
156 | |||
157 | [[package]] | ||
158 | name = "futures" | ||
159 | version = "0.1.21" | ||
160 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
161 | |||
162 | [[package]] | ||
163 | name = "futures-cpupool" | ||
164 | version = "0.1.8" | ||
165 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
166 | dependencies = [ | ||
167 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
168 | "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
169 | ] | ||
170 | |||
171 | [[package]] | ||
172 | name = "httparse" | ||
173 | version = "1.2.4" | ||
174 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
175 | |||
176 | [[package]] | ||
177 | name = "hyper" | ||
178 | version = "0.11.27" | ||
179 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
180 | dependencies = [ | ||
181 | "base64 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
182 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
183 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
184 | "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
185 | "httparse 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
186 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
187 | "language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
188 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
189 | "mime 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
190 | "net2 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", | ||
191 | "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
192 | "relay 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
193 | "time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", | ||
194 | "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", | ||
195 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
196 | "tokio-proto 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
197 | "tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
198 | "unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
199 | "want 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
200 | ] | ||
201 | |||
202 | [[package]] | ||
203 | name = "hyper-tls" | ||
204 | version = "0.1.3" | ||
205 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
206 | dependencies = [ | ||
207 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
208 | "hyper 0.11.27 (registry+https://github.com/rust-lang/crates.io-index)", | ||
209 | "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
210 | "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", | ||
211 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
212 | "tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
213 | "tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
214 | ] | ||
215 | |||
216 | [[package]] | ||
217 | name = "idna" | ||
218 | version = "0.1.4" | ||
219 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
220 | dependencies = [ | ||
221 | "matches 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | ||
222 | "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
223 | "unicode-normalization 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
224 | ] | ||
225 | |||
226 | [[package]] | ||
227 | name = "iovec" | ||
228 | version = "0.1.2" | ||
229 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
230 | dependencies = [ | ||
231 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
232 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
233 | ] | ||
234 | |||
235 | [[package]] | ||
236 | name = "itoa" | ||
237 | version = "0.4.1" | ||
238 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
239 | |||
240 | [[package]] | ||
241 | name = "kernel32-sys" | ||
242 | version = "0.2.2" | ||
243 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
244 | dependencies = [ | ||
245 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
246 | "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
247 | ] | ||
248 | |||
249 | [[package]] | ||
250 | name = "language-tags" | ||
251 | version = "0.2.2" | ||
252 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
253 | |||
254 | [[package]] | ||
255 | name = "lazy_static" | ||
256 | version = "0.2.11" | ||
257 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
258 | |||
259 | [[package]] | ||
260 | name = "lazy_static" | ||
261 | version = "1.0.1" | ||
262 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
263 | |||
264 | [[package]] | ||
265 | name = "lazycell" | ||
266 | version = "0.6.0" | ||
267 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
268 | |||
269 | [[package]] | ||
270 | name = "libc" | ||
271 | version = "0.2.42" | ||
272 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
273 | |||
274 | [[package]] | ||
275 | name = "libflate" | ||
276 | version = "0.1.15" | ||
277 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
278 | dependencies = [ | ||
279 | "adler32 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
280 | "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
281 | "crc 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
282 | ] | ||
283 | |||
284 | [[package]] | ||
285 | name = "log" | ||
286 | version = "0.3.9" | ||
287 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
288 | dependencies = [ | ||
289 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
290 | ] | ||
291 | |||
292 | [[package]] | ||
293 | name = "log" | ||
294 | version = "0.4.2" | ||
295 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
296 | dependencies = [ | ||
297 | "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
298 | ] | ||
299 | |||
300 | [[package]] | ||
301 | name = "matches" | ||
302 | version = "0.1.6" | ||
303 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
304 | |||
305 | [[package]] | ||
306 | name = "memoffset" | ||
307 | version = "0.2.1" | ||
308 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
309 | |||
310 | [[package]] | ||
311 | name = "mime" | ||
312 | version = "0.3.7" | ||
313 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
314 | dependencies = [ | ||
315 | "unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
316 | ] | ||
317 | |||
318 | [[package]] | ||
319 | name = "mime_guess" | ||
320 | version = "2.0.0-alpha.4" | ||
321 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
322 | dependencies = [ | ||
323 | "mime 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
324 | "phf 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)", | ||
325 | "phf_codegen 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)", | ||
326 | "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
327 | ] | ||
328 | |||
329 | [[package]] | ||
330 | name = "mio" | ||
331 | version = "0.6.14" | ||
332 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
333 | dependencies = [ | ||
334 | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
335 | "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
336 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
337 | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
338 | "lazycell 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
339 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
340 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
341 | "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
342 | "net2 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", | ||
343 | "slab 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
344 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
345 | ] | ||
346 | |||
347 | [[package]] | ||
348 | name = "miow" | ||
349 | version = "0.2.1" | ||
350 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
351 | dependencies = [ | ||
352 | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
353 | "net2 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", | ||
354 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
355 | "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
356 | ] | ||
357 | |||
358 | [[package]] | ||
359 | name = "native-tls" | ||
360 | version = "0.1.5" | ||
361 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
362 | dependencies = [ | ||
363 | "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", | ||
364 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
365 | "openssl 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", | ||
366 | "schannel 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | ||
367 | "security-framework 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", | ||
368 | "security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", | ||
369 | "tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
370 | ] | ||
371 | |||
372 | [[package]] | ||
373 | name = "net2" | ||
374 | version = "0.2.32" | ||
375 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
376 | dependencies = [ | ||
377 | "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
378 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
379 | "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
380 | ] | ||
381 | |||
382 | [[package]] | ||
383 | name = "nodrop" | ||
384 | version = "0.1.12" | ||
385 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
386 | |||
387 | [[package]] | ||
388 | name = "num_cpus" | ||
389 | version = "1.8.0" | ||
390 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
391 | dependencies = [ | ||
392 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
393 | ] | ||
394 | |||
395 | [[package]] | ||
396 | name = "openssl" | ||
397 | version = "0.9.24" | ||
398 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
399 | dependencies = [ | ||
400 | "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
401 | "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
402 | "lazy_static 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
403 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
404 | "openssl-sys 0.9.33 (registry+https://github.com/rust-lang/crates.io-index)", | ||
405 | ] | ||
406 | |||
407 | [[package]] | ||
408 | name = "openssl-sys" | ||
409 | version = "0.9.33" | ||
410 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
411 | dependencies = [ | ||
412 | "cc 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", | ||
413 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
414 | "pkg-config 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", | ||
415 | "vcpkg 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
416 | ] | ||
417 | |||
418 | [[package]] | ||
419 | name = "percent-encoding" | ||
420 | version = "1.0.1" | ||
421 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
422 | |||
423 | [[package]] | ||
424 | name = "phf" | ||
425 | version = "0.7.22" | ||
426 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
427 | dependencies = [ | ||
428 | "phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)", | ||
429 | ] | ||
430 | |||
431 | [[package]] | ||
432 | name = "phf_codegen" | ||
433 | version = "0.7.22" | ||
434 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
435 | dependencies = [ | ||
436 | "phf_generator 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)", | ||
437 | "phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)", | ||
438 | ] | ||
439 | |||
440 | [[package]] | ||
441 | name = "phf_generator" | ||
442 | version = "0.7.22" | ||
443 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
444 | dependencies = [ | ||
445 | "phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)", | ||
446 | "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
447 | ] | ||
448 | |||
449 | [[package]] | ||
450 | name = "phf_shared" | ||
451 | version = "0.7.22" | ||
452 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
453 | dependencies = [ | ||
454 | "siphasher 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
455 | "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
456 | ] | ||
457 | |||
458 | [[package]] | ||
459 | name = "pkg-config" | ||
460 | version = "0.3.11" | ||
461 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
462 | |||
463 | [[package]] | ||
464 | name = "rand" | ||
465 | version = "0.3.22" | ||
466 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
467 | dependencies = [ | ||
468 | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
469 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
470 | "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
471 | ] | ||
472 | |||
473 | [[package]] | ||
474 | name = "rand" | ||
475 | version = "0.4.2" | ||
476 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
477 | dependencies = [ | ||
478 | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
479 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
480 | "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
481 | ] | ||
482 | |||
483 | [[package]] | ||
484 | name = "redox_syscall" | ||
485 | version = "0.1.40" | ||
486 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
487 | |||
488 | [[package]] | ||
489 | name = "relay" | ||
490 | version = "0.1.1" | ||
491 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
492 | dependencies = [ | ||
493 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
494 | ] | ||
495 | |||
496 | [[package]] | ||
497 | name = "remove_dir_all" | ||
498 | version = "0.5.1" | ||
499 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
500 | dependencies = [ | ||
501 | "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
502 | ] | ||
503 | |||
504 | [[package]] | ||
505 | name = "reqwest" | ||
506 | version = "0.8.6" | ||
507 | source = "git+https://github.com/seanmonstar/reqwest#a4f5c2d3f0a187daa3940d0a249f4748cd38fe0f" | ||
508 | dependencies = [ | ||
509 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
510 | "encoding_rs 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
511 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
512 | "hyper 0.11.27 (registry+https://github.com/rust-lang/crates.io-index)", | ||
513 | "hyper-tls 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
514 | "libflate 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", | ||
515 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
516 | "mime_guess 2.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
517 | "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
518 | "serde 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", | ||
519 | "serde_json 1.0.20 (registry+https://github.com/rust-lang/crates.io-index)", | ||
520 | "serde_urlencoded 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
521 | "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", | ||
522 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
523 | "tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
524 | "url 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
525 | "uuid 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
526 | ] | ||
527 | |||
528 | [[package]] | ||
529 | name = "safemem" | ||
530 | version = "0.2.0" | ||
531 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
532 | |||
533 | [[package]] | ||
534 | name = "schannel" | ||
535 | version = "0.1.12" | ||
536 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
537 | dependencies = [ | ||
538 | "lazy_static 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
539 | "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
540 | ] | ||
541 | |||
542 | [[package]] | ||
543 | name = "scoped-tls" | ||
544 | version = "0.1.2" | ||
545 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
546 | |||
547 | [[package]] | ||
548 | name = "scopeguard" | ||
549 | version = "0.3.3" | ||
550 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
551 | |||
552 | [[package]] | ||
553 | name = "security-framework" | ||
554 | version = "0.1.16" | ||
555 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
556 | dependencies = [ | ||
557 | "core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
558 | "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
559 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
560 | "security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", | ||
561 | ] | ||
562 | |||
563 | [[package]] | ||
564 | name = "security-framework-sys" | ||
565 | version = "0.1.16" | ||
566 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
567 | dependencies = [ | ||
568 | "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
569 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
570 | ] | ||
571 | |||
572 | [[package]] | ||
573 | name = "serde" | ||
574 | version = "1.0.66" | ||
575 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
576 | |||
577 | [[package]] | ||
578 | name = "serde_json" | ||
579 | version = "1.0.20" | ||
580 | source = "git+https://github.com/serde-rs/json#c85963c2881e3efaad86773d502de705691c61bb" | ||
581 | dependencies = [ | ||
582 | "dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
583 | "itoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
584 | "serde 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", | ||
585 | ] | ||
586 | |||
587 | [[package]] | ||
588 | name = "serde_json" | ||
589 | version = "1.0.20" | ||
590 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
591 | dependencies = [ | ||
592 | "dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
593 | "itoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
594 | "serde 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", | ||
595 | ] | ||
596 | |||
597 | [[package]] | ||
598 | name = "serde_urlencoded" | ||
599 | version = "0.5.2" | ||
600 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
601 | dependencies = [ | ||
602 | "dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
603 | "itoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
604 | "serde 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", | ||
605 | "url 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
606 | ] | ||
607 | |||
608 | [[package]] | ||
609 | name = "siphasher" | ||
610 | version = "0.2.2" | ||
611 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
612 | |||
613 | [[package]] | ||
614 | name = "slab" | ||
615 | version = "0.3.0" | ||
616 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
617 | |||
618 | [[package]] | ||
619 | name = "slab" | ||
620 | version = "0.4.0" | ||
621 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
622 | |||
623 | [[package]] | ||
624 | name = "smallvec" | ||
625 | version = "0.2.1" | ||
626 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
627 | |||
628 | [[package]] | ||
629 | name = "take" | ||
630 | version = "0.1.0" | ||
631 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
632 | |||
633 | [[package]] | ||
634 | name = "tempdir" | ||
635 | version = "0.3.7" | ||
636 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
637 | dependencies = [ | ||
638 | "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
639 | "remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
640 | ] | ||
641 | |||
642 | [[package]] | ||
643 | name = "time" | ||
644 | version = "0.1.40" | ||
645 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
646 | dependencies = [ | ||
647 | "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)", | ||
648 | "redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", | ||
649 | "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
650 | ] | ||
651 | |||
652 | [[package]] | ||
653 | name = "tokio" | ||
654 | version = "0.1.7" | ||
655 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
656 | dependencies = [ | ||
657 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
658 | "mio 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)", | ||
659 | "tokio-executor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
660 | "tokio-fs 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
661 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
662 | "tokio-reactor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
663 | "tokio-tcp 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
664 | "tokio-threadpool 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
665 | "tokio-timer 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
666 | "tokio-udp 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
667 | ] | ||
668 | |||
669 | [[package]] | ||
670 | name = "tokio-codec" | ||
671 | version = "0.1.0" | ||
672 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
673 | dependencies = [ | ||
674 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
675 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
676 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
677 | ] | ||
678 | |||
679 | [[package]] | ||
680 | name = "tokio-core" | ||
681 | version = "0.1.17" | ||
682 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
683 | dependencies = [ | ||
684 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
685 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
686 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
687 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
688 | "mio 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)", | ||
689 | "scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
690 | "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
691 | "tokio-executor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
692 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
693 | "tokio-reactor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
694 | "tokio-timer 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
695 | ] | ||
696 | |||
697 | [[package]] | ||
698 | name = "tokio-executor" | ||
699 | version = "0.1.2" | ||
700 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
701 | dependencies = [ | ||
702 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
703 | ] | ||
704 | |||
705 | [[package]] | ||
706 | name = "tokio-fs" | ||
707 | version = "0.1.1" | ||
708 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
709 | dependencies = [ | ||
710 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
711 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
712 | "tokio-threadpool 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
713 | ] | ||
714 | |||
715 | [[package]] | ||
716 | name = "tokio-io" | ||
717 | version = "0.1.7" | ||
718 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
719 | dependencies = [ | ||
720 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
721 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
722 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
723 | ] | ||
724 | |||
725 | [[package]] | ||
726 | name = "tokio-proto" | ||
727 | version = "0.1.1" | ||
728 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
729 | dependencies = [ | ||
730 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
731 | "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", | ||
732 | "net2 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", | ||
733 | "rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", | ||
734 | "slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
735 | "smallvec 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
736 | "take 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
737 | "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", | ||
738 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
739 | "tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
740 | ] | ||
741 | |||
742 | [[package]] | ||
743 | name = "tokio-reactor" | ||
744 | version = "0.1.2" | ||
745 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
746 | dependencies = [ | ||
747 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
748 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
749 | "mio 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)", | ||
750 | "slab 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
751 | "tokio-executor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
752 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
753 | ] | ||
754 | |||
755 | [[package]] | ||
756 | name = "tokio-service" | ||
757 | version = "0.1.0" | ||
758 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
759 | dependencies = [ | ||
760 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
761 | ] | ||
762 | |||
763 | [[package]] | ||
764 | name = "tokio-tcp" | ||
765 | version = "0.1.0" | ||
766 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
767 | dependencies = [ | ||
768 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
769 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
770 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
771 | "mio 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)", | ||
772 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
773 | "tokio-reactor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
774 | ] | ||
775 | |||
776 | [[package]] | ||
777 | name = "tokio-threadpool" | ||
778 | version = "0.1.4" | ||
779 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
780 | dependencies = [ | ||
781 | "crossbeam-deque 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
782 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
783 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
784 | "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
785 | "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
786 | "tokio-executor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
787 | ] | ||
788 | |||
789 | [[package]] | ||
790 | name = "tokio-timer" | ||
791 | version = "0.2.4" | ||
792 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
793 | dependencies = [ | ||
794 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
795 | "tokio-executor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
796 | ] | ||
797 | |||
798 | [[package]] | ||
799 | name = "tokio-tls" | ||
800 | version = "0.1.4" | ||
801 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
802 | dependencies = [ | ||
803 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
804 | "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
805 | "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", | ||
806 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
807 | ] | ||
808 | |||
809 | [[package]] | ||
810 | name = "tokio-udp" | ||
811 | version = "0.1.1" | ||
812 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
813 | dependencies = [ | ||
814 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
815 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
816 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
817 | "mio 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)", | ||
818 | "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
819 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||
820 | "tokio-reactor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
821 | ] | ||
822 | |||
823 | [[package]] | ||
824 | name = "trickle" | ||
825 | version = "0.1.0" | ||
826 | dependencies = [ | ||
827 | "reqwest 0.8.6 (git+https://github.com/seanmonstar/reqwest)", | ||
828 | "serde_json 1.0.20 (git+https://github.com/serde-rs/json)", | ||
829 | ] | ||
830 | |||
831 | [[package]] | ||
832 | name = "try-lock" | ||
833 | version = "0.1.0" | ||
834 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
835 | |||
836 | [[package]] | ||
837 | name = "unicase" | ||
838 | version = "1.4.2" | ||
839 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
840 | dependencies = [ | ||
841 | "version_check 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
842 | ] | ||
843 | |||
844 | [[package]] | ||
845 | name = "unicase" | ||
846 | version = "2.1.0" | ||
847 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
848 | dependencies = [ | ||
849 | "version_check 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
850 | ] | ||
851 | |||
852 | [[package]] | ||
853 | name = "unicode-bidi" | ||
854 | version = "0.3.4" | ||
855 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
856 | dependencies = [ | ||
857 | "matches 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | ||
858 | ] | ||
859 | |||
860 | [[package]] | ||
861 | name = "unicode-normalization" | ||
862 | version = "0.1.7" | ||
863 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
864 | |||
865 | [[package]] | ||
866 | name = "url" | ||
867 | version = "1.7.0" | ||
868 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
869 | dependencies = [ | ||
870 | "idna 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||
871 | "matches 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | ||
872 | "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
873 | ] | ||
874 | |||
875 | [[package]] | ||
876 | name = "uuid" | ||
877 | version = "0.6.5" | ||
878 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
879 | dependencies = [ | ||
880 | "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||
881 | "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
882 | ] | ||
883 | |||
884 | [[package]] | ||
885 | name = "vcpkg" | ||
886 | version = "0.2.4" | ||
887 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
888 | |||
889 | [[package]] | ||
890 | name = "version_check" | ||
891 | version = "0.1.3" | ||
892 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
893 | |||
894 | [[package]] | ||
895 | name = "want" | ||
896 | version = "0.0.4" | ||
897 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
898 | dependencies = [ | ||
899 | "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||
900 | "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
901 | "try-lock 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
902 | ] | ||
903 | |||
904 | [[package]] | ||
905 | name = "winapi" | ||
906 | version = "0.2.8" | ||
907 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
908 | |||
909 | [[package]] | ||
910 | name = "winapi" | ||
911 | version = "0.3.5" | ||
912 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
913 | dependencies = [ | ||
914 | "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
915 | "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
916 | ] | ||
917 | |||
918 | [[package]] | ||
919 | name = "winapi-build" | ||
920 | version = "0.1.1" | ||
921 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
922 | |||
923 | [[package]] | ||
924 | name = "winapi-i686-pc-windows-gnu" | ||
925 | version = "0.4.0" | ||
926 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
927 | |||
928 | [[package]] | ||
929 | name = "winapi-x86_64-pc-windows-gnu" | ||
930 | version = "0.4.0" | ||
931 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
932 | |||
933 | [[package]] | ||
934 | name = "ws2_32-sys" | ||
935 | version = "0.2.1" | ||
936 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
937 | dependencies = [ | ||
938 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
939 | "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
940 | ] | ||
941 | |||
942 | [metadata] | ||
943 | "checksum adler32 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6cbd0b9af8587c72beadc9f72d35b9fbb070982c9e6203e46e93f10df25f8f45" | ||
944 | "checksum arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef" | ||
945 | "checksum base64 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "85415d2594767338a74a30c1d370b2f3262ec1b4ed2d7bba5b3faf4de40467d9" | ||
946 | "checksum bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5" | ||
947 | "checksum bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d0c54bb8f454c567f21197eefcdbf5679d0bd99f2ddbe52e84c77061952e6789" | ||
948 | "checksum build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "39092a32794787acd8525ee150305ff051b0aa6cc2abaf193924f5ab05425f39" | ||
949 | "checksum byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "74c0b906e9446b0a2e4f760cdb3fa4b2c48cdc6db8766a845c54b6ff063fd2e9" | ||
950 | "checksum bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7dd32989a66957d3f0cba6588f15d4281a733f4e9ffc43fcd2385f57d3bf99ff" | ||
951 | "checksum cc 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "49ec142f5768efb5b7622aebc3fdbdbb8950a4b9ba996393cb76ef7466e8747d" | ||
952 | "checksum cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "405216fd8fe65f718daa7102ea808a946b6ce40c742998fbfd3463645552de18" | ||
953 | "checksum core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "25bfd746d203017f7d5cbd31ee5d8e17f94b6521c7af77ece6c9e4b2d4b16c67" | ||
954 | "checksum core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "065a5d7ffdcbc8fa145d6f0746f3555025b9097a9e9cda59f7467abae670c78d" | ||
955 | "checksum crc 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d663548de7f5cca343f1e0a48d14dcfb0e9eb4e079ec58883b7251539fa10aeb" | ||
956 | "checksum crossbeam-deque 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fe8153ef04a7594ded05b427ffad46ddeaf22e63fd48d42b3e1e3bb4db07cae7" | ||
957 | "checksum crossbeam-epoch 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2af0e75710d6181e234c8ecc79f14a97907850a541b13b0be1dd10992f2e4620" | ||
958 | "checksum crossbeam-utils 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d636a8b3bcc1b409d7ffd3facef8f21dcb4009626adbd0c5e6c4305c07253c7b" | ||
959 | "checksum dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "09c3753c3db574d215cba4ea76018483895d7bff25a31b49ba45db21c48e50ab" | ||
960 | "checksum encoding_rs 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "98fd0f24d1fb71a4a6b9330c8ca04cbd4e7cc5d846b54ca74ff376bc7c9f798d" | ||
961 | "checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" | ||
962 | "checksum foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" | ||
963 | "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" | ||
964 | "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" | ||
965 | "checksum futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)" = "1a70b146671de62ec8c8ed572219ca5d594d9b06c0b364d5e67b722fc559b48c" | ||
966 | "checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" | ||
967 | "checksum httparse 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "c2f407128745b78abc95c0ffbe4e5d37427fdc0d45470710cfef8c44522a2e37" | ||
968 | "checksum hyper 0.11.27 (registry+https://github.com/rust-lang/crates.io-index)" = "34a590ca09d341e94cddf8e5af0bbccde205d5fbc2fa3c09dd67c7f85cea59d7" | ||
969 | "checksum hyper-tls 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a5aa51f6ae9842239b0fac14af5f22123b8432b4cc774a44ff059fcba0f675ca" | ||
970 | "checksum idna 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "014b298351066f1512874135335d62a789ffe78a9974f94b43ed5621951eaf7d" | ||
971 | "checksum iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08" | ||
972 | "checksum itoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c069bbec61e1ca5a596166e55dfe4773ff745c3d16b700013bcaff9a6df2c682" | ||
973 | "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" | ||
974 | "checksum language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a" | ||
975 | "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" | ||
976 | "checksum lazy_static 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e6412c5e2ad9584b0b8e979393122026cdd6d2a80b933f890dcd694ddbe73739" | ||
977 | "checksum lazycell 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a6f08839bc70ef4a3fe1d566d5350f519c5912ea86be0df1740a7d247c7fc0ef" | ||
978 | "checksum libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)" = "b685088df2b950fccadf07a7187c8ef846a959c142338a48f9dc0b94517eb5f1" | ||
979 | "checksum libflate 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" = "f70a41040e4ed915b462ffb9c8dd20ece3700565aa5e2e163288a0f7ca00487a" | ||
980 | "checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" | ||
981 | "checksum log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6fddaa003a65722a7fb9e26b0ce95921fe4ba590542ced664d8ce2fa26f9f3ac" | ||
982 | "checksum matches 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "100aabe6b8ff4e4a7e32c1c13523379802df0772b82466207ac25b013f193376" | ||
983 | "checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3" | ||
984 | "checksum mime 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "0b28683d0b09bbc20be1c9b3f6f24854efb1356ffcffee08ea3f6e65596e85fa" | ||
985 | "checksum mime_guess 2.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)" = "130ea3c9c1b65dba905ab5a4d9ac59234a9585c24d135f264e187fe7336febbd" | ||
986 | "checksum mio 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)" = "6d771e3ef92d58a8da8df7d6976bfca9371ed1de6619d9d5a5ce5b1f29b85bfe" | ||
987 | "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" | ||
988 | "checksum native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f74dbadc8b43df7864539cedb7bc91345e532fdd913cfdc23ad94f4d2d40fbc0" | ||
989 | "checksum net2 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)" = "9044faf1413a1057267be51b5afba8eb1090bd2231c693664aa1db716fe1eae0" | ||
990 | "checksum nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2" | ||
991 | "checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30" | ||
992 | "checksum openssl 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" = "a3605c298474a3aa69de92d21139fb5e2a81688d308262359d85cdd0d12a7985" | ||
993 | "checksum openssl-sys 0.9.33 (registry+https://github.com/rust-lang/crates.io-index)" = "d8abc04833dcedef24221a91852931df2f63e3369ae003134e70aff3645775cc" | ||
994 | "checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" | ||
995 | "checksum phf 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "7d37a244c75a9748e049225155f56dbcb98fe71b192fd25fd23cb914b5ad62f2" | ||
996 | "checksum phf_codegen 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "4e4048fe7dd7a06b8127ecd6d3803149126e9b33c7558879846da3a63f734f2b" | ||
997 | "checksum phf_generator 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "05a079dd052e7b674d21cb31cbb6c05efd56a2cd2827db7692e2f1a507ebd998" | ||
998 | "checksum phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "c2261d544c2bb6aa3b10022b0be371b9c7c64f762ef28c6f5d4f1ef6d97b5930" | ||
999 | "checksum pkg-config 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)" = "110d5ee3593dbb73f56294327fe5668bcc997897097cbc76b51e7aed3f52452f" | ||
1000 | "checksum rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)" = "15a732abf9d20f0ad8eeb6f909bf6868722d9a06e1e50802b6a70351f40b4eb1" | ||
1001 | "checksum rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "eba5f8cb59cc50ed56be8880a5c7b496bfd9bd26394e176bc67884094145c2c5" | ||
1002 | "checksum redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "c214e91d3ecf43e9a4e41e578973adeb14b474f2bee858742d127af75a0112b1" | ||
1003 | "checksum relay 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1576e382688d7e9deecea24417e350d3062d97e32e45d70b1cde65994ff1489a" | ||
1004 | "checksum remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3488ba1b9a2084d38645c4c08276a1752dcbf2c7130d74f1569681ad5d2799c5" | ||
1005 | "checksum reqwest 0.8.6 (git+https://github.com/seanmonstar/reqwest)" = "<none>" | ||
1006 | "checksum safemem 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e27a8b19b835f7aea908818e871f5cc3a5a186550c30773be987e155e8163d8f" | ||
1007 | "checksum schannel 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "85fd9df495640643ad2d00443b3d78aae69802ad488debab4f1dd52fc1806ade" | ||
1008 | "checksum scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28" | ||
1009 | "checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" | ||
1010 | "checksum security-framework 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "dfa44ee9c54ce5eecc9de7d5acbad112ee58755239381f687e564004ba4a2332" | ||
1011 | "checksum security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "5421621e836278a0b139268f36eee0dc7e389b784dc3f79d8f11aabadf41bead" | ||
1012 | "checksum serde 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)" = "e9a2d9a9ac5120e0f768801ca2b58ad6eec929dc9d1d616c162f208869c2ce95" | ||
1013 | "checksum serde_json 1.0.20 (git+https://github.com/serde-rs/json)" = "<none>" | ||
1014 | "checksum serde_json 1.0.20 (registry+https://github.com/rust-lang/crates.io-index)" = "fc97cccc2959f39984524026d760c08ef0dd5f0f5948c8d31797dbfae458c875" | ||
1015 | "checksum serde_urlencoded 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e703cef904312097cfceab9ce131ff6bbe09e8c964a0703345a5f49238757bc1" | ||
1016 | "checksum siphasher 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0df90a788073e8d0235a67e50441d47db7c8ad9debd91cbf43736a2a92d36537" | ||
1017 | "checksum slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23" | ||
1018 | "checksum slab 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fdeff4cd9ecff59ec7e3744cbca73dfe5ac35c2aedb2cfba8a1c715a18912e9d" | ||
1019 | "checksum smallvec 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4c8cbcd6df1e117c2210e13ab5109635ad68a929fcbb8964dc965b76cb5ee013" | ||
1020 | "checksum take 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b157868d8ac1f56b64604539990685fa7611d8fa9e5476cf0c02cf34d32917c5" | ||
1021 | "checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" | ||
1022 | "checksum time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "d825be0eb33fda1a7e68012d51e9c7f451dc1a69391e7fdc197060bb8c56667b" | ||
1023 | "checksum tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8ee337e5f4e501fc32966fec6fe0ca0cc1c237b0b1b14a335f8bfe3c5f06e286" | ||
1024 | "checksum tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "881e9645b81c2ce95fcb799ded2c29ffb9f25ef5bef909089a420e5961dd8ccb" | ||
1025 | "checksum tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)" = "aeeffbbb94209023feaef3c196a41cbcdafa06b4a6f893f68779bb5e53796f71" | ||
1026 | "checksum tokio-executor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8cac2a7883ff3567e9d66bb09100d09b33d90311feca0206c7ca034bc0c55113" | ||
1027 | "checksum tokio-fs 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fc42bae2f6e33865b99069d95bcddfc85c9f0849b4e7e7399eeee71956ef34d7" | ||
1028 | "checksum tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a5c9635ee806f26d302b8baa1e145689a280d8f5aa8d0552e7344808da54cc21" | ||
1029 | "checksum tokio-proto 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8fbb47ae81353c63c487030659494b295f6cb6576242f907f203473b191b0389" | ||
1030 | "checksum tokio-reactor 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e00ec63bbec2c97ce1178cb0587b2c438b2f6b09d3ee54a33c45a9cf0d530810" | ||
1031 | "checksum tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162" | ||
1032 | "checksum tokio-tcp 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ec9b094851aadd2caf83ba3ad8e8c4ce65a42104f7b94d9e6550023f0407853f" | ||
1033 | "checksum tokio-threadpool 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b3c3873a6d8d0b636e024e77b9a82eaab6739578a06189ecd0e731c7308fbc5d" | ||
1034 | "checksum tokio-timer 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "028b94314065b90f026a21826cffd62a4e40a92cda3e5c069cc7b02e5945f5e9" | ||
1035 | "checksum tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "772f4b04e560117fe3b0a53e490c16ddc8ba6ec437015d91fa385564996ed913" | ||
1036 | "checksum tokio-udp 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "43eb534af6e8f37d43ab1b612660df14755c42bd003c5f8d2475ee78cc4600c0" | ||
1037 | "checksum try-lock 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee2aa4715743892880f70885373966c83d73ef1b0838a664ef0c76fffd35e7c2" | ||
1038 | "checksum unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7f4765f83163b74f957c797ad9253caf97f103fb064d3999aea9568d09fc8a33" | ||
1039 | "checksum unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "284b6d3db520d67fbe88fd778c21510d1b0ba4a551e5d0fbb023d33405f6de8a" | ||
1040 | "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" | ||
1041 | "checksum unicode-normalization 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "6a0180bc61fc5a987082bfa111f4cc95c4caff7f9799f3e46df09163a937aa25" | ||
1042 | "checksum url 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f808aadd8cfec6ef90e4a14eb46f24511824d1ac596b9682703c87056c8678b7" | ||
1043 | "checksum uuid 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e1436e58182935dcd9ce0add9ea0b558e8a87befe01c1a301e6020aeb0876363" | ||
1044 | "checksum vcpkg 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cbe533e138811704c0e3cbde65a818b35d3240409b4346256c5ede403e082474" | ||
1045 | "checksum version_check 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6b772017e347561807c1aa192438c5fd74242a670a6cffacc40f2defd1dc069d" | ||
1046 | "checksum want 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "a05d9d966753fa4b5c8db73fcab5eed4549cfe0e1e4e66911e5564a0085c35d1" | ||
1047 | "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" | ||
1048 | "checksum winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "773ef9dcc5f24b7d850d0ff101e542ff24c3b090a9768e03ff889fdef41f00fd" | ||
1049 | "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" | ||
1050 | "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | ||
1051 | "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | ||
1052 | "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" | ||
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..6ca5554 --- /dev/null +++ b/Cargo.toml | |||
@@ -0,0 +1,8 @@ | |||
1 | [package] | ||
2 | name = "trickle" | ||
3 | version = "0.1.0" | ||
4 | authors = ["NerdyPepper <[email protected]>"] | ||
5 | |||
6 | [dependencies] | ||
7 | reqwest = { git = "https://github.com/seanmonstar/reqwest" } | ||
8 | serde_json = { git = "https://github.com/serde-rs/json" } | ||
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..951c94c --- /dev/null +++ b/src/main.rs | |||
@@ -0,0 +1,35 @@ | |||
1 | extern crate reqwest; | ||
2 | extern crate serde_json; | ||
3 | |||
4 | use serde_json::Value; | ||
5 | |||
6 | fn main() { | ||
7 | println!("{}", get_extract("scale")); | ||
8 | } | ||
9 | |||
10 | fn get_extract(title: &str) -> String { | ||
11 | let url = format!("https://en.wikipedia.org/w/api.php?action=query&format=json&prop=extracts&list=&meta=&indexpageids=1&continue=%7C%7Cimageinfo&titles={}&exlimit=20&explaintext=1&exsectionformat=plain", title); | ||
12 | let res = reqwest::get(&url); | ||
13 | |||
14 | match res { | ||
15 | Ok(mut res) => { | ||
16 | if res.status().is_success() { | ||
17 | let mut v: Value = serde_json::from_str(&res.text().unwrap()).unwrap(); | ||
18 | |||
19 | // Fetch page and pageids of requested title(s) | ||
20 | let pageid = &v["query"]["pageids"][0]; | ||
21 | let pageid_str = match pageid { | ||
22 | Value::String(id) => id, | ||
23 | _ => panic!("wut"), | ||
24 | }; | ||
25 | |||
26 | format!("{:#}", &v["query"]["pages"][pageid_str]["extract"]) | ||
27 | } else { | ||
28 | format!("Error while parsing url.\nRecieved {}", res.status()) | ||
29 | } | ||
30 | }, | ||
31 | Err(_) => { | ||
32 | format!("Failed to parse URL") | ||
33 | } | ||
34 | } | ||
35 | } | ||