diff options
-rw-r--r-- | Cargo.lock | 95 | ||||
-rw-r--r-- | src/main.rs | 4 |
2 files changed, 61 insertions, 38 deletions
@@ -78,7 +78,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
78 | 78 | ||
79 | [[package]] | 79 | [[package]] |
80 | name = "bytes" | 80 | name = "bytes" |
81 | version = "0.4.8" | 81 | version = "0.4.9" |
82 | source = "registry+https://github.com/rust-lang/crates.io-index" | 82 | source = "registry+https://github.com/rust-lang/crates.io-index" |
83 | dependencies = [ | 83 | dependencies = [ |
84 | "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | 84 | "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -205,7 +205,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
205 | [[package]] | 205 | [[package]] |
206 | name = "cursive" | 206 | name = "cursive" |
207 | version = "0.9.0-alpha.0" | 207 | version = "0.9.0-alpha.0" |
208 | source = "git+https://github.com/gyscos/Cursive#6a728bf234f3a997742842f4399e5f6cfdbde5a6" | 208 | source = "git+https://github.com/gyscos/Cursive#62807f84fbe797a8022403c43686e3b0d5fb0c28" |
209 | dependencies = [ | 209 | dependencies = [ |
210 | "crossbeam-channel 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | 210 | "crossbeam-channel 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", |
211 | "enum-map 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", | 211 | "enum-map 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -214,7 +214,7 @@ dependencies = [ | |||
214 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", | 214 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", |
215 | "maplit 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | 215 | "maplit 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", |
216 | "ncurses 5.93.0 (registry+https://github.com/rust-lang/crates.io-index)", | 216 | "ncurses 5.93.0 (registry+https://github.com/rust-lang/crates.io-index)", |
217 | "num 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", | 217 | "num 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", |
218 | "owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | 218 | "owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", |
219 | "signal-hook 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | 219 | "signal-hook 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", |
220 | "term_size 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 220 | "term_size 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -252,9 +252,9 @@ name = "enum-map-derive" | |||
252 | version = "0.4.0" | 252 | version = "0.4.0" |
253 | source = "registry+https://github.com/rust-lang/crates.io-index" | 253 | source = "registry+https://github.com/rust-lang/crates.io-index" |
254 | dependencies = [ | 254 | dependencies = [ |
255 | "proc-macro2 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 255 | "proc-macro2 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
256 | "quote 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", | 256 | "quote 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", |
257 | "syn 0.14.4 (registry+https://github.com/rust-lang/crates.io-index)", | 257 | "syn 0.14.5 (registry+https://github.com/rust-lang/crates.io-index)", |
258 | ] | 258 | ] |
259 | 259 | ||
260 | [[package]] | 260 | [[package]] |
@@ -322,10 +322,10 @@ version = "0.1.10" | |||
322 | source = "registry+https://github.com/rust-lang/crates.io-index" | 322 | source = "registry+https://github.com/rust-lang/crates.io-index" |
323 | dependencies = [ | 323 | dependencies = [ |
324 | "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | 324 | "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", |
325 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 325 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
326 | "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", | 326 | "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", |
327 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 327 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
328 | "http 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | 328 | "http 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", |
329 | "indexmap 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | 329 | "indexmap 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", |
330 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", | 330 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", |
331 | "slab 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | 331 | "slab 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -335,10 +335,10 @@ dependencies = [ | |||
335 | 335 | ||
336 | [[package]] | 336 | [[package]] |
337 | name = "http" | 337 | name = "http" |
338 | version = "0.1.7" | 338 | version = "0.1.8" |
339 | source = "registry+https://github.com/rust-lang/crates.io-index" | 339 | source = "registry+https://github.com/rust-lang/crates.io-index" |
340 | dependencies = [ | 340 | dependencies = [ |
341 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 341 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
342 | "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", | 342 | "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", |
343 | "itoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | 343 | "itoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", |
344 | ] | 344 | ] |
@@ -350,14 +350,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
350 | 350 | ||
351 | [[package]] | 351 | [[package]] |
352 | name = "hyper" | 352 | name = "hyper" |
353 | version = "0.12.6" | 353 | version = "0.12.7" |
354 | source = "registry+https://github.com/rust-lang/crates.io-index" | 354 | source = "registry+https://github.com/rust-lang/crates.io-index" |
355 | dependencies = [ | 355 | dependencies = [ |
356 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 356 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
357 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 357 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
358 | "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", | 358 | "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", |
359 | "h2 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | 359 | "h2 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", |
360 | "http 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | 360 | "http 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", |
361 | "httparse 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", | 361 | "httparse 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", |
362 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | 362 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", |
363 | "itoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | 363 | "itoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -378,9 +378,9 @@ name = "hyper-tls" | |||
378 | version = "0.2.1" | 378 | version = "0.2.1" |
379 | source = "registry+https://github.com/rust-lang/crates.io-index" | 379 | source = "registry+https://github.com/rust-lang/crates.io-index" |
380 | dependencies = [ | 380 | dependencies = [ |
381 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 381 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
382 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 382 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
383 | "hyper 0.12.6 (registry+https://github.com/rust-lang/crates.io-index)", | 383 | "hyper 0.12.7 (registry+https://github.com/rust-lang/crates.io-index)", |
384 | "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", | 384 | "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", |
385 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | 385 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", |
386 | "tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | 386 | "tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -574,11 +574,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
574 | 574 | ||
575 | [[package]] | 575 | [[package]] |
576 | name = "num" | 576 | name = "num" |
577 | version = "0.1.42" | 577 | version = "0.2.0" |
578 | source = "registry+https://github.com/rust-lang/crates.io-index" | 578 | source = "registry+https://github.com/rust-lang/crates.io-index" |
579 | dependencies = [ | 579 | dependencies = [ |
580 | "num-complex 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
580 | "num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", | 581 | "num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", |
581 | "num-iter 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", | 582 | "num-iter 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", |
583 | "num-rational 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
584 | "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
585 | ] | ||
586 | |||
587 | [[package]] | ||
588 | name = "num-complex" | ||
589 | version = "0.2.0" | ||
590 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
591 | dependencies = [ | ||
582 | "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", | 592 | "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", |
583 | ] | 593 | ] |
584 | 594 | ||
@@ -600,6 +610,15 @@ dependencies = [ | |||
600 | ] | 610 | ] |
601 | 611 | ||
602 | [[package]] | 612 | [[package]] |
613 | name = "num-rational" | ||
614 | version = "0.2.1" | ||
615 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
616 | dependencies = [ | ||
617 | "num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", | ||
618 | "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
619 | ] | ||
620 | |||
621 | [[package]] | ||
603 | name = "num-traits" | 622 | name = "num-traits" |
604 | version = "0.2.5" | 623 | version = "0.2.5" |
605 | source = "registry+https://github.com/rust-lang/crates.io-index" | 624 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -710,7 +729,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
710 | 729 | ||
711 | [[package]] | 730 | [[package]] |
712 | name = "proc-macro2" | 731 | name = "proc-macro2" |
713 | version = "0.4.8" | 732 | version = "0.4.9" |
714 | source = "registry+https://github.com/rust-lang/crates.io-index" | 733 | source = "registry+https://github.com/rust-lang/crates.io-index" |
715 | dependencies = [ | 734 | dependencies = [ |
716 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | 735 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -718,10 +737,10 @@ dependencies = [ | |||
718 | 737 | ||
719 | [[package]] | 738 | [[package]] |
720 | name = "quote" | 739 | name = "quote" |
721 | version = "0.6.3" | 740 | version = "0.6.4" |
722 | source = "registry+https://github.com/rust-lang/crates.io-index" | 741 | source = "registry+https://github.com/rust-lang/crates.io-index" |
723 | dependencies = [ | 742 | dependencies = [ |
724 | "proc-macro2 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 743 | "proc-macro2 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
725 | ] | 744 | ] |
726 | 745 | ||
727 | [[package]] | 746 | [[package]] |
@@ -803,11 +822,11 @@ version = "0.9.0-pre" | |||
803 | source = "git+https://github.com/seanmonstar/reqwest#c1c5f14b7c5f8168e89d9e93ee98f5611f1bdd23" | 822 | source = "git+https://github.com/seanmonstar/reqwest#c1c5f14b7c5f8168e89d9e93ee98f5611f1bdd23" |
804 | dependencies = [ | 823 | dependencies = [ |
805 | "base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", | 824 | "base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", |
806 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 825 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
807 | "encoding_rs 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | 826 | "encoding_rs 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", |
808 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 827 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
809 | "http 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | 828 | "http 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", |
810 | "hyper 0.12.6 (registry+https://github.com/rust-lang/crates.io-index)", | 829 | "hyper 0.12.7 (registry+https://github.com/rust-lang/crates.io-index)", |
811 | "hyper-tls 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | 830 | "hyper-tls 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", |
812 | "libflate 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", | 831 | "libflate 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", |
813 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", | 832 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -948,11 +967,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
948 | 967 | ||
949 | [[package]] | 968 | [[package]] |
950 | name = "syn" | 969 | name = "syn" |
951 | version = "0.14.4" | 970 | version = "0.14.5" |
952 | source = "registry+https://github.com/rust-lang/crates.io-index" | 971 | source = "registry+https://github.com/rust-lang/crates.io-index" |
953 | dependencies = [ | 972 | dependencies = [ |
954 | "proc-macro2 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 973 | "proc-macro2 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
955 | "quote 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", | 974 | "quote 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", |
956 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | 975 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
957 | ] | 976 | ] |
958 | 977 | ||
@@ -1047,7 +1066,7 @@ name = "tokio-codec" | |||
1047 | version = "0.1.0" | 1066 | version = "0.1.0" |
1048 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1067 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1049 | dependencies = [ | 1068 | dependencies = [ |
1050 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 1069 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
1051 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 1070 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
1052 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | 1071 | "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", |
1053 | ] | 1072 | ] |
@@ -1057,7 +1076,7 @@ name = "tokio-core" | |||
1057 | version = "0.1.17" | 1076 | version = "0.1.17" |
1058 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1077 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1059 | dependencies = [ | 1078 | dependencies = [ |
1060 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 1079 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
1061 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 1080 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
1062 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | 1081 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1063 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1082 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1093,7 +1112,7 @@ name = "tokio-io" | |||
1093 | version = "0.1.7" | 1112 | version = "0.1.7" |
1094 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1113 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1095 | dependencies = [ | 1114 | dependencies = [ |
1096 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 1115 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
1097 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 1116 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
1098 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1117 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1099 | ] | 1118 | ] |
@@ -1116,7 +1135,7 @@ name = "tokio-tcp" | |||
1116 | version = "0.1.0" | 1135 | version = "0.1.0" |
1117 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1136 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1118 | dependencies = [ | 1137 | dependencies = [ |
1119 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 1138 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
1120 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 1139 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
1121 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | 1140 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1122 | "mio 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", | 1141 | "mio 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1162,7 +1181,7 @@ name = "tokio-udp" | |||
1162 | version = "0.1.1" | 1181 | version = "0.1.1" |
1163 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1182 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1164 | dependencies = [ | 1183 | dependencies = [ |
1165 | "bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 1184 | "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", |
1166 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", | 1185 | "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", |
1167 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1186 | "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1168 | "mio 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", | 1187 | "mio 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1356,7 +1375,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1356 | "checksum bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d0c54bb8f454c567f21197eefcdbf5679d0bd99f2ddbe52e84c77061952e6789" | 1375 | "checksum bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d0c54bb8f454c567f21197eefcdbf5679d0bd99f2ddbe52e84c77061952e6789" |
1357 | "checksum build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "39092a32794787acd8525ee150305ff051b0aa6cc2abaf193924f5ab05425f39" | 1376 | "checksum build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "39092a32794787acd8525ee150305ff051b0aa6cc2abaf193924f5ab05425f39" |
1358 | "checksum byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "74c0b906e9446b0a2e4f760cdb3fa4b2c48cdc6db8766a845c54b6ff063fd2e9" | 1377 | "checksum byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "74c0b906e9446b0a2e4f760cdb3fa4b2c48cdc6db8766a845c54b6ff063fd2e9" |
1359 | "checksum bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7dd32989a66957d3f0cba6588f15d4281a733f4e9ffc43fcd2385f57d3bf99ff" | 1378 | "checksum bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e178b8e0e239e844b083d5a0d4a156b2654e67f9f80144d48398fcd736a24fb8" |
1360 | "checksum cc 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)" = "2119ea4867bd2b8ed3aecab467709720b2d55b1bcfe09f772fd68066eaf15275" | 1379 | "checksum cc 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)" = "2119ea4867bd2b8ed3aecab467709720b2d55b1bcfe09f772fd68066eaf15275" |
1361 | "checksum cfg-if 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "efe5c877e17a9c717a0bf3613b2709f723202c4e4675cc8f12926ded29bcb17e" | 1380 | "checksum cfg-if 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "efe5c877e17a9c717a0bf3613b2709f723202c4e4675cc8f12926ded29bcb17e" |
1362 | "checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e" | 1381 | "checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e" |
@@ -1385,9 +1404,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1385 | "checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" | 1404 | "checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" |
1386 | "checksum gcc 0.3.54 (registry+https://github.com/rust-lang/crates.io-index)" = "5e33ec290da0d127825013597dbdfc28bee4964690c7ce1166cbc2a7bd08b1bb" | 1405 | "checksum gcc 0.3.54 (registry+https://github.com/rust-lang/crates.io-index)" = "5e33ec290da0d127825013597dbdfc28bee4964690c7ce1166cbc2a7bd08b1bb" |
1387 | "checksum h2 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "6229ac66d3392dd83288fe04defd4b353354b15bbe07820d53dda063a736afcc" | 1406 | "checksum h2 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "6229ac66d3392dd83288fe04defd4b353354b15bbe07820d53dda063a736afcc" |
1388 | "checksum http 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "4fbced8864b04c030eebcb7d0dc3a81ba5231ac559f5116a29a8ba83ecee22cd" | 1407 | "checksum http 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "0d7f7b919d476c052ff46833ac89aaf205726da8133dae61facad50ec4c9eaec" |
1389 | "checksum httparse 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7b6288d7db100340ca12873fd4d08ad1b8f206a9457798dfb17c018a33fee540" | 1408 | "checksum httparse 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7b6288d7db100340ca12873fd4d08ad1b8f206a9457798dfb17c018a33fee540" |
1390 | "checksum hyper 0.12.6 (registry+https://github.com/rust-lang/crates.io-index)" = "bd2dbf44d0eb8b32ac0cb7b0d75c31313554dd04d6f5dd1085e150ec5383d9b8" | 1409 | "checksum hyper 0.12.7 (registry+https://github.com/rust-lang/crates.io-index)" = "c087746de95e20e4dabe86606c3a019964a8fde2d5f386152939063c116c5971" |
1391 | "checksum hyper-tls 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d5787cee312507c4d005405e75da2b3357b58c47e3f14cddfa5f05c98edf6f29" | 1410 | "checksum hyper-tls 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d5787cee312507c4d005405e75da2b3357b58c47e3f14cddfa5f05c98edf6f29" |
1392 | "checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" | 1411 | "checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" |
1393 | "checksum indexmap 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "08173ba1e906efb6538785a8844dd496f5d34f0a2d88038e95195172fc667220" | 1412 | "checksum indexmap 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "08173ba1e906efb6538785a8844dd496f5d34f0a2d88038e95195172fc667220" |
@@ -1412,9 +1431,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1412 | "checksum ncurses 5.93.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0ecd01d431a5e9c1c733a1e3ab939b9b6c9c4ddc540c74caf3909664127785fa" | 1431 | "checksum ncurses 5.93.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0ecd01d431a5e9c1c733a1e3ab939b9b6c9c4ddc540c74caf3909664127785fa" |
1413 | "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" | 1432 | "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" |
1414 | "checksum nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2" | 1433 | "checksum nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2" |
1415 | "checksum num 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "4703ad64153382334aa8db57c637364c322d3372e097840c72000dabdcf6156e" | 1434 | "checksum num 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cf4825417e1e1406b3782a8ce92f4d53f26ec055e3622e1881ca8e9f5f9e08db" |
1435 | "checksum num-complex 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "68de83578789e0fbda3fa923035be83cf8bfd3b30ccfdecd5aa89bf8601f408e" | ||
1416 | "checksum num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea" | 1436 | "checksum num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea" |
1417 | "checksum num-iter 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)" = "af3fdbbc3291a5464dc57b03860ec37ca6bf915ed6ee385e7c6c052c422b2124" | 1437 | "checksum num-iter 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)" = "af3fdbbc3291a5464dc57b03860ec37ca6bf915ed6ee385e7c6c052c422b2124" |
1438 | "checksum num-rational 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4e96f040177bb3da242b5b1ecf3f54b5d5af3efbbfb18608977a5d2767b22f10" | ||
1418 | "checksum num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "630de1ef5cc79d0cdd78b7e33b81f083cbfe90de0f4b2b2f07f905867c70e9fe" | 1439 | "checksum num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "630de1ef5cc79d0cdd78b7e33b81f083cbfe90de0f4b2b2f07f905867c70e9fe" |
1419 | "checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30" | 1440 | "checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30" |
1420 | "checksum openssl 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" = "a3605c298474a3aa69de92d21139fb5e2a81688d308262359d85cdd0d12a7985" | 1441 | "checksum openssl 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" = "a3605c298474a3aa69de92d21139fb5e2a81688d308262359d85cdd0d12a7985" |
@@ -1428,8 +1449,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1428 | "checksum phf_generator 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "05a079dd052e7b674d21cb31cbb6c05efd56a2cd2827db7692e2f1a507ebd998" | 1449 | "checksum phf_generator 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "05a079dd052e7b674d21cb31cbb6c05efd56a2cd2827db7692e2f1a507ebd998" |
1429 | "checksum phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "c2261d544c2bb6aa3b10022b0be371b9c7c64f762ef28c6f5d4f1ef6d97b5930" | 1450 | "checksum phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "c2261d544c2bb6aa3b10022b0be371b9c7c64f762ef28c6f5d4f1ef6d97b5930" |
1430 | "checksum pkg-config 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)" = "6a52e4dbc8354505ee07e484ab07127e06d87ca6fa7f0a516a2b294e5ad5ad16" | 1451 | "checksum pkg-config 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)" = "6a52e4dbc8354505ee07e484ab07127e06d87ca6fa7f0a516a2b294e5ad5ad16" |
1431 | "checksum proc-macro2 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "c65b1ea15bb859d922cade2d1765b4b88beac339cbfad545ef2d2ef8c8215ee6" | 1452 | "checksum proc-macro2 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)" = "cccdc7557a98fe98453030f077df7f3a042052fae465bb61d2c2c41435cfd9b6" |
1432 | "checksum quote 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e44651a0dc4cdd99f71c83b561e221f714912d11af1a4dff0631f923d53af035" | 1453 | "checksum quote 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b71f9f575d55555aa9c06188be9d4e2bfc83ed02537948ac0d520c24d0419f1a" |
1433 | "checksum rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "eba5f8cb59cc50ed56be8880a5c7b496bfd9bd26394e176bc67884094145c2c5" | 1454 | "checksum rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "eba5f8cb59cc50ed56be8880a5c7b496bfd9bd26394e176bc67884094145c2c5" |
1434 | "checksum rand 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "12397506224b2f93e6664ffc4f664b29be8208e5157d3d90b44f09b5fae470ea" | 1455 | "checksum rand 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "12397506224b2f93e6664ffc4f664b29be8208e5157d3d90b44f09b5fae470ea" |
1435 | "checksum rand_core 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "edecf0f94da5551fc9b492093e30b041a891657db7940ee221f9d2f66e82eef2" | 1456 | "checksum rand_core 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "edecf0f94da5551fc9b492093e30b041a891657db7940ee221f9d2f66e82eef2" |
@@ -1457,7 +1478,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1457 | "checksum stable_deref_trait 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ffbc596e092fe5f598b12ef46cc03754085ac2f4d8c739ad61c4ae266cc3b3fa" | 1478 | "checksum stable_deref_trait 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ffbc596e092fe5f598b12ef46cc03754085ac2f4d8c739ad61c4ae266cc3b3fa" |
1458 | "checksum string 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00caf261d6f90f588f8450b8e1230fa0d5be49ee6140fdfbcb55335aff350970" | 1479 | "checksum string 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00caf261d6f90f588f8450b8e1230fa0d5be49ee6140fdfbcb55335aff350970" |
1459 | "checksum strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550" | 1480 | "checksum strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550" |
1460 | "checksum syn 0.14.4 (registry+https://github.com/rust-lang/crates.io-index)" = "2beff8ebc3658f07512a413866875adddd20f4fd47b2a4e6c9da65cd281baaea" | 1481 | "checksum syn 0.14.5 (registry+https://github.com/rust-lang/crates.io-index)" = "4bad7abdf6633f07c7046b90484f1d9dc055eca39f8c991177b1046ce61dba9a" |
1461 | "checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" | 1482 | "checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" |
1462 | "checksum term_size 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9e5b9a66db815dcfd2da92db471106457082577c3c278d4138ab3e3b4e189327" | 1483 | "checksum term_size 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9e5b9a66db815dcfd2da92db471106457082577c3c278d4138ab3e3b4e189327" |
1463 | "checksum termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096" | 1484 | "checksum termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096" |
diff --git a/src/main.rs b/src/main.rs index 20f2061..ab35f2d 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -89,7 +89,8 @@ fn search(s: &mut Cursive) { | |||
89 | .on_submit(|s, name|{ | 89 | .on_submit(|s, name|{ |
90 | s.pop_layer(); | 90 | s.pop_layer(); |
91 | on_submit(s, name); | 91 | on_submit(s, name); |
92 | }); | 92 | }) |
93 | .scrollable(); | ||
93 | s.add_layer(Dialog::around(choose_result) | 94 | s.add_layer(Dialog::around(choose_result) |
94 | .title("Search Results") | 95 | .title("Search Results") |
95 | .button("Cancel", |s| match s.pop_layer() { _ => () }) | 96 | .button("Cancel", |s| match s.pop_layer() { _ => () }) |
@@ -141,6 +142,7 @@ fn on_submit(s: &mut Cursive, name: &str) { | |||
141 | let links = SelectView::<String>::new() | 142 | let links = SelectView::<String>::new() |
142 | .with_all_str(link_vec) | 143 | .with_all_str(link_vec) |
143 | .on_submit(on_submit) | 144 | .on_submit(on_submit) |
145 | .scrollable() | ||
144 | .fixed_width(20); | 146 | .fixed_width(20); |
145 | 147 | ||
146 | s.add_layer( | 148 | s.add_layer( |