aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2018-06-16 09:45:11 +0100
committerNerdyPepper <[email protected]>2018-06-16 09:45:11 +0100
commit3982993f18538932bfdd8d310b63bca02324fece (patch)
treed82b71971b7cb1bca99fdc3e0ffef10ca7d0d9d4
Finish basic extracts
-rw-r--r--.gitignore3
-rw-r--r--Cargo.lock1052
-rw-r--r--Cargo.toml8
-rw-r--r--src/main.rs35
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]]
2name = "adler32"
3version = "1.0.2"
4source = "registry+https://github.com/rust-lang/crates.io-index"
5
6[[package]]
7name = "arrayvec"
8version = "0.4.7"
9source = "registry+https://github.com/rust-lang/crates.io-index"
10dependencies = [
11 "nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
12]
13
14[[package]]
15name = "base64"
16version = "0.9.2"
17source = "registry+https://github.com/rust-lang/crates.io-index"
18dependencies = [
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]]
24name = "bitflags"
25version = "0.9.1"
26source = "registry+https://github.com/rust-lang/crates.io-index"
27
28[[package]]
29name = "bitflags"
30version = "1.0.3"
31source = "registry+https://github.com/rust-lang/crates.io-index"
32
33[[package]]
34name = "build_const"
35version = "0.2.1"
36source = "registry+https://github.com/rust-lang/crates.io-index"
37
38[[package]]
39name = "byteorder"
40version = "1.2.3"
41source = "registry+https://github.com/rust-lang/crates.io-index"
42
43[[package]]
44name = "bytes"
45version = "0.4.8"
46source = "registry+https://github.com/rust-lang/crates.io-index"
47dependencies = [
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]]
53name = "cc"
54version = "1.0.17"
55source = "registry+https://github.com/rust-lang/crates.io-index"
56
57[[package]]
58name = "cfg-if"
59version = "0.1.3"
60source = "registry+https://github.com/rust-lang/crates.io-index"
61
62[[package]]
63name = "core-foundation"
64version = "0.2.3"
65source = "registry+https://github.com/rust-lang/crates.io-index"
66dependencies = [
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]]
72name = "core-foundation-sys"
73version = "0.2.3"
74source = "registry+https://github.com/rust-lang/crates.io-index"
75dependencies = [
76 "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)",
77]
78
79[[package]]
80name = "crc"
81version = "1.8.1"
82source = "registry+https://github.com/rust-lang/crates.io-index"
83dependencies = [
84 "build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
85]
86
87[[package]]
88name = "crossbeam-deque"
89version = "0.3.1"
90source = "registry+https://github.com/rust-lang/crates.io-index"
91dependencies = [
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]]
97name = "crossbeam-epoch"
98version = "0.4.3"
99source = "registry+https://github.com/rust-lang/crates.io-index"
100dependencies = [
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]]
110name = "crossbeam-utils"
111version = "0.3.2"
112source = "registry+https://github.com/rust-lang/crates.io-index"
113dependencies = [
114 "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
115]
116
117[[package]]
118name = "dtoa"
119version = "0.4.2"
120source = "registry+https://github.com/rust-lang/crates.io-index"
121
122[[package]]
123name = "encoding_rs"
124version = "0.7.2"
125source = "registry+https://github.com/rust-lang/crates.io-index"
126dependencies = [
127 "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
128]
129
130[[package]]
131name = "foreign-types"
132version = "0.3.2"
133source = "registry+https://github.com/rust-lang/crates.io-index"
134dependencies = [
135 "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
136]
137
138[[package]]
139name = "foreign-types-shared"
140version = "0.1.1"
141source = "registry+https://github.com/rust-lang/crates.io-index"
142
143[[package]]
144name = "fuchsia-zircon"
145version = "0.3.3"
146source = "registry+https://github.com/rust-lang/crates.io-index"
147dependencies = [
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]]
153name = "fuchsia-zircon-sys"
154version = "0.3.3"
155source = "registry+https://github.com/rust-lang/crates.io-index"
156
157[[package]]
158name = "futures"
159version = "0.1.21"
160source = "registry+https://github.com/rust-lang/crates.io-index"
161
162[[package]]
163name = "futures-cpupool"
164version = "0.1.8"
165source = "registry+https://github.com/rust-lang/crates.io-index"
166dependencies = [
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]]
172name = "httparse"
173version = "1.2.4"
174source = "registry+https://github.com/rust-lang/crates.io-index"
175
176[[package]]
177name = "hyper"
178version = "0.11.27"
179source = "registry+https://github.com/rust-lang/crates.io-index"
180dependencies = [
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]]
203name = "hyper-tls"
204version = "0.1.3"
205source = "registry+https://github.com/rust-lang/crates.io-index"
206dependencies = [
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]]
217name = "idna"
218version = "0.1.4"
219source = "registry+https://github.com/rust-lang/crates.io-index"
220dependencies = [
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]]
227name = "iovec"
228version = "0.1.2"
229source = "registry+https://github.com/rust-lang/crates.io-index"
230dependencies = [
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]]
236name = "itoa"
237version = "0.4.1"
238source = "registry+https://github.com/rust-lang/crates.io-index"
239
240[[package]]
241name = "kernel32-sys"
242version = "0.2.2"
243source = "registry+https://github.com/rust-lang/crates.io-index"
244dependencies = [
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]]
250name = "language-tags"
251version = "0.2.2"
252source = "registry+https://github.com/rust-lang/crates.io-index"
253
254[[package]]
255name = "lazy_static"
256version = "0.2.11"
257source = "registry+https://github.com/rust-lang/crates.io-index"
258
259[[package]]
260name = "lazy_static"
261version = "1.0.1"
262source = "registry+https://github.com/rust-lang/crates.io-index"
263
264[[package]]
265name = "lazycell"
266version = "0.6.0"
267source = "registry+https://github.com/rust-lang/crates.io-index"
268
269[[package]]
270name = "libc"
271version = "0.2.42"
272source = "registry+https://github.com/rust-lang/crates.io-index"
273
274[[package]]
275name = "libflate"
276version = "0.1.15"
277source = "registry+https://github.com/rust-lang/crates.io-index"
278dependencies = [
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]]
285name = "log"
286version = "0.3.9"
287source = "registry+https://github.com/rust-lang/crates.io-index"
288dependencies = [
289 "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
290]
291
292[[package]]
293name = "log"
294version = "0.4.2"
295source = "registry+https://github.com/rust-lang/crates.io-index"
296dependencies = [
297 "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
298]
299
300[[package]]
301name = "matches"
302version = "0.1.6"
303source = "registry+https://github.com/rust-lang/crates.io-index"
304
305[[package]]
306name = "memoffset"
307version = "0.2.1"
308source = "registry+https://github.com/rust-lang/crates.io-index"
309
310[[package]]
311name = "mime"
312version = "0.3.7"
313source = "registry+https://github.com/rust-lang/crates.io-index"
314dependencies = [
315 "unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
316]
317
318[[package]]
319name = "mime_guess"
320version = "2.0.0-alpha.4"
321source = "registry+https://github.com/rust-lang/crates.io-index"
322dependencies = [
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]]
330name = "mio"
331version = "0.6.14"
332source = "registry+https://github.com/rust-lang/crates.io-index"
333dependencies = [
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]]
348name = "miow"
349version = "0.2.1"
350source = "registry+https://github.com/rust-lang/crates.io-index"
351dependencies = [
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]]
359name = "native-tls"
360version = "0.1.5"
361source = "registry+https://github.com/rust-lang/crates.io-index"
362dependencies = [
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]]
373name = "net2"
374version = "0.2.32"
375source = "registry+https://github.com/rust-lang/crates.io-index"
376dependencies = [
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]]
383name = "nodrop"
384version = "0.1.12"
385source = "registry+https://github.com/rust-lang/crates.io-index"
386
387[[package]]
388name = "num_cpus"
389version = "1.8.0"
390source = "registry+https://github.com/rust-lang/crates.io-index"
391dependencies = [
392 "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)",
393]
394
395[[package]]
396name = "openssl"
397version = "0.9.24"
398source = "registry+https://github.com/rust-lang/crates.io-index"
399dependencies = [
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]]
408name = "openssl-sys"
409version = "0.9.33"
410source = "registry+https://github.com/rust-lang/crates.io-index"
411dependencies = [
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]]
419name = "percent-encoding"
420version = "1.0.1"
421source = "registry+https://github.com/rust-lang/crates.io-index"
422
423[[package]]
424name = "phf"
425version = "0.7.22"
426source = "registry+https://github.com/rust-lang/crates.io-index"
427dependencies = [
428 "phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)",
429]
430
431[[package]]
432name = "phf_codegen"
433version = "0.7.22"
434source = "registry+https://github.com/rust-lang/crates.io-index"
435dependencies = [
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]]
441name = "phf_generator"
442version = "0.7.22"
443source = "registry+https://github.com/rust-lang/crates.io-index"
444dependencies = [
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]]
450name = "phf_shared"
451version = "0.7.22"
452source = "registry+https://github.com/rust-lang/crates.io-index"
453dependencies = [
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]]
459name = "pkg-config"
460version = "0.3.11"
461source = "registry+https://github.com/rust-lang/crates.io-index"
462
463[[package]]
464name = "rand"
465version = "0.3.22"
466source = "registry+https://github.com/rust-lang/crates.io-index"
467dependencies = [
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]]
474name = "rand"
475version = "0.4.2"
476source = "registry+https://github.com/rust-lang/crates.io-index"
477dependencies = [
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]]
484name = "redox_syscall"
485version = "0.1.40"
486source = "registry+https://github.com/rust-lang/crates.io-index"
487
488[[package]]
489name = "relay"
490version = "0.1.1"
491source = "registry+https://github.com/rust-lang/crates.io-index"
492dependencies = [
493 "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)",
494]
495
496[[package]]
497name = "remove_dir_all"
498version = "0.5.1"
499source = "registry+https://github.com/rust-lang/crates.io-index"
500dependencies = [
501 "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
502]
503
504[[package]]
505name = "reqwest"
506version = "0.8.6"
507source = "git+https://github.com/seanmonstar/reqwest#a4f5c2d3f0a187daa3940d0a249f4748cd38fe0f"
508dependencies = [
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]]
529name = "safemem"
530version = "0.2.0"
531source = "registry+https://github.com/rust-lang/crates.io-index"
532
533[[package]]
534name = "schannel"
535version = "0.1.12"
536source = "registry+https://github.com/rust-lang/crates.io-index"
537dependencies = [
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]]
543name = "scoped-tls"
544version = "0.1.2"
545source = "registry+https://github.com/rust-lang/crates.io-index"
546
547[[package]]
548name = "scopeguard"
549version = "0.3.3"
550source = "registry+https://github.com/rust-lang/crates.io-index"
551
552[[package]]
553name = "security-framework"
554version = "0.1.16"
555source = "registry+https://github.com/rust-lang/crates.io-index"
556dependencies = [
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]]
564name = "security-framework-sys"
565version = "0.1.16"
566source = "registry+https://github.com/rust-lang/crates.io-index"
567dependencies = [
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]]
573name = "serde"
574version = "1.0.66"
575source = "registry+https://github.com/rust-lang/crates.io-index"
576
577[[package]]
578name = "serde_json"
579version = "1.0.20"
580source = "git+https://github.com/serde-rs/json#c85963c2881e3efaad86773d502de705691c61bb"
581dependencies = [
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]]
588name = "serde_json"
589version = "1.0.20"
590source = "registry+https://github.com/rust-lang/crates.io-index"
591dependencies = [
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]]
598name = "serde_urlencoded"
599version = "0.5.2"
600source = "registry+https://github.com/rust-lang/crates.io-index"
601dependencies = [
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]]
609name = "siphasher"
610version = "0.2.2"
611source = "registry+https://github.com/rust-lang/crates.io-index"
612
613[[package]]
614name = "slab"
615version = "0.3.0"
616source = "registry+https://github.com/rust-lang/crates.io-index"
617
618[[package]]
619name = "slab"
620version = "0.4.0"
621source = "registry+https://github.com/rust-lang/crates.io-index"
622
623[[package]]
624name = "smallvec"
625version = "0.2.1"
626source = "registry+https://github.com/rust-lang/crates.io-index"
627
628[[package]]
629name = "take"
630version = "0.1.0"
631source = "registry+https://github.com/rust-lang/crates.io-index"
632
633[[package]]
634name = "tempdir"
635version = "0.3.7"
636source = "registry+https://github.com/rust-lang/crates.io-index"
637dependencies = [
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]]
643name = "time"
644version = "0.1.40"
645source = "registry+https://github.com/rust-lang/crates.io-index"
646dependencies = [
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]]
653name = "tokio"
654version = "0.1.7"
655source = "registry+https://github.com/rust-lang/crates.io-index"
656dependencies = [
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]]
670name = "tokio-codec"
671version = "0.1.0"
672source = "registry+https://github.com/rust-lang/crates.io-index"
673dependencies = [
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]]
680name = "tokio-core"
681version = "0.1.17"
682source = "registry+https://github.com/rust-lang/crates.io-index"
683dependencies = [
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]]
698name = "tokio-executor"
699version = "0.1.2"
700source = "registry+https://github.com/rust-lang/crates.io-index"
701dependencies = [
702 "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)",
703]
704
705[[package]]
706name = "tokio-fs"
707version = "0.1.1"
708source = "registry+https://github.com/rust-lang/crates.io-index"
709dependencies = [
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]]
716name = "tokio-io"
717version = "0.1.7"
718source = "registry+https://github.com/rust-lang/crates.io-index"
719dependencies = [
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]]
726name = "tokio-proto"
727version = "0.1.1"
728source = "registry+https://github.com/rust-lang/crates.io-index"
729dependencies = [
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]]
743name = "tokio-reactor"
744version = "0.1.2"
745source = "registry+https://github.com/rust-lang/crates.io-index"
746dependencies = [
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]]
756name = "tokio-service"
757version = "0.1.0"
758source = "registry+https://github.com/rust-lang/crates.io-index"
759dependencies = [
760 "futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)",
761]
762
763[[package]]
764name = "tokio-tcp"
765version = "0.1.0"
766source = "registry+https://github.com/rust-lang/crates.io-index"
767dependencies = [
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]]
777name = "tokio-threadpool"
778version = "0.1.4"
779source = "registry+https://github.com/rust-lang/crates.io-index"
780dependencies = [
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]]
790name = "tokio-timer"
791version = "0.2.4"
792source = "registry+https://github.com/rust-lang/crates.io-index"
793dependencies = [
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]]
799name = "tokio-tls"
800version = "0.1.4"
801source = "registry+https://github.com/rust-lang/crates.io-index"
802dependencies = [
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]]
810name = "tokio-udp"
811version = "0.1.1"
812source = "registry+https://github.com/rust-lang/crates.io-index"
813dependencies = [
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]]
824name = "trickle"
825version = "0.1.0"
826dependencies = [
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]]
832name = "try-lock"
833version = "0.1.0"
834source = "registry+https://github.com/rust-lang/crates.io-index"
835
836[[package]]
837name = "unicase"
838version = "1.4.2"
839source = "registry+https://github.com/rust-lang/crates.io-index"
840dependencies = [
841 "version_check 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
842]
843
844[[package]]
845name = "unicase"
846version = "2.1.0"
847source = "registry+https://github.com/rust-lang/crates.io-index"
848dependencies = [
849 "version_check 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
850]
851
852[[package]]
853name = "unicode-bidi"
854version = "0.3.4"
855source = "registry+https://github.com/rust-lang/crates.io-index"
856dependencies = [
857 "matches 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
858]
859
860[[package]]
861name = "unicode-normalization"
862version = "0.1.7"
863source = "registry+https://github.com/rust-lang/crates.io-index"
864
865[[package]]
866name = "url"
867version = "1.7.0"
868source = "registry+https://github.com/rust-lang/crates.io-index"
869dependencies = [
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]]
876name = "uuid"
877version = "0.6.5"
878source = "registry+https://github.com/rust-lang/crates.io-index"
879dependencies = [
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]]
885name = "vcpkg"
886version = "0.2.4"
887source = "registry+https://github.com/rust-lang/crates.io-index"
888
889[[package]]
890name = "version_check"
891version = "0.1.3"
892source = "registry+https://github.com/rust-lang/crates.io-index"
893
894[[package]]
895name = "want"
896version = "0.0.4"
897source = "registry+https://github.com/rust-lang/crates.io-index"
898dependencies = [
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]]
905name = "winapi"
906version = "0.2.8"
907source = "registry+https://github.com/rust-lang/crates.io-index"
908
909[[package]]
910name = "winapi"
911version = "0.3.5"
912source = "registry+https://github.com/rust-lang/crates.io-index"
913dependencies = [
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]]
919name = "winapi-build"
920version = "0.1.1"
921source = "registry+https://github.com/rust-lang/crates.io-index"
922
923[[package]]
924name = "winapi-i686-pc-windows-gnu"
925version = "0.4.0"
926source = "registry+https://github.com/rust-lang/crates.io-index"
927
928[[package]]
929name = "winapi-x86_64-pc-windows-gnu"
930version = "0.4.0"
931source = "registry+https://github.com/rust-lang/crates.io-index"
932
933[[package]]
934name = "ws2_32-sys"
935version = "0.2.1"
936source = "registry+https://github.com/rust-lang/crates.io-index"
937dependencies = [
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]
2name = "trickle"
3version = "0.1.0"
4authors = ["NerdyPepper <[email protected]>"]
5
6[dependencies]
7reqwest = { git = "https://github.com/seanmonstar/reqwest" }
8serde_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 @@
1extern crate reqwest;
2extern crate serde_json;
3
4use serde_json::Value;
5
6fn main() {
7 println!("{}", get_extract("scale"));
8}
9
10fn 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}