aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2018-07-23 12:55:31 +0100
committerNerdyPepper <[email protected]>2018-07-23 12:55:31 +0100
commit6e71ad1a3b5df79f2ec0c8cbb5194ef1fe2c4faa (patch)
tree921effc929743688f4a4f340da009d8c8e02e9d6
parentd454b4d574fd6695342a122f26bdbd25966a8f42 (diff)
Add deps, fix url handling
-rw-r--r--Cargo.lock78
-rw-r--r--Cargo.toml2
-rw-r--r--readme.md2
-rw-r--r--src/content.rs1
-rw-r--r--src/main.rs4
5 files changed, 83 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 9255194..e83bf80 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -12,6 +12,14 @@ dependencies = [
12] 12]
13 13
14[[package]] 14[[package]]
15name = "ansi_term"
16version = "0.11.0"
17source = "registry+https://github.com/rust-lang/crates.io-index"
18dependencies = [
19 "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
20]
21
22[[package]]
15name = "arc-swap" 23name = "arc-swap"
16version = "0.2.0" 24version = "0.2.0"
17source = "registry+https://github.com/rust-lang/crates.io-index" 25source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -30,6 +38,16 @@ dependencies = [
30] 38]
31 39
32[[package]] 40[[package]]
41name = "atty"
42version = "0.2.11"
43source = "registry+https://github.com/rust-lang/crates.io-index"
44dependencies = [
45 "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)",
46 "termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
47 "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
48]
49
50[[package]]
33name = "base64" 51name = "base64"
34version = "0.6.0" 52version = "0.6.0"
35source = "registry+https://github.com/rust-lang/crates.io-index" 53source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -78,6 +96,20 @@ version = "0.1.4"
78source = "registry+https://github.com/rust-lang/crates.io-index" 96source = "registry+https://github.com/rust-lang/crates.io-index"
79 97
80[[package]] 98[[package]]
99name = "clap"
100version = "2.32.0"
101source = "registry+https://github.com/rust-lang/crates.io-index"
102dependencies = [
103 "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
104 "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
105 "bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
106 "strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
107 "textwrap 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
108 "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
109 "vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
110]
111
112[[package]]
81name = "cloudabi" 113name = "cloudabi"
82version = "0.0.3" 114version = "0.0.3"
83source = "registry+https://github.com/rust-lang/crates.io-index" 115source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -725,6 +757,14 @@ version = "0.1.40"
725source = "registry+https://github.com/rust-lang/crates.io-index" 757source = "registry+https://github.com/rust-lang/crates.io-index"
726 758
727[[package]] 759[[package]]
760name = "redox_termios"
761version = "0.1.1"
762source = "registry+https://github.com/rust-lang/crates.io-index"
763dependencies = [
764 "redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
765]
766
767[[package]]
728name = "reexport-proc-macro" 768name = "reexport-proc-macro"
729version = "1.0.5" 769version = "1.0.5"
730source = "registry+https://github.com/rust-lang/crates.io-index" 770source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -902,6 +942,11 @@ version = "0.1.1"
902source = "registry+https://github.com/rust-lang/crates.io-index" 942source = "registry+https://github.com/rust-lang/crates.io-index"
903 943
904[[package]] 944[[package]]
945name = "strsim"
946version = "0.7.0"
947source = "registry+https://github.com/rust-lang/crates.io-index"
948
949[[package]]
905name = "syn" 950name = "syn"
906version = "0.14.4" 951version = "0.14.4"
907source = "registry+https://github.com/rust-lang/crates.io-index" 952source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -915,7 +960,9 @@ dependencies = [
915name = "taizen" 960name = "taizen"
916version = "0.1.0" 961version = "0.1.0"
917dependencies = [ 962dependencies = [
963 "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
918 "cursive 0.9.0-alpha.0 (git+https://github.com/gyscos/Cursive)", 964 "cursive 0.9.0-alpha.0 (git+https://github.com/gyscos/Cursive)",
965 "lazy_static 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
919 "regex 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 966 "regex 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
920 "reqwest 0.9.0-pre (git+https://github.com/seanmonstar/reqwest)", 967 "reqwest 0.9.0-pre (git+https://github.com/seanmonstar/reqwest)",
921 "serde_json 1.0.24 (git+https://github.com/serde-rs/json)", 968 "serde_json 1.0.24 (git+https://github.com/serde-rs/json)",
@@ -942,6 +989,24 @@ dependencies = [
942] 989]
943 990
944[[package]] 991[[package]]
992name = "termion"
993version = "1.5.1"
994source = "registry+https://github.com/rust-lang/crates.io-index"
995dependencies = [
996 "libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)",
997 "redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
998 "redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
999]
1000
1001[[package]]
1002name = "textwrap"
1003version = "0.10.0"
1004source = "registry+https://github.com/rust-lang/crates.io-index"
1005dependencies = [
1006 "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
1007]
1008
1009[[package]]
945name = "thread_local" 1010name = "thread_local"
946version = "0.3.5" 1011version = "0.3.5"
947source = "registry+https://github.com/rust-lang/crates.io-index" 1012source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1211,6 +1276,11 @@ version = "0.2.4"
1211source = "registry+https://github.com/rust-lang/crates.io-index" 1276source = "registry+https://github.com/rust-lang/crates.io-index"
1212 1277
1213[[package]] 1278[[package]]
1279name = "vec_map"
1280version = "0.8.1"
1281source = "registry+https://github.com/rust-lang/crates.io-index"
1282
1283[[package]]
1214name = "version_check" 1284name = "version_check"
1215version = "0.1.4" 1285version = "0.1.4"
1216source = "registry+https://github.com/rust-lang/crates.io-index" 1286source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1276,9 +1346,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1276[metadata] 1346[metadata]
1277"checksum adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7e522997b529f05601e05166c07ed17789691f562762c7f3b987263d2dedee5c" 1347"checksum adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7e522997b529f05601e05166c07ed17789691f562762c7f3b987263d2dedee5c"
1278"checksum aho-corasick 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c1c6d463cbe7ed28720b5b489e7c083eeb8f90d08be2a0d6bb9e1ffea9ce1afa" 1348"checksum aho-corasick 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c1c6d463cbe7ed28720b5b489e7c083eeb8f90d08be2a0d6bb9e1ffea9ce1afa"
1349"checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
1279"checksum arc-swap 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4abc8ee4a466b56db51b3816c0db033f4528af79bc12e29c45b225d91b4fcad4" 1350"checksum arc-swap 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4abc8ee4a466b56db51b3816c0db033f4528af79bc12e29c45b225d91b4fcad4"
1280"checksum array-macro 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8b1b1a00de235e9f2cc0e650423dc249d875c116a5934188c08fdd0c02d840ef" 1351"checksum array-macro 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8b1b1a00de235e9f2cc0e650423dc249d875c116a5934188c08fdd0c02d840ef"
1281"checksum arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef" 1352"checksum arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef"
1353"checksum atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652"
1282"checksum base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "96434f987501f0ed4eb336a411e0631ecd1afa11574fe148587adc4ff96143c9" 1354"checksum base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "96434f987501f0ed4eb336a411e0631ecd1afa11574fe148587adc4ff96143c9"
1283"checksum bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5" 1355"checksum bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
1284"checksum bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d0c54bb8f454c567f21197eefcdbf5679d0bd99f2ddbe52e84c77061952e6789" 1356"checksum bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d0c54bb8f454c567f21197eefcdbf5679d0bd99f2ddbe52e84c77061952e6789"
@@ -1287,6 +1359,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1287"checksum bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7dd32989a66957d3f0cba6588f15d4281a733f4e9ffc43fcd2385f57d3bf99ff" 1359"checksum bytes 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7dd32989a66957d3f0cba6588f15d4281a733f4e9ffc43fcd2385f57d3bf99ff"
1288"checksum cc 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)" = "2119ea4867bd2b8ed3aecab467709720b2d55b1bcfe09f772fd68066eaf15275" 1360"checksum cc 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)" = "2119ea4867bd2b8ed3aecab467709720b2d55b1bcfe09f772fd68066eaf15275"
1289"checksum cfg-if 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "efe5c877e17a9c717a0bf3613b2709f723202c4e4675cc8f12926ded29bcb17e" 1361"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"
1290"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" 1363"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
1291"checksum core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "25bfd746d203017f7d5cbd31ee5d8e17f94b6521c7af77ece6c9e4b2d4b16c67" 1364"checksum core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "25bfd746d203017f7d5cbd31ee5d8e17f94b6521c7af77ece6c9e4b2d4b16c67"
1292"checksum core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "065a5d7ffdcbc8fa145d6f0746f3555025b9097a9e9cda59f7467abae670c78d" 1365"checksum core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "065a5d7ffdcbc8fa145d6f0746f3555025b9097a9e9cda59f7467abae670c78d"
@@ -1361,6 +1434,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1361"checksum rand 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "12397506224b2f93e6664ffc4f664b29be8208e5157d3d90b44f09b5fae470ea" 1434"checksum rand 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "12397506224b2f93e6664ffc4f664b29be8208e5157d3d90b44f09b5fae470ea"
1362"checksum rand_core 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "edecf0f94da5551fc9b492093e30b041a891657db7940ee221f9d2f66e82eef2" 1435"checksum rand_core 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "edecf0f94da5551fc9b492093e30b041a891657db7940ee221f9d2f66e82eef2"
1363"checksum redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "c214e91d3ecf43e9a4e41e578973adeb14b474f2bee858742d127af75a0112b1" 1436"checksum redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "c214e91d3ecf43e9a4e41e578973adeb14b474f2bee858742d127af75a0112b1"
1437"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"
1364"checksum reexport-proc-macro 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "438fe63770eda15baf98e30b4d27ada49b932866307fa04fec24d9043fe63324" 1438"checksum reexport-proc-macro 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "438fe63770eda15baf98e30b4d27ada49b932866307fa04fec24d9043fe63324"
1365"checksum regex 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5bbbea44c5490a1e84357ff28b7d518b4619a159fed5d25f6c1de2d19cc42814" 1439"checksum regex 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5bbbea44c5490a1e84357ff28b7d518b4619a159fed5d25f6c1de2d19cc42814"
1366"checksum regex-syntax 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "747ba3b235651f6e2f67dfa8bcdcd073ddb7c243cb21c442fc12395dfcac212d" 1440"checksum regex-syntax 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "747ba3b235651f6e2f67dfa8bcdcd073ddb7c243cb21c442fc12395dfcac212d"
@@ -1382,9 +1456,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1382"checksum smallvec 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "26df3bb03ca5eac2e64192b723d51f56c1b1e0860e7c766281f4598f181acdc8" 1456"checksum smallvec 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "26df3bb03ca5eac2e64192b723d51f56c1b1e0860e7c766281f4598f181acdc8"
1383"checksum stable_deref_trait 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ffbc596e092fe5f598b12ef46cc03754085ac2f4d8c739ad61c4ae266cc3b3fa" 1457"checksum stable_deref_trait 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ffbc596e092fe5f598b12ef46cc03754085ac2f4d8c739ad61c4ae266cc3b3fa"
1384"checksum string 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00caf261d6f90f588f8450b8e1230fa0d5be49ee6140fdfbcb55335aff350970" 1458"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"
1385"checksum syn 0.14.4 (registry+https://github.com/rust-lang/crates.io-index)" = "2beff8ebc3658f07512a413866875adddd20f4fd47b2a4e6c9da65cd281baaea" 1460"checksum syn 0.14.4 (registry+https://github.com/rust-lang/crates.io-index)" = "2beff8ebc3658f07512a413866875adddd20f4fd47b2a4e6c9da65cd281baaea"
1386"checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" 1461"checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8"
1387"checksum term_size 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9e5b9a66db815dcfd2da92db471106457082577c3c278d4138ab3e3b4e189327" 1462"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"
1464"checksum textwrap 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "307686869c93e71f94da64286f9a9524c0f308a9e1c87a583de8e9c9039ad3f6"
1388"checksum thread_local 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "279ef31c19ededf577bfd12dfae728040a21f635b06a24cd670ff510edd38963" 1465"checksum thread_local 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "279ef31c19ededf577bfd12dfae728040a21f635b06a24cd670ff510edd38963"
1389"checksum time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "d825be0eb33fda1a7e68012d51e9c7f451dc1a69391e7fdc197060bb8c56667b" 1466"checksum time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "d825be0eb33fda1a7e68012d51e9c7f451dc1a69391e7fdc197060bb8c56667b"
1390"checksum tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8ee337e5f4e501fc32966fec6fe0ca0cc1c237b0b1b14a335f8bfe3c5f06e286" 1467"checksum tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8ee337e5f4e501fc32966fec6fe0ca0cc1c237b0b1b14a335f8bfe3c5f06e286"
@@ -1415,6 +1492,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1415"checksum utf8-ranges 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "662fab6525a98beff2921d7f61a39e7d59e0b425ebc7d0d9e66d316e55124122" 1492"checksum utf8-ranges 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "662fab6525a98beff2921d7f61a39e7d59e0b425ebc7d0d9e66d316e55124122"
1416"checksum uuid 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e1436e58182935dcd9ce0add9ea0b558e8a87befe01c1a301e6020aeb0876363" 1493"checksum uuid 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e1436e58182935dcd9ce0add9ea0b558e8a87befe01c1a301e6020aeb0876363"
1417"checksum vcpkg 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cbe533e138811704c0e3cbde65a818b35d3240409b4346256c5ede403e082474" 1494"checksum vcpkg 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cbe533e138811704c0e3cbde65a818b35d3240409b4346256c5ede403e082474"
1495"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
1418"checksum version_check 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7716c242968ee87e5542f8021178248f267f295a5c4803beae8b8b7fd9bc6051" 1496"checksum version_check 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7716c242968ee87e5542f8021178248f267f295a5c4803beae8b8b7fd9bc6051"
1419"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" 1497"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
1420"checksum want 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "797464475f30ddb8830cc529aaaae648d581f99e2036a928877dfde027ddf6b3" 1498"checksum want 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "797464475f30ddb8830cc529aaaae648d581f99e2036a928877dfde027ddf6b3"
diff --git a/Cargo.toml b/Cargo.toml
index 286bdaf..2adeae2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,3 +9,5 @@ serde_json = { git = "https://github.com/serde-rs/json" }
9cursive = { git = "https://github.com/gyscos/Cursive" } 9cursive = { git = "https://github.com/gyscos/Cursive" }
10regex = "1" 10regex = "1"
11urlencoding = "1.0.0" 11urlencoding = "1.0.0"
12clap = "2.32.0"
13lazy_static = "1.0.2"
diff --git a/readme.md b/readme.md
index 0059143..05613d3 100644
--- a/readme.md
+++ b/readme.md
@@ -1,6 +1,6 @@
1# Taizen 1# Taizen
2 2
3![scrot.png](https://0x0.st/sOet.png) 3![scrot.png](https://0x0.st/sVXt.png)
4 4
5Browse Wikipedia pages from the command line. 5Browse Wikipedia pages from the command line.
6 6
diff --git a/src/content.rs b/src/content.rs
index a192446..d767f9c 100644
--- a/src/content.rs
+++ b/src/content.rs
@@ -31,7 +31,6 @@ pub fn query_url_gen(title: &str) -> String {
31 31
32pub fn search_url_gen(search: &str) -> String { 32pub fn search_url_gen(search: &str) -> String {
33 // search config 33 // search config
34 let search = search.replace(" ", "%20");
35 let mut url = CONFIGURATION.wiki_url.clone(); 34 let mut url = CONFIGURATION.wiki_url.clone();
36 url.push_str("/w/api.php?"); 35 url.push_str("/w/api.php?");
37 url.push_str("action=opensearch&"); 36 url.push_str("action=opensearch&");
diff --git a/src/main.rs b/src/main.rs
index ff87931..20f2061 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -66,10 +66,10 @@ fn parse_arguments() -> Configuration {
66 if matches.is_present("HELP") { 66 if matches.is_present("HELP") {
67 std::process::exit(0); 67 std::process::exit(0);
68 } 68 }
69 69
70 let lang = matches.value_of("lang").unwrap_or("en").to_string(); 70 let lang = matches.value_of("lang").unwrap_or("en").to_string();
71 let wiki_url = matches.value_of("URL").unwrap_or(&format!("https://{}.wikipedia.org", lang)).to_string(); 71 let wiki_url = matches.value_of("URL").unwrap_or(&format!("https://{}.wikipedia.org", lang)).to_string();
72 72
73 Configuration { 73 Configuration {
74 wiki_url 74 wiki_url
75 } 75 }