diff --git a/Cargo.lock b/Cargo.lock index 1ce8cc89b2..cc6dde370c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,10 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +[[package]] +name = "adler32" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "aho-corasick" version = "0.7.6" @@ -165,6 +170,40 @@ name = "constant_time_eq" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "cookie" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", + "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cookie_store" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cookie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "publicsuffix 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", + "try_from 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "crc32fast" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "crossbeam-deque" version = "0.7.1" @@ -248,6 +287,7 @@ dependencies = [ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "reqwest 0.9.20 (registry+https://github.com/rust-lang/crates.io-index)", "ring 0.16.8 (registry+https://github.com/rust-lang/crates.io-index)", "rustyline 5.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)", @@ -288,11 +328,33 @@ dependencies = [ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "dtoa" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "either" version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "encoding_rs" +version = "0.8.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "error-chain" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "backtrace 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", + "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "failure" version = "0.1.5" @@ -313,6 +375,16 @@ dependencies = [ "synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "flate2" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "crc32fast 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)", + "miniz_oxide 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "fnv" version = "1.0.6" @@ -570,6 +642,31 @@ dependencies = [ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "mime" +version = "0.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "unicase 2.4.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "mime_guess" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "mime 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", + "unicase 2.4.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "miniz_oxide" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "mio" version = "0.6.19" @@ -727,6 +824,18 @@ dependencies = [ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "publicsuffix" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", + "idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "quote" version = "0.6.13" @@ -936,6 +1045,41 @@ dependencies = [ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "reqwest" +version = "0.9.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie_store 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "encoding_rs 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)", + "flate2 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)", + "http 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.12.33 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper-rustls 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "mime 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", + "mime_guess 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rustls 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_urlencoded 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-rustls 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-threadpool 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "webpki-roots 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "winreg 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "ring" version = "0.16.8" @@ -1067,6 +1211,17 @@ dependencies = [ "serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "serde_urlencoded" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", + "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)", + "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "signal-hook" version = "0.1.10" @@ -1452,6 +1607,22 @@ name = "try-lock" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "try_from" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "unicase" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "unicode-bidi" version = "0.3.4" @@ -1518,6 +1689,14 @@ dependencies = [ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "uuid" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "vec_map" version = "0.8.1" @@ -1700,6 +1879,14 @@ dependencies = [ "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "winreg" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "ws2_32-sys" version = "0.2.1" @@ -1710,6 +1897,7 @@ dependencies = [ ] [metadata] +"checksum adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7e522997b529f05601e05166c07ed17789691f562762c7f3b987263d2dedee5c" "checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" "checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" "checksum ansi_term 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "eaa72766c3585a1f812a3387a7e2c6cab780f899c2f43ff6ea06c8d071fcbb36" @@ -1732,6 +1920,9 @@ dependencies = [ "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" "checksum constant_time_eq 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "995a44c877f9212528ccc74b21a232f66ad69001e40ede5bcee2ac9ef2657120" +"checksum cookie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "888604f00b3db336d2af898ec3c1d5d0ddf5e6d462220f2ededc33a87ac4bbd5" +"checksum cookie_store 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46750b3f362965f197996c4448e4a0935e791bf7d6631bfce9ee0af3d24c919c" +"checksum crc32fast 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" "checksum crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b18cd2e169ad86297e6bc0ad9aa679aee9daa4f19e8163860faf7c164e4f5a71" "checksum crossbeam-epoch 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "fedcd6772e37f3da2a9af9bf12ebe046c0dfe657992377b4df982a2b54cd37a9" "checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b" @@ -1739,9 +1930,13 @@ dependencies = [ "checksum ct-logs 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4d3686f5fa27dbc1d76c751300376e167c5a43387f44bb451fd1c24776e49113" "checksum dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3" "checksum dirs-sys 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "afa0b23de8fd801745c471deffa6e12d248f962c9fd4b4c33787b055599bde7b" +"checksum dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e" "checksum either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5527cfe0d098f36e3f8839852688e63c8fff1c90b2b405aef730615f9a7bcf7b" +"checksum encoding_rs 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)" = "4155785c79f2f6701f185eb2e6b4caf0555ec03477cb4c70db67b465311620ed" +"checksum error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ab49e9dcb602294bc42f9a7dfc9bc6e936fca4418ea300dbfb84fe16de0b7d9" "checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2" "checksum failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1" +"checksum flate2 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)" = "2adaffba6388640136149e18ed080b77a78611c1e1d6de75aedcdf78df5d4682" "checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" "checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" @@ -1771,6 +1966,9 @@ dependencies = [ "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" "checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e" "checksum memoffset 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ce6075db033bbbb7ee5a0bbd3a3186bbae616f57fb001c485c7ff77955f8177f" +"checksum mime 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)" = "3e27ca21f40a310bd06d9031785f4801710d566c184a6e15bad4f1d9b65f9425" +"checksum mime_guess 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1a0ed03949aef72dbdf3116a383d7b38b4768e6f960528cd6a6044aa9ed68599" +"checksum miniz_oxide 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7108aff85b876d06f22503dcce091e29f76733b2bfdd91eebce81f5e68203a10" "checksum mio 0.6.19 (registry+https://github.com/rust-lang/crates.io-index)" = "83f51996a3ed004ef184e16818edc51fadffe8e7ca68be67f9dee67d84d0ff23" "checksum mio-named-pipes 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f5e374eff525ce1c5b7687c4cef63943e7686524a387933ad27ca7ec43779cb3" "checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" @@ -1788,6 +1986,7 @@ dependencies = [ "checksum ppv-lite86 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e3cbf9f658cdb5000fcf6f362b8ea2ba154b9f146a61c7a20d647034c6b6561b" "checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" "checksum proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4c5c2380ae88876faae57698be9e9775e3544decad214599c3a6266cca6ac802" +"checksum publicsuffix 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5afecba86dcf1e4fd610246f89899d1924fe12e1e89f555eb7c7f710f3c5ad1d" "checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" "checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" "checksum rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" @@ -1811,6 +2010,7 @@ dependencies = [ "checksum regex 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88c3d9193984285d544df4a30c23a4e62ead42edf70a4452ceb76dac1ce05c26" "checksum regex-syntax 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "b143cceb2ca5e56d5671988ef8b15615733e7ee16cd348e064333b251b89343f" "checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e" +"checksum reqwest 0.9.20 (registry+https://github.com/rust-lang/crates.io-index)" = "0f6d896143a583047512e59ac54a215cb203c29cc941917343edea3be8df9c78" "checksum ring 0.16.8 (registry+https://github.com/rust-lang/crates.io-index)" = "76903fac2cd69ce91b2b43cdabdb259e61865dc64f04a0f0c716c68408b5c383" "checksum rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4ca4eaef519b494d1f2848fc602d18816fed808a981aedf4f1f00ceb7c9d32cf" "checksum rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" @@ -1826,6 +2026,7 @@ dependencies = [ "checksum serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)" = "fec2851eb56d010dc9a21b89ca53ee75e6528bab60c11e89d38390904982da9f" "checksum serde_derive 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)" = "cb4dc18c61206b08dc98216c98faa0232f4337e1e1b8574551d5bad29ea1b425" "checksum serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)" = "051c49229f282f7c6f3813f8286cc1e3323e8051823fce42c7ea80fe13521704" +"checksum serde_urlencoded 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "642dd69105886af2efd227f75a520ec9b44a820d65bc133a9131f7d229fd165a" "checksum signal-hook 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4f61c4d59f3aaa9f61bba6450a9b80ba48362fd7d651689e7a10c453b1f6dc68" "checksum signal-hook-registry 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1797d48f38f91643908bb14e35e79928f9f4b3cefb2420a564dde0991b4358dc" "checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" @@ -1863,6 +2064,8 @@ dependencies = [ "checksum tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "66268575b80f4a4a710ef83d087fdfeeabdce9b74c797535fbac18a2cb906e92" "checksum tokio-uds 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "037ffc3ba0e12a0ab4aca92e5234e0dedeb48fddf6ccd260f1f150a36a9f2445" "checksum try-lock 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" +"checksum try_from 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "283d3b89e1368717881a9d51dad843cc435380d8109c9e47d38780a324698d8b" +"checksum unicase 2.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a84e5511b2a947f3ae965dcb29b13b7b1691b6e7332cf5dbc1744138d5acb7f6" "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" "checksum unicode-normalization 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "141339a08b982d942be2ca06ff8b076563cbe223d1befd5450716790d44e2426" "checksum unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9" @@ -1873,6 +2076,7 @@ dependencies = [ "checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" "checksum utf8parse 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8772a4ccbb4e89959023bc5b7cb8623a795caa7092d99f3aa9501b9484d4557d" "checksum utime 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "055058552ca15c566082fc61da433ae678f78986a6f16957e33162d1b218792a" +"checksum uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" "checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a" "checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" "checksum vlq 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "65dd7eed29412da847b0f78bcec0ac98588165988a8cfe41d4ea1d429f8ccfff" @@ -1896,4 +2100,5 @@ dependencies = [ "checksum winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9" "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" "checksum wincolor 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "96f5016b18804d24db43cebf3c77269e7569b8954a8464501c216cc5e070eaa9" +"checksum winreg 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b2986deb581c4fe11b621998a5e53361efe6b48a151178d0cd9eeffa4dc6acc9" "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index c8ed2ab49b..2688643b4a 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -10,6 +10,12 @@ import("rust.gni") cargo_home = "//third_party/rust_crates" +rust_rlib("adler32") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/adler32-1.0.3/src/lib.rs" +} + rust_rlib("aho_corasick") { cap_lints = "allow" edition = "2015" @@ -151,6 +157,51 @@ rust_rlib("clap") { } } +rust_rlib("cookie") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/cookie-0.12.0/src/lib.rs" + features = [ + "percent-encode", + "url", + ] + extern_rlib = [ + "time", + "url", + ] +} + +rust_rlib("cookie_store") { + cap_lints = "allow" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/cookie_store-0.7.0/src/lib.rs" + extern_rlib = [ + "cookie", + "failure", + "idna", + "log", + "publicsuffix", + "serde", + "serde_json", + "time", + "try_from", + "url", + ] +} + +rust_rlib("crc32fast") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crc32fast-1.2.0/src/lib.rs" + features = [ + "default", + "std", + ] + extern_rlib = [ "cfg_if" ] + + # Added by custom-build script. + cfg = [ "crc32fast_stdarchx86" ] +} + rust_rlib("crossbeam_deque") { cap_lints = "allow" edition = "2015" @@ -231,6 +282,12 @@ rust_rlib("dirs_sys") { } } +rust_rlib("dtoa") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/dtoa-0.4.4/src/lib.rs" +} + rust_rlib("either") { cap_lints = "allow" edition = "2015" @@ -241,6 +298,120 @@ rust_rlib("either") { ] } +rust_rlib("encoding_rs") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/encoding_rs-0.8.17/src/lib.rs" + extern_rlib = [ "cfg_if" ] +} + +rust_rlib("error_chain") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/error-chain-0.12.1/src/lib.rs" + features = [ + "default", + "example_generated", + ] + + # Added by custom-build script. + cfg = [ "has_error_source" ] + if (is_win) { + features += [ "backtrace" ] + extern_rlib = [ "backtrace" ] + } + + ## Override: 'backtrace' is not supported on POSIX platforms. + # if (is_posix) { + # features += [ "backtrace" ] + # } +} + +rust_rlib("failure") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/lib.rs" + features = [ + "default", + "derive", + "failure_derive", + "std", + ] + extern = [ + { + label = ":failure_derive" + crate_type = "proc_macro" + crate_name = "failure_derive" + }, + ] + if (is_win) { + features += [ "backtrace" ] + extern_rlib = [ "backtrace" ] + } + + ## Override: 'backtrace' is not supported on POSIX platforms. + # if (is_posix) { + # features += [ "backtrace" ] + # } +} + +rust_proc_macro("failure_derive") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.5/src/lib.rs" + extern_rlib = [ + "synstructure", + + # Override: use proc_macro2 v1.0.1 instead of v0.4.30. + "proc_macro2", + + # Override: use quote v1.0.2 instead of v0.6.13. + "quote", + ] + extern = [ + { + label = ":syn-0.15.44" + crate_type = "rlib" + crate_name = "syn" + crate_version = "0.15.44" + }, + + ## Override: use proc_macro2 v1.0.1 instead of v0.4.30. + # { + # label = ":proc_macro2-0.4.30" + # crate_type = "rlib" + # crate_name = "proc_macro2" + # crate_version = "0.4.30" + # }, + + ## Override: use quote v1.0.2 instead of v0.6.13. + # { + # label = ":quote-0.6.13" + # crate_type = "rlib" + # crate_name = "quote" + # crate_version = "0.6.13" + # }, + ] + + # Added by custom-build script. + cfg = [ "has_dyn_trait" ] +} + +rust_rlib("flate2") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.11/src/lib.rs" + features = [ + "miniz_oxide", + "rust_backend", + ] + extern_rlib = [ + "crc32fast", + "libc", + "miniz_oxide", + ] +} + rust_rlib("fnv") { cap_lints = "allow" edition = "2015" @@ -568,6 +739,37 @@ rust_rlib("memoffset") { cfg = [ "memoffset_maybe_uninit" ] } +rust_rlib("mime") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mime-0.3.13/src/lib.rs" + extern_rlib = [ "unicase" ] +} + +rust_rlib("mime_guess") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mime_guess-2.0.1/src/lib.rs" + features = [ + "default", + "rev-mappings", + ] + extern_rlib = [ + "mime", + "unicase", + ] + + # Contains file generated by custom-build script: 'mime_types_generated.rs'. + generated_source_dir = + "$cargo_home/registry/gen/github.com-1ecc6299db9ec823/mime_guess-2.0.1" +} + +rust_rlib("miniz_oxide") { + cap_lints = "allow" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/miniz_oxide-0.3.2/src/lib.rs" + extern_rlib = [ "adler32" ] +} + rust_rlib("mio") { cap_lints = "allow" edition = "2015" @@ -709,6 +911,19 @@ rust_rlib("proc_macro2") { ] } +rust_rlib("publicsuffix") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/publicsuffix-1.5.2/src/lib.rs" + extern_rlib = [ + "error_chain", + "idna", + "lazy_static", + "regex", + "url", + ] +} + rust_rlib("quote") { cap_lints = "allow" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/quote-1.0.2/src/lib.rs" @@ -954,6 +1169,58 @@ rust_rlib("remove_dir_all") { } } +rust_rlib("reqwest") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/reqwest-0.9.20/src/lib.rs" + features = [ + "hyper-rustls", + "rustls", + "rustls-tls", + "tls", + "tokio-rustls", + "webpki-roots", + ] + extern_rlib = [ + "base64", + "bytes", + "cookie", + "cookie_store", + "encoding_rs", + "flate2", + "futures", + "http", + "hyper", + "hyper_rustls", + "log", + "mime", + "mime_guess", + "rustls", + "serde", + "serde_json", + "serde_urlencoded", + "time", + "tokio", + "tokio_executor", + "tokio_io", + "tokio_rustls", + "tokio_threadpool", + "tokio_timer", + "url", + "uuid", + "webpki_roots", + ] + + # These env vars are used by reqwest to set its user-agent string. + env = [ + "CARGO_PKG_NAME=reqwest", + "CARGO_PKG_VERSION=0.9.20", + ] + if (is_win) { + extern_rlib += [ "winreg" ] + } +} + rust_rlib("ring") { cap_lints = "allow" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/src/lib.rs" @@ -1073,6 +1340,7 @@ rust_rlib("rustls") { cap_lints = "allow" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustls-0.16.0/src/lib.rs" features = [ + "dangerous_configuration", "default", "log", "logging", @@ -1204,6 +1472,18 @@ rust_rlib("serde_json") { ] } +rust_rlib("serde_urlencoded") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde_urlencoded-0.5.5/src/lib.rs" + extern_rlib = [ + "dtoa", + "itoa", + "serde", + "url", + ] +} + rust_rlib("slab") { cap_lints = "allow" edition = "2015" @@ -1300,6 +1580,54 @@ rust_rlib("syn") { cfg = [ "syn_disable_nightly_tests" ] } +rust_rlib("synstructure") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/synstructure-0.10.2/src/lib.rs" + extern_rlib = [ + # Override: use proc_macro2 v1.0.1 instead of v0.4.30. + "proc_macro2", + + # Override: use quote v1.0.2 instead of v0.6.13. + "quote", + + # Override: use unicode_xid v0.2.0 instead of v0.1.0. + "unicode_xid", + ] + extern = [ + { + label = ":syn-0.15.44" + crate_type = "rlib" + crate_name = "syn" + crate_version = "0.15.44" + }, + + ## Override: use proc_macro2 v1.0.1 instead of v0.4.30. + # { + # label = ":proc_macro2-0.4.30" + # crate_type = "rlib" + # crate_name = "proc_macro2" + # crate_version = "0.4.30" + # }, + + ## Override: use quote v1.0.2 instead of v0.6.13. + # { + # label = ":quote-0.6.13" + # crate_type = "rlib" + # crate_name = "quote" + # crate_version = "0.6.13" + # }, + + ## Override: use unicode_xid v0.2.0 instead of v0.1.0. + # { + # label = ":unicode_xid-0.1.0" + # crate_type = "rlib" + # crate_name = "unicode_xid" + # crate_version = "0.1.0" + # }, + ] +} + rust_rlib("tempfile") { cap_lints = "allow" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tempfile-3.1.0/src/lib.rs" @@ -1612,12 +1940,32 @@ rust_rlib("tokio_udp") { ] } +rust_rlib("try_from") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/try_from-0.3.2/src/lib.rs" + extern_rlib = [ "cfg_if" ] +} + rust_rlib("try_lock") { cap_lints = "allow" edition = "2015" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/try-lock-0.2.2/src/lib.rs" } +rust_rlib("unicase") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicase-2.4.0/src/lib.rs" + + # Added by custom-build script. + cfg = [ + "__unicase__const_fns", + "__unicase__default_hasher", + "__unicase__iter_cmp", + ] +} + rust_rlib("unicode_bidi") { cap_lints = "allow" edition = "2015" @@ -1702,6 +2050,19 @@ rust_rlib("utime") { # } } +rust_rlib("uuid") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/uuid-0.7.4/src/lib.rs" + features = [ + "default", + "rand", + "std", + "v4", + ] + extern_rlib = [ "rand" ] +} + rust_rlib("vec_map") { cap_lints = "allow" edition = "2015" @@ -1745,6 +2106,68 @@ rust_rlib("webpki_roots") { extern_rlib = [ "webpki" ] } +## Override: use proc_macro2 v1.0.1 instead. +# rust_rlib("proc_macro2-0.4.30") { +# crate_name = "proc_macro2" +# crate_version = "0.4.30" +# cap_lints = "allow" +# edition = "2015" +# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.4.30/src/lib.rs" +# features = [ +# "default", +# "proc-macro", +# ] +# extern = [ +# { +# label = ":unicode_xid-0.1.0" +# crate_type = "rlib" +# crate_name = "unicode_xid" +# crate_version = "0.1.0" +# }, +# ] +# +# # Added by custom-build script. +# cfg = [ +# "u128", +# "use_proc_macro", +# "wrap_proc_macro", +# ] +# } + +# rust_rlib("quote-0.6.13") { +# crate_name = "quote" +# crate_version = "0.6.13" +# +# # Override: use proc_macro2 v1.0.1 instead of v0.4.30. +# extern = [ +# { +# label = ":proc_macro2-0.4.30" +# crate_type = "rlib" +# crate_name = "proc_macro2" +# crate_version = "0.4.30" +# }, +# ] +# +# # Override: use quote v1.0.2 instead. +# cap_lints = "allow" +# +# # Override: use quote v1.0.2 instead. +# edition = "2015" +# +# # Override: use quote v1.0.2 instead. +# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/quote-0.6.13/src/lib.rs" +# +# # Override: use quote v1.0.2 instead. +# features = [ +# "default", +# "proc-macro", +# ] +# +# # Override: use proc_macro2 v1.0.1 instead of v0.4.30. +# # Override: use quote v1.0.2 instead. +# extern_rlib = [ "proc_macro2" ] +# } + ## Override: use rand v0.6.5 instead. # rust_rlib("rand-0.4.6") { # crate_name = "rand" @@ -1865,6 +2288,80 @@ rust_rlib("rand_core-0.4.2") { # source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/scopeguard-0.3.3/src/lib.rs" # } +rust_rlib("syn-0.15.44") { + crate_name = "syn" + crate_version = "0.15.44" + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/syn-0.15.44/src/lib.rs" + features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "parsing", + "printing", + "proc-macro", + "quote", + "visit", + ] + extern_rlib = [ + # Override: use proc_macro2 v1.0.1 instead of v0.4.30. + "proc_macro2", + + # Override: use quote v1.0.2 instead of v0.6.13. + "quote", + + # Override: use unicode_xid v0.2.0 instead of v0.1.0. + "unicode_xid", + ] + + # Added by custom-build script. + cfg = [ + "syn_can_call_macro_by_path", + "syn_can_match_trailing_dollar", + "syn_can_use_associated_constants", + "syn_can_use_thread_id", + "syn_disable_nightly_tests", + ] + + # extern = [ + # # Override: use proc_macro2 v1.0.1 instead of v0.4.30. + # { + # label = ":proc_macro2-0.4.30" + # crate_type = "rlib" + # crate_name = "proc_macro2" + # crate_version = "0.4.30" + # }, + # + # # Override: use quote v1.0.2 instead of v0.6.13. + # { + # label = ":quote-0.6.13" + # crate_type = "rlib" + # crate_name = "quote" + # crate_version = "0.6.13" + # }, + # + # # Override: use unicode_xid v0.2.0 instead of v0.1.0. + # { + # label = ":unicode_xid-0.1.0" + # crate_type = "rlib" + # crate_name = "unicode_xid" + # crate_version = "0.1.0" + # }, + # ] +} + +## Override: use unicode_xid v0.2.0 instead. +# rust_rlib("unicode_xid-0.1.0") { +# crate_name = "unicode_xid" +# crate_version = "0.1.0" +# cap_lints = "allow" +# edition = "2015" +# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.1.0/src/lib.rs" +# features = [ "default" ] +# } + if (is_posix) { rust_rlib("arc_swap") { cap_lints = "allow" @@ -1976,6 +2473,36 @@ if (is_posix) { } if (is_win) { + rust_rlib("backtrace") { + cap_lints = "allow" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.35/src/lib.rs" + features = [ + "backtrace-sys", + "dbghelp", + "default", + "dladdr", + "libbacktrace", + "libunwind", + "std", + ] + extern_rlib = [ + "backtrace_sys", + "cfg_if", + "libc", + "rustc_demangle", + ] + } + + rust_rlib("backtrace_sys") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.31/src/lib.rs" + extern_rlib = [ "libc" ] + + # Added by custom-build script. + cfg = [ "empty" ] + } + rust_rlib("fwdansi") { cap_lints = "allow" edition = "2015" @@ -2025,6 +2552,12 @@ if (is_win) { ] } + rust_rlib("rustc_demangle") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.16/src/lib.rs" + } + rust_rlib("socket2") { cap_lints = "allow" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/socket2-0.3.11/src/lib.rs" @@ -2040,6 +2573,8 @@ if (is_win) { "errhandlingapi", "fileapi", "handleapi", + "impl-debug", + "impl-default", "ioapiset", "knownfolders", "minwinbase", @@ -2062,6 +2597,7 @@ if (is_win) { "wincon", "winerror", "winnt", + "winreg", "winsock2", "winuser", "ws2def", @@ -2101,7 +2637,6 @@ if (is_win) { "wincred", "windef", "wingdi", - "winreg", "wtypes", ] @@ -2143,6 +2678,13 @@ if (is_win) { ] } + rust_rlib("winreg") { + cap_lints = "allow" + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/winreg-0.6.2/src/lib.rs" + extern_rlib = [ "winapi" ] + } + rust_rlib("ws2_32") { cap_lints = "allow" edition = "2015" diff --git a/cli/BUILD.gn b/cli/BUILD.gn index 6704659db4..fd89d1941d 100644 --- a/cli/BUILD.gn +++ b/cli/BUILD.gn @@ -33,6 +33,7 @@ main_extern_rlib = [ "rand", "regex", "remove_dir_all", + "reqwest", "ring", "rustyline", "serde", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index e1597b799e..6fac49e3df 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -34,6 +34,7 @@ log = "0.4.8" rand = "0.6.5" regex = "1.2.1" remove_dir_all = "0.5.2" +reqwest = { version = "0.9.20", default-features = false, features = ["rustls-tls"] } ring = "0.16.8" rustyline = "5.0.2" serde = { version = "1.0.99", features = ["derive"] } diff --git a/third_party b/third_party index 3f2b7db657..b9427d8eee 160000 --- a/third_party +++ b/third_party @@ -1 +1 @@ -Subproject commit 3f2b7db6576bcf33651b781b47b397e6c1532af1 +Subproject commit b9427d8eee3bf17c4d1281e88f0ef7b611f13c97