From 40c5f8a9077ca736c543a4dc4b857e13c3282435 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 28 Dec 2020 10:12:10 +1000 Subject: [PATCH] update prost to new 0.7 release+auto stage changes Allows us to drop slow git repo. --- Cargo.lock | 70 ++++---- cargo/crates.bzl | 156 ++++++++++-------- cargo/licenses.json | 35 ++-- cargo/remote/BUILD.askama_derive-0.10.5.bazel | 2 +- cargo/remote/BUILD.askama_shared-0.11.1.bazel | 2 +- ...el => BUILD.async-compression-0.3.7.bazel} | 9 +- cargo/remote/BUILD.bitvec-0.19.4.bazel | 2 +- cargo/remote/BUILD.bytes-1.0.0.bazel | 81 +++++++++ cargo/remote/BUILD.ctor-0.1.16.bazel | 2 +- cargo/remote/BUILD.derivative-2.1.1.bazel | 2 +- ...toa-0.4.6.bazel => BUILD.dtoa-0.4.7.bazel} | 2 +- cargo/remote/BUILD.failure_derive-0.1.8.bazel | 2 +- ...ty-1.0.1.bazel => BUILD.funty-1.1.0.bazel} | 2 +- cargo/remote/BUILD.futures-macro-0.3.8.bazel | 2 +- cargo/remote/BUILD.ghost-0.1.2.bazel | 2 +- cargo/remote/BUILD.http-0.2.2.bazel | 2 +- cargo/remote/BUILD.hyper-0.13.9.bazel | 2 +- .../remote/BUILD.inventory-impl-0.1.10.bazel | 2 +- ...toa-0.4.6.bazel => BUILD.itoa-0.4.7.bazel} | 2 +- cargo/remote/BUILD.native-tls-0.2.6.bazel | 6 +- cargo/remote/BUILD.num-format-0.4.0.bazel | 2 +- .../remote/BUILD.num_enum_derive-0.5.1.bazel | 2 +- ...0.31.bazel => BUILD.openssl-0.10.32.bazel} | 8 +- ...9.bazel => BUILD.openssl-sys-0.9.60.bazel} | 4 +- .../BUILD.pin-project-internal-0.4.27.bazel | 2 +- .../BUILD.pin-project-internal-1.0.2.bazel | 2 +- ...st-0.6.1.bazel => BUILD.prost-0.7.0.bazel} | 6 +- ....1.bazel => BUILD.prost-build-0.7.0.bazel} | 14 +- ...1.bazel => BUILD.prost-derive-0.7.0.bazel} | 6 +- ....1.bazel => BUILD.prost-types-0.7.0.bazel} | 8 +- cargo/remote/BUILD.pyo3-macros-0.13.0.bazel | 2 +- .../BUILD.pyo3-macros-backend-0.13.0.bazel | 2 +- cargo/remote/BUILD.rental-impl-0.5.5.bazel | 2 +- cargo/remote/BUILD.serde_derive-1.0.118.bazel | 2 +- cargo/remote/BUILD.serde_json-1.0.60.bazel | 2 +- cargo/remote/BUILD.serde_repr-0.1.6.bazel | 2 +- .../BUILD.serde_tuple_macros-0.5.0.bazel | 2 +- .../remote/BUILD.serde_urlencoded-0.6.1.bazel | 4 +- ...yn-1.0.55.bazel => BUILD.syn-1.0.56.bazel} | 4 +- cargo/remote/BUILD.synstructure-0.12.4.bazel | 2 +- ....22.bazel => BUILD.thiserror-1.0.23.bazel} | 4 +- ...azel => BUILD.thiserror-impl-1.0.23.bazel} | 4 +- cargo/remote/BUILD.tokio-socks-0.3.0.bazel | 2 +- .../BUILD.unic-langid-macros-impl-0.9.0.bazel | 2 +- .../BUILD.wasm-bindgen-backend-0.2.69.bazel | 2 +- ...LD.wasm-bindgen-macro-support-0.2.69.bazel | 2 +- cargo/remote/BUILD.which-4.0.2.bazel | 2 +- cargo/update.py | 16 +- rslib/Cargo.toml | 16 +- rslib/cargo/BUILD.bazel | 6 +- 50 files changed, 324 insertions(+), 195 deletions(-) rename cargo/remote/{BUILD.async-compression-0.3.6.bazel => BUILD.async-compression-0.3.7.bazel} (91%) create mode 100644 cargo/remote/BUILD.bytes-1.0.0.bazel rename cargo/remote/{BUILD.dtoa-0.4.6.bazel => BUILD.dtoa-0.4.7.bazel} (97%) rename cargo/remote/{BUILD.funty-1.0.1.bazel => BUILD.funty-1.1.0.bazel} (97%) rename cargo/remote/{BUILD.itoa-0.4.6.bazel => BUILD.itoa-0.4.7.bazel} (98%) rename cargo/remote/{BUILD.openssl-0.10.31.bazel => BUILD.openssl-0.10.32.bazel} (92%) rename cargo/remote/{BUILD.openssl-sys-0.9.59.bazel => BUILD.openssl-sys-0.9.60.bazel} (97%) rename cargo/remote/{BUILD.prost-0.6.1.bazel => BUILD.prost-0.7.0.bazel} (90%) rename cargo/remote/{BUILD.prost-build-0.6.1.bazel => BUILD.prost-build-0.7.0.bazel} (87%) rename cargo/remote/{BUILD.prost-derive-0.6.1.bazel => BUILD.prost-derive-0.7.0.bazel} (91%) rename cargo/remote/{BUILD.prost-types-0.6.1.bazel => BUILD.prost-types-0.7.0.bazel} (87%) rename cargo/remote/{BUILD.syn-1.0.55.bazel => BUILD.syn-1.0.56.bazel} (98%) rename cargo/remote/{BUILD.thiserror-1.0.22.bazel => BUILD.thiserror-1.0.23.bazel} (95%) rename cargo/remote/{BUILD.thiserror-impl-1.0.22.bazel => BUILD.thiserror-impl-1.0.23.bazel} (94%) diff --git a/Cargo.lock b/Cargo.lock index af6316b80..7cfea4708 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -169,15 +169,15 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb1ff21a63d3262af46b9f33a826a8d134e2d0d9b2179c86034948b732ea8b2a" +checksum = "b72c1f1154e234325b50864a349b9c8e56939e266a4c307c0f159812df2f9537" dependencies = [ "bytes 0.5.6", "flate2", "futures-core", "memchr", - "pin-project-lite 0.1.11", + "pin-project-lite 0.2.0", ] [[package]] @@ -295,6 +295,12 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" +[[package]] +name = "bytes" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad1f8e949d755f9d79112b5bb46938e0ef9d3804a0b16dfab13aafcaa5f0fa72" + [[package]] name = "cc" version = "1.0.66" @@ -464,9 +470,9 @@ dependencies = [ [[package]] name = "dtoa" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b" +checksum = "88d7ed2934d741c6b37e33e3832298e8850b53fd2d2bea03873375596c7cea4e" [[package]] name = "either" @@ -637,9 +643,9 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" [[package]] name = "funty" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ba62103ce691c2fd80fbae2213dfdda9ce60804973ac6b6e97de818ea7f52c8" +checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" [[package]] name = "futures" @@ -1067,9 +1073,9 @@ dependencies = [ [[package]] name = "itoa" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" +checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" [[package]] name = "js-sys" @@ -1347,9 +1353,9 @@ checksum = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0" [[package]] name = "openssl" -version = "0.10.31" +version = "0.10.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d008f51b1acffa0d3450a68606e6a51c123012edaacb0f4e1426bd978869187" +checksum = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70" dependencies = [ "bitflags", "cfg-if 1.0.0", @@ -1367,9 +1373,9 @@ checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" [[package]] name = "openssl-sys" -version = "0.9.59" +version = "0.9.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de52d8eabd217311538a39bba130d7dea1f1e118010fee7a033d966845e7d5fe" +checksum = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6" dependencies = [ "autocfg", "cc", @@ -1533,19 +1539,21 @@ dependencies = [ [[package]] name = "prost" -version = "0.6.1" -source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2" dependencies = [ - "bytes 0.5.6", + "bytes 1.0.0", "prost-derive", ] [[package]] name = "prost-build" -version = "0.6.1" -source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3" dependencies = [ - "bytes 0.5.6", + "bytes 1.0.0", "heck", "itertools", "log", @@ -1559,8 +1567,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.6.1" -source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4" dependencies = [ "anyhow", "itertools", @@ -1571,10 +1580,11 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.6.1" -source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb" dependencies = [ - "bytes 0.5.6", + "bytes 1.0.0", "prost", ] @@ -2113,9 +2123,9 @@ checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2" [[package]] name = "syn" -version = "1.0.55" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a571a711dddd09019ccc628e1b17fe87c59b09d513c06c026877aa708334f37a" +checksum = "a9802ddde94170d186eeee5005b798d9c159fa970403f1be19976d0cfb939b72" dependencies = [ "proc-macro2", "quote", @@ -2181,18 +2191,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e9ae34b84616eedaaf1e9dd6026dbe00dcafa92aa0c8077cb69df1fcfe5e53e" +checksum = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56" +checksum = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1" dependencies = [ "proc-macro2", "quote", diff --git a/cargo/crates.bzl b/cargo/crates.bzl index 43c2364e0..34c9d8dbc 100644 --- a/cargo/crates.bzl +++ b/cargo/crates.bzl @@ -143,12 +143,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__async_compression__0_3_6", - url = "https://crates.io/api/v1/crates/async-compression/0.3.6/download", + name = "raze__async_compression__0_3_7", + url = "https://crates.io/api/v1/crates/async-compression/0.3.7/download", type = "tar.gz", - sha256 = "fb1ff21a63d3262af46b9f33a826a8d134e2d0d9b2179c86034948b732ea8b2a", - strip_prefix = "async-compression-0.3.6", - build_file = Label("//cargo/remote:BUILD.async-compression-0.3.6.bazel"), + sha256 = "b72c1f1154e234325b50864a349b9c8e56939e266a4c307c0f159812df2f9537", + strip_prefix = "async-compression-0.3.7", + build_file = Label("//cargo/remote:BUILD.async-compression-0.3.7.bazel"), ) maybe( @@ -281,6 +281,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.bytes-0.5.6.bazel"), ) + maybe( + http_archive, + name = "raze__bytes__1_0_0", + url = "https://crates.io/api/v1/crates/bytes/1.0.0/download", + type = "tar.gz", + sha256 = "ad1f8e949d755f9d79112b5bb46938e0ef9d3804a0b16dfab13aafcaa5f0fa72", + strip_prefix = "bytes-1.0.0", + build_file = Label("//cargo/remote:BUILD.bytes-1.0.0.bazel"), + ) + maybe( http_archive, name = "raze__cc__1_0_66", @@ -463,12 +473,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__dtoa__0_4_6", - url = "https://crates.io/api/v1/crates/dtoa/0.4.6/download", + name = "raze__dtoa__0_4_7", + url = "https://crates.io/api/v1/crates/dtoa/0.4.7/download", type = "tar.gz", - sha256 = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b", - strip_prefix = "dtoa-0.4.6", - build_file = Label("//cargo/remote:BUILD.dtoa-0.4.6.bazel"), + sha256 = "88d7ed2934d741c6b37e33e3832298e8850b53fd2d2bea03873375596c7cea4e", + strip_prefix = "dtoa-0.4.7", + build_file = Label("//cargo/remote:BUILD.dtoa-0.4.7.bazel"), ) maybe( @@ -663,12 +673,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__funty__1_0_1", - url = "https://crates.io/api/v1/crates/funty/1.0.1/download", + name = "raze__funty__1_1_0", + url = "https://crates.io/api/v1/crates/funty/1.1.0/download", type = "tar.gz", - sha256 = "0ba62103ce691c2fd80fbae2213dfdda9ce60804973ac6b6e97de818ea7f52c8", - strip_prefix = "funty-1.0.1", - build_file = Label("//cargo/remote:BUILD.funty-1.0.1.bazel"), + sha256 = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7", + strip_prefix = "funty-1.1.0", + build_file = Label("//cargo/remote:BUILD.funty-1.1.0.bazel"), ) maybe( @@ -1093,12 +1103,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__itoa__0_4_6", - url = "https://crates.io/api/v1/crates/itoa/0.4.6/download", + name = "raze__itoa__0_4_7", + url = "https://crates.io/api/v1/crates/itoa/0.4.7/download", type = "tar.gz", - sha256 = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6", - strip_prefix = "itoa-0.4.6", - build_file = Label("//cargo/remote:BUILD.itoa-0.4.6.bazel"), + sha256 = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736", + strip_prefix = "itoa-0.4.7", + build_file = Label("//cargo/remote:BUILD.itoa-0.4.7.bazel"), ) maybe( @@ -1393,12 +1403,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__openssl__0_10_31", - url = "https://crates.io/api/v1/crates/openssl/0.10.31/download", + name = "raze__openssl__0_10_32", + url = "https://crates.io/api/v1/crates/openssl/0.10.32/download", type = "tar.gz", - sha256 = "8d008f51b1acffa0d3450a68606e6a51c123012edaacb0f4e1426bd978869187", - strip_prefix = "openssl-0.10.31", - build_file = Label("//cargo/remote:BUILD.openssl-0.10.31.bazel"), + sha256 = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70", + strip_prefix = "openssl-0.10.32", + build_file = Label("//cargo/remote:BUILD.openssl-0.10.32.bazel"), ) maybe( @@ -1413,12 +1423,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__openssl_sys__0_9_59", - url = "https://crates.io/api/v1/crates/openssl-sys/0.9.59/download", + name = "raze__openssl_sys__0_9_60", + url = "https://crates.io/api/v1/crates/openssl-sys/0.9.60/download", type = "tar.gz", - sha256 = "de52d8eabd217311538a39bba130d7dea1f1e118010fee7a033d966845e7d5fe", - strip_prefix = "openssl-sys-0.9.59", - build_file = Label("//cargo/remote:BUILD.openssl-sys-0.9.59.bazel"), + sha256 = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6", + strip_prefix = "openssl-sys-0.9.60", + build_file = Label("//cargo/remote:BUILD.openssl-sys-0.9.60.bazel"), ) maybe( @@ -1612,43 +1622,43 @@ def raze_fetch_remote_crates(): ) maybe( - new_git_repository, - name = "raze__prost__0_6_1", - remote = "https://github.com/danburkert/prost.git", - shallow_since = "1598739849 -0700", - commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b", - build_file = Label("//cargo/remote:BUILD.prost-0.6.1.bazel"), - init_submodules = True, + http_archive, + name = "raze__prost__0_7_0", + url = "https://crates.io/api/v1/crates/prost/0.7.0/download", + type = "tar.gz", + sha256 = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2", + strip_prefix = "prost-0.7.0", + build_file = Label("//cargo/remote:BUILD.prost-0.7.0.bazel"), ) maybe( - new_git_repository, - name = "raze__prost_build__0_6_1", - remote = "https://github.com/danburkert/prost.git", - shallow_since = "1598739849 -0700", - commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b", - build_file = Label("//cargo/remote:BUILD.prost-build-0.6.1.bazel"), - init_submodules = True, + http_archive, + name = "raze__prost_build__0_7_0", + url = "https://crates.io/api/v1/crates/prost-build/0.7.0/download", + type = "tar.gz", + sha256 = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3", + strip_prefix = "prost-build-0.7.0", + build_file = Label("//cargo/remote:BUILD.prost-build-0.7.0.bazel"), ) maybe( - new_git_repository, - name = "raze__prost_derive__0_6_1", - remote = "https://github.com/danburkert/prost.git", - shallow_since = "1598739849 -0700", - commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b", - build_file = Label("//cargo/remote:BUILD.prost-derive-0.6.1.bazel"), - init_submodules = True, + http_archive, + name = "raze__prost_derive__0_7_0", + url = "https://crates.io/api/v1/crates/prost-derive/0.7.0/download", + type = "tar.gz", + sha256 = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4", + strip_prefix = "prost-derive-0.7.0", + build_file = Label("//cargo/remote:BUILD.prost-derive-0.7.0.bazel"), ) maybe( - new_git_repository, - name = "raze__prost_types__0_6_1", - remote = "https://github.com/danburkert/prost.git", - shallow_since = "1598739849 -0700", - commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b", - build_file = Label("//cargo/remote:BUILD.prost-types-0.6.1.bazel"), - init_submodules = True, + http_archive, + name = "raze__prost_types__0_7_0", + url = "https://crates.io/api/v1/crates/prost-types/0.7.0/download", + type = "tar.gz", + sha256 = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb", + strip_prefix = "prost-types-0.7.0", + build_file = Label("//cargo/remote:BUILD.prost-types-0.7.0.bazel"), ) maybe( @@ -2153,12 +2163,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__syn__1_0_55", - url = "https://crates.io/api/v1/crates/syn/1.0.55/download", + name = "raze__syn__1_0_56", + url = "https://crates.io/api/v1/crates/syn/1.0.56/download", type = "tar.gz", - sha256 = "a571a711dddd09019ccc628e1b17fe87c59b09d513c06c026877aa708334f37a", - strip_prefix = "syn-1.0.55", - build_file = Label("//cargo/remote:BUILD.syn-1.0.55.bazel"), + sha256 = "a9802ddde94170d186eeee5005b798d9c159fa970403f1be19976d0cfb939b72", + strip_prefix = "syn-1.0.56", + build_file = Label("//cargo/remote:BUILD.syn-1.0.56.bazel"), ) maybe( @@ -2223,22 +2233,22 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__thiserror__1_0_22", - url = "https://crates.io/api/v1/crates/thiserror/1.0.22/download", + name = "raze__thiserror__1_0_23", + url = "https://crates.io/api/v1/crates/thiserror/1.0.23/download", type = "tar.gz", - sha256 = "0e9ae34b84616eedaaf1e9dd6026dbe00dcafa92aa0c8077cb69df1fcfe5e53e", - strip_prefix = "thiserror-1.0.22", - build_file = Label("//cargo/remote:BUILD.thiserror-1.0.22.bazel"), + sha256 = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146", + strip_prefix = "thiserror-1.0.23", + build_file = Label("//cargo/remote:BUILD.thiserror-1.0.23.bazel"), ) maybe( http_archive, - name = "raze__thiserror_impl__1_0_22", - url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.22/download", + name = "raze__thiserror_impl__1_0_23", + url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.23/download", type = "tar.gz", - sha256 = "9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56", - strip_prefix = "thiserror-impl-1.0.22", - build_file = Label("//cargo/remote:BUILD.thiserror-impl-1.0.22.bazel"), + sha256 = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1", + strip_prefix = "thiserror-impl-1.0.23", + build_file = Label("//cargo/remote:BUILD.thiserror-impl-1.0.23.bazel"), ) maybe( diff --git a/cargo/licenses.json b/cargo/licenses.json index cce9f5a47..f6b532d47 100644 --- a/cargo/licenses.json +++ b/cargo/licenses.json @@ -136,7 +136,7 @@ }, { "name": "async-compression", - "version": "0.3.6", + "version": "0.3.7", "authors": "Wim Looman |Allen Bui ", "repository": "https://github.com/Nemo157/async-compression", "license": "Apache-2.0 OR MIT", @@ -260,6 +260,15 @@ "license_file": null, "description": "Types and traits for working with bytes" }, + { + "name": "bytes", + "version": "1.0.0", + "authors": "Carl Lerche |Sean McArthur ", + "repository": "https://github.com/tokio-rs/bytes", + "license": "MIT", + "license_file": null, + "description": "Types and traits for working with bytes" + }, { "name": "cc", "version": "1.0.66", @@ -424,7 +433,7 @@ }, { "name": "dtoa", - "version": "0.4.6", + "version": "0.4.7", "authors": "David Tolnay ", "repository": "https://github.com/dtolnay/dtoa", "license": "Apache-2.0 OR MIT", @@ -604,7 +613,7 @@ }, { "name": "funty", - "version": "1.0.1", + "version": "1.1.0", "authors": "myrrlyn ", "repository": "https://github.com/myrrlyn/funty", "license": "MIT", @@ -991,7 +1000,7 @@ }, { "name": "itoa", - "version": "0.4.6", + "version": "0.4.7", "authors": "David Tolnay ", "repository": "https://github.com/dtolnay/itoa", "license": "Apache-2.0 OR MIT", @@ -1261,7 +1270,7 @@ }, { "name": "openssl", - "version": "0.10.31", + "version": "0.10.32", "authors": "Steven Fackler ", "repository": "https://github.com/sfackler/rust-openssl", "license": "Apache-2.0", @@ -1279,7 +1288,7 @@ }, { "name": "openssl-sys", - "version": "0.9.59", + "version": "0.9.60", "authors": "Alex Crichton |Steven Fackler ", "repository": "https://github.com/sfackler/rust-openssl", "license": "MIT", @@ -1459,7 +1468,7 @@ }, { "name": "prost", - "version": "0.6.1", + "version": "0.7.0", "authors": "Dan Burkert ", "repository": "https://github.com/danburkert/prost", "license": "Apache-2.0", @@ -1468,7 +1477,7 @@ }, { "name": "prost-build", - "version": "0.6.1", + "version": "0.7.0", "authors": "Dan Burkert ", "repository": "https://github.com/danburkert/prost", "license": "Apache-2.0", @@ -1477,7 +1486,7 @@ }, { "name": "prost-derive", - "version": "0.6.1", + "version": "0.7.0", "authors": "Dan Burkert ", "repository": "https://github.com/danburkert/prost", "license": "Apache-2.0", @@ -1486,7 +1495,7 @@ }, { "name": "prost-types", - "version": "0.6.1", + "version": "0.7.0", "authors": "Dan Burkert ", "repository": "https://github.com/danburkert/prost", "license": "Apache-2.0", @@ -1954,7 +1963,7 @@ }, { "name": "syn", - "version": "1.0.55", + "version": "1.0.56", "authors": "David Tolnay ", "repository": "https://github.com/dtolnay/syn", "license": "Apache-2.0 OR MIT", @@ -2017,7 +2026,7 @@ }, { "name": "thiserror", - "version": "1.0.22", + "version": "1.0.23", "authors": "David Tolnay ", "repository": "https://github.com/dtolnay/thiserror", "license": "Apache-2.0 OR MIT", @@ -2026,7 +2035,7 @@ }, { "name": "thiserror-impl", - "version": "1.0.22", + "version": "1.0.23", "authors": "David Tolnay ", "repository": "https://github.com/dtolnay/thiserror", "license": "Apache-2.0 OR MIT", diff --git a/cargo/remote/BUILD.askama_derive-0.10.5.bazel b/cargo/remote/BUILD.askama_derive-0.10.5.bazel index e78afefcf..d490a806a 100644 --- a/cargo/remote/BUILD.askama_derive-0.10.5.bazel +++ b/cargo/remote/BUILD.askama_derive-0.10.5.bazel @@ -51,6 +51,6 @@ rust_library( deps = [ "@raze__askama_shared__0_11_1//:askama_shared", "@raze__proc_macro2__1_0_24//:proc_macro2", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.askama_shared-0.11.1.bazel b/cargo/remote/BUILD.askama_shared-0.11.1.bazel index 39acae264..6e75c0a0a 100644 --- a/cargo/remote/BUILD.askama_shared-0.11.1.bazel +++ b/cargo/remote/BUILD.askama_shared-0.11.1.bazel @@ -63,7 +63,7 @@ rust_library( "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", "@raze__serde__1_0_118//:serde", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", "@raze__toml__0_5_8//:toml", ], ) diff --git a/cargo/remote/BUILD.async-compression-0.3.6.bazel b/cargo/remote/BUILD.async-compression-0.3.7.bazel similarity index 91% rename from cargo/remote/BUILD.async-compression-0.3.6.bazel rename to cargo/remote/BUILD.async-compression-0.3.7.bazel index 7f39a3d0f..8eed63c0d 100644 --- a/cargo/remote/BUILD.async-compression-0.3.6.bazel +++ b/cargo/remote/BUILD.async-compression-0.3.7.bazel @@ -37,8 +37,11 @@ licenses([ rust_library( name = "async_compression", srcs = glob(["**/*.rs"]), + aliases = { + "@raze__bytes__0_5_6//:bytes": "bytes_05", + }, crate_features = [ - "bytes", + "bytes-05", "default", "flate2", "gzip", @@ -55,14 +58,14 @@ rust_library( "cargo-raze", "manual", ], - version = "0.3.6", + version = "0.3.7", # buildifier: leave-alone deps = [ "@raze__bytes__0_5_6//:bytes", "@raze__flate2__1_0_19//:flate2", "@raze__futures_core__0_3_8//:futures_core", "@raze__memchr__2_3_4//:memchr", - "@raze__pin_project_lite__0_1_11//:pin_project_lite", + "@raze__pin_project_lite__0_2_0//:pin_project_lite", ], ) diff --git a/cargo/remote/BUILD.bitvec-0.19.4.bazel b/cargo/remote/BUILD.bitvec-0.19.4.bazel index 28d26061c..740e1495f 100644 --- a/cargo/remote/BUILD.bitvec-0.19.4.bazel +++ b/cargo/remote/BUILD.bitvec-0.19.4.bazel @@ -57,7 +57,7 @@ rust_library( version = "0.19.4", # buildifier: leave-alone deps = [ - "@raze__funty__1_0_1//:funty", + "@raze__funty__1_1_0//:funty", "@raze__radium__0_5_3//:radium", "@raze__tap__1_0_0//:tap", "@raze__wyz__0_2_0//:wyz", diff --git a/cargo/remote/BUILD.bytes-1.0.0.bazel b/cargo/remote/BUILD.bytes-1.0.0.bazel new file mode 100644 index 000000000..6a780ca4d --- /dev/null +++ b/cargo/remote/BUILD.bytes-1.0.0.bazel @@ -0,0 +1,81 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "buf" with type "bench" omitted + +# Unsupported target "bytes" with type "bench" omitted + +# Unsupported target "bytes_mut" with type "bench" omitted + +rust_library( + name = "bytes", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "test_buf" with type "test" omitted + +# Unsupported target "test_buf_mut" with type "test" omitted + +# Unsupported target "test_bytes" with type "test" omitted + +# Unsupported target "test_bytes_odd_alloc" with type "test" omitted + +# Unsupported target "test_bytes_vec_alloc" with type "test" omitted + +# Unsupported target "test_chain" with type "test" omitted + +# Unsupported target "test_debug" with type "test" omitted + +# Unsupported target "test_iter" with type "test" omitted + +# Unsupported target "test_reader" with type "test" omitted + +# Unsupported target "test_serde" with type "test" omitted + +# Unsupported target "test_take" with type "test" omitted diff --git a/cargo/remote/BUILD.ctor-0.1.16.bazel b/cargo/remote/BUILD.ctor-0.1.16.bazel index d5245fe81..70e53e5b5 100644 --- a/cargo/remote/BUILD.ctor-0.1.16.bazel +++ b/cargo/remote/BUILD.ctor-0.1.16.bazel @@ -52,6 +52,6 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.derivative-2.1.1.bazel b/cargo/remote/BUILD.derivative-2.1.1.bazel index 55044bcc0..8925cd7cf 100644 --- a/cargo/remote/BUILD.derivative-2.1.1.bazel +++ b/cargo/remote/BUILD.derivative-2.1.1.bazel @@ -52,7 +52,7 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.dtoa-0.4.6.bazel b/cargo/remote/BUILD.dtoa-0.4.7.bazel similarity index 97% rename from cargo/remote/BUILD.dtoa-0.4.6.bazel rename to cargo/remote/BUILD.dtoa-0.4.7.bazel index 4addd09b1..e988b582d 100644 --- a/cargo/remote/BUILD.dtoa-0.4.6.bazel +++ b/cargo/remote/BUILD.dtoa-0.4.7.bazel @@ -48,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.6", + version = "0.4.7", # buildifier: leave-alone deps = [ ], diff --git a/cargo/remote/BUILD.failure_derive-0.1.8.bazel b/cargo/remote/BUILD.failure_derive-0.1.8.bazel index 0bdc193c2..6095fea55 100644 --- a/cargo/remote/BUILD.failure_derive-0.1.8.bazel +++ b/cargo/remote/BUILD.failure_derive-0.1.8.bazel @@ -80,7 +80,7 @@ rust_library( ":failure_derive_build_script", "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", "@raze__synstructure__0_12_4//:synstructure", ], ) diff --git a/cargo/remote/BUILD.funty-1.0.1.bazel b/cargo/remote/BUILD.funty-1.1.0.bazel similarity index 97% rename from cargo/remote/BUILD.funty-1.0.1.bazel rename to cargo/remote/BUILD.funty-1.1.0.bazel index f821f2a80..06c2831df 100644 --- a/cargo/remote/BUILD.funty-1.0.1.bazel +++ b/cargo/remote/BUILD.funty-1.1.0.bazel @@ -46,7 +46,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.1", + version = "1.1.0", # buildifier: leave-alone deps = [ ], diff --git a/cargo/remote/BUILD.futures-macro-0.3.8.bazel b/cargo/remote/BUILD.futures-macro-0.3.8.bazel index 0ce56872a..d6860c6bb 100644 --- a/cargo/remote/BUILD.futures-macro-0.3.8.bazel +++ b/cargo/remote/BUILD.futures-macro-0.3.8.bazel @@ -54,6 +54,6 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.ghost-0.1.2.bazel b/cargo/remote/BUILD.ghost-0.1.2.bazel index ef6c68908..e1a90107c 100644 --- a/cargo/remote/BUILD.ghost-0.1.2.bazel +++ b/cargo/remote/BUILD.ghost-0.1.2.bazel @@ -51,6 +51,6 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.http-0.2.2.bazel b/cargo/remote/BUILD.http-0.2.2.bazel index 76badbc96..22c878752 100644 --- a/cargo/remote/BUILD.http-0.2.2.bazel +++ b/cargo/remote/BUILD.http-0.2.2.bazel @@ -59,7 +59,7 @@ rust_library( deps = [ "@raze__bytes__0_5_6//:bytes", "@raze__fnv__1_0_7//:fnv", - "@raze__itoa__0_4_6//:itoa", + "@raze__itoa__0_4_7//:itoa", ], ) diff --git a/cargo/remote/BUILD.hyper-0.13.9.bazel b/cargo/remote/BUILD.hyper-0.13.9.bazel index 4c49c54c3..c54097a6f 100644 --- a/cargo/remote/BUILD.hyper-0.13.9.bazel +++ b/cargo/remote/BUILD.hyper-0.13.9.bazel @@ -104,7 +104,7 @@ rust_library( "@raze__http_body__0_3_1//:http_body", "@raze__httparse__1_3_4//:httparse", "@raze__httpdate__0_3_2//:httpdate", - "@raze__itoa__0_4_6//:itoa", + "@raze__itoa__0_4_7//:itoa", "@raze__pin_project__1_0_2//:pin_project", "@raze__socket2__0_3_19//:socket2", "@raze__tokio__0_2_24//:tokio", diff --git a/cargo/remote/BUILD.inventory-impl-0.1.10.bazel b/cargo/remote/BUILD.inventory-impl-0.1.10.bazel index f114abd04..ab4bef251 100644 --- a/cargo/remote/BUILD.inventory-impl-0.1.10.bazel +++ b/cargo/remote/BUILD.inventory-impl-0.1.10.bazel @@ -51,6 +51,6 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.itoa-0.4.6.bazel b/cargo/remote/BUILD.itoa-0.4.7.bazel similarity index 98% rename from cargo/remote/BUILD.itoa-0.4.6.bazel rename to cargo/remote/BUILD.itoa-0.4.7.bazel index 00565f2f8..9b0f6562d 100644 --- a/cargo/remote/BUILD.itoa-0.4.6.bazel +++ b/cargo/remote/BUILD.itoa-0.4.7.bazel @@ -51,7 +51,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.6", + version = "0.4.7", # buildifier: leave-alone deps = [ ], diff --git a/cargo/remote/BUILD.native-tls-0.2.6.bazel b/cargo/remote/BUILD.native-tls-0.2.6.bazel index 90faa77c6..94821b5a0 100644 --- a/cargo/remote/BUILD.native-tls-0.2.6.bazel +++ b/cargo/remote/BUILD.native-tls-0.2.6.bazel @@ -70,7 +70,7 @@ cargo_build_script( ( "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__openssl_sys__0_9_59//:openssl_sys", + "@raze__openssl_sys__0_9_60//:openssl_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -129,9 +129,9 @@ rust_library( "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ "@raze__log__0_4_11//:log", - "@raze__openssl__0_10_31//:openssl", + "@raze__openssl__0_10_32//:openssl", "@raze__openssl_probe__0_1_2//:openssl_probe", - "@raze__openssl_sys__0_9_59//:openssl_sys", + "@raze__openssl_sys__0_9_60//:openssl_sys", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/cargo/remote/BUILD.num-format-0.4.0.bazel b/cargo/remote/BUILD.num-format-0.4.0.bazel index 205f45d61..c2e8c0e1c 100644 --- a/cargo/remote/BUILD.num-format-0.4.0.bazel +++ b/cargo/remote/BUILD.num-format-0.4.0.bazel @@ -54,7 +54,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__arrayvec__0_4_12//:arrayvec", - "@raze__itoa__0_4_6//:itoa", + "@raze__itoa__0_4_7//:itoa", ] + selects.with_or({ # cfg(unix) ( diff --git a/cargo/remote/BUILD.num_enum_derive-0.5.1.bazel b/cargo/remote/BUILD.num_enum_derive-0.5.1.bazel index 72fb3c202..9440a411a 100644 --- a/cargo/remote/BUILD.num_enum_derive-0.5.1.bazel +++ b/cargo/remote/BUILD.num_enum_derive-0.5.1.bazel @@ -54,6 +54,6 @@ rust_library( "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__proc_macro_crate__0_1_5//:proc_macro_crate", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.openssl-0.10.31.bazel b/cargo/remote/BUILD.openssl-0.10.32.bazel similarity index 92% rename from cargo/remote/BUILD.openssl-0.10.31.bazel rename to cargo/remote/BUILD.openssl-0.10.32.bazel index aa44c9f1a..b61c0fee7 100644 --- a/cargo/remote/BUILD.openssl-0.10.31.bazel +++ b/cargo/remote/BUILD.openssl-0.10.32.bazel @@ -52,10 +52,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.10.31", + version = "0.10.32", visibility = ["//visibility:private"], deps = [ - "@raze__openssl_sys__0_9_59//:openssl_sys", + "@raze__openssl_sys__0_9_60//:openssl_sys", ], ) @@ -77,7 +77,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.10.31", + version = "0.10.32", # buildifier: leave-alone deps = [ ":openssl_build_script", @@ -86,6 +86,6 @@ rust_library( "@raze__foreign_types__0_3_2//:foreign_types", "@raze__lazy_static__1_4_0//:lazy_static", "@raze__libc__0_2_81//:libc", - "@raze__openssl_sys__0_9_59//:openssl_sys", + "@raze__openssl_sys__0_9_60//:openssl_sys", ], ) diff --git a/cargo/remote/BUILD.openssl-sys-0.9.59.bazel b/cargo/remote/BUILD.openssl-sys-0.9.60.bazel similarity index 97% rename from cargo/remote/BUILD.openssl-sys-0.9.59.bazel rename to cargo/remote/BUILD.openssl-sys-0.9.60.bazel index 176b12571..6383aacbc 100644 --- a/cargo/remote/BUILD.openssl-sys-0.9.59.bazel +++ b/cargo/remote/BUILD.openssl-sys-0.9.60.bazel @@ -52,7 +52,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.9.59", + version = "0.9.60", visibility = ["//visibility:private"], deps = [ "@raze__autocfg__1_0_1//:autocfg", @@ -87,7 +87,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.9.59", + version = "0.9.60", # buildifier: leave-alone deps = [ ":openssl_sys_build_script", diff --git a/cargo/remote/BUILD.pin-project-internal-0.4.27.bazel b/cargo/remote/BUILD.pin-project-internal-0.4.27.bazel index e75143495..9092e198f 100644 --- a/cargo/remote/BUILD.pin-project-internal-0.4.27.bazel +++ b/cargo/remote/BUILD.pin-project-internal-0.4.27.bazel @@ -80,6 +80,6 @@ rust_library( ":pin_project_internal_build_script", "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.pin-project-internal-1.0.2.bazel b/cargo/remote/BUILD.pin-project-internal-1.0.2.bazel index 00198e1ce..cc9cd9aae 100644 --- a/cargo/remote/BUILD.pin-project-internal-1.0.2.bazel +++ b/cargo/remote/BUILD.pin-project-internal-1.0.2.bazel @@ -51,6 +51,6 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.prost-0.6.1.bazel b/cargo/remote/BUILD.prost-0.7.0.bazel similarity index 90% rename from cargo/remote/BUILD.prost-0.6.1.bazel rename to cargo/remote/BUILD.prost-0.7.0.bazel index c2767db8d..f1bc8649e 100644 --- a/cargo/remote/BUILD.prost-0.6.1.bazel +++ b/cargo/remote/BUILD.prost-0.7.0.bazel @@ -45,7 +45,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@raze__prost_derive__0_6_1//:prost_derive", + "@raze__prost_derive__0_7_0//:prost_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -54,9 +54,9 @@ rust_library( "cargo-raze", "manual", ], - version = "0.6.1", + version = "0.7.0", # buildifier: leave-alone deps = [ - "@raze__bytes__0_5_6//:bytes", + "@raze__bytes__1_0_0//:bytes", ], ) diff --git a/cargo/remote/BUILD.prost-build-0.6.1.bazel b/cargo/remote/BUILD.prost-build-0.7.0.bazel similarity index 87% rename from cargo/remote/BUILD.prost-build-0.6.1.bazel rename to cargo/remote/BUILD.prost-build-0.7.0.bazel index 52dbf4d78..4d40325e3 100644 --- a/cargo/remote/BUILD.prost-build-0.6.1.bazel +++ b/cargo/remote/BUILD.prost-build-0.7.0.bazel @@ -42,7 +42,7 @@ cargo_build_script( }, crate_features = [ ], - crate_root = "prost-build/build.rs", + crate_root = "build.rs", data = glob(["**"]), edition = "2018", rustc_flags = [ @@ -52,7 +52,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.6.1", + version = "0.7.0", visibility = ["//visibility:private"], deps = [ "@raze__which__4_0_2//:which", @@ -64,7 +64,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ ], - crate_root = "prost-build/src/lib.rs", + crate_root = "src/lib.rs", crate_type = "lib", data = [], edition = "2018", @@ -75,18 +75,18 @@ rust_library( "cargo-raze", "manual", ], - version = "0.6.1", + version = "0.7.0", # buildifier: leave-alone deps = [ ":prost_build_build_script", - "@raze__bytes__0_5_6//:bytes", + "@raze__bytes__1_0_0//:bytes", "@raze__heck__0_3_2//:heck", "@raze__itertools__0_9_0//:itertools", "@raze__log__0_4_11//:log", "@raze__multimap__0_8_2//:multimap", "@raze__petgraph__0_5_1//:petgraph", - "@raze__prost__0_6_1//:prost", - "@raze__prost_types__0_6_1//:prost_types", + "@raze__prost__0_7_0//:prost", + "@raze__prost_types__0_7_0//:prost_types", "@raze__tempfile__3_1_0//:tempfile", ], ) diff --git a/cargo/remote/BUILD.prost-derive-0.6.1.bazel b/cargo/remote/BUILD.prost-derive-0.7.0.bazel similarity index 91% rename from cargo/remote/BUILD.prost-derive-0.6.1.bazel rename to cargo/remote/BUILD.prost-derive-0.7.0.bazel index 42041ce5b..653588f3a 100644 --- a/cargo/remote/BUILD.prost-derive-0.6.1.bazel +++ b/cargo/remote/BUILD.prost-derive-0.7.0.bazel @@ -35,7 +35,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ ], - crate_root = "prost-derive/src/lib.rs", + crate_root = "src/lib.rs", crate_type = "proc-macro", data = [], edition = "2018", @@ -46,13 +46,13 @@ rust_library( "cargo-raze", "manual", ], - version = "0.6.1", + version = "0.7.0", # buildifier: leave-alone deps = [ "@raze__anyhow__1_0_36//:anyhow", "@raze__itertools__0_9_0//:itertools", "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.prost-types-0.6.1.bazel b/cargo/remote/BUILD.prost-types-0.7.0.bazel similarity index 87% rename from cargo/remote/BUILD.prost-types-0.6.1.bazel rename to cargo/remote/BUILD.prost-types-0.7.0.bazel index 589a7f7e5..18196b24f 100644 --- a/cargo/remote/BUILD.prost-types-0.6.1.bazel +++ b/cargo/remote/BUILD.prost-types-0.7.0.bazel @@ -35,7 +35,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ ], - crate_root = "prost-types/src/lib.rs", + crate_root = "src/lib.rs", crate_type = "lib", data = [], edition = "2018", @@ -46,10 +46,10 @@ rust_library( "cargo-raze", "manual", ], - version = "0.6.1", + version = "0.7.0", # buildifier: leave-alone deps = [ - "@raze__bytes__0_5_6//:bytes", - "@raze__prost__0_6_1//:prost", + "@raze__bytes__1_0_0//:bytes", + "@raze__prost__0_7_0//:prost", ], ) diff --git a/cargo/remote/BUILD.pyo3-macros-0.13.0.bazel b/cargo/remote/BUILD.pyo3-macros-0.13.0.bazel index 043634b82..bbc3abe84 100644 --- a/cargo/remote/BUILD.pyo3-macros-0.13.0.bazel +++ b/cargo/remote/BUILD.pyo3-macros-0.13.0.bazel @@ -51,6 +51,6 @@ rust_library( deps = [ "@raze__pyo3_macros_backend__0_13_0//:pyo3_macros_backend", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.pyo3-macros-backend-0.13.0.bazel b/cargo/remote/BUILD.pyo3-macros-backend-0.13.0.bazel index 1545f8a56..3fc640cfb 100644 --- a/cargo/remote/BUILD.pyo3-macros-backend-0.13.0.bazel +++ b/cargo/remote/BUILD.pyo3-macros-backend-0.13.0.bazel @@ -51,6 +51,6 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.rental-impl-0.5.5.bazel b/cargo/remote/BUILD.rental-impl-0.5.5.bazel index 0790a572a..e391ea9dd 100644 --- a/cargo/remote/BUILD.rental-impl-0.5.5.bazel +++ b/cargo/remote/BUILD.rental-impl-0.5.5.bazel @@ -51,6 +51,6 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.serde_derive-1.0.118.bazel b/cargo/remote/BUILD.serde_derive-1.0.118.bazel index 165bbdedf..b4fbcd746 100644 --- a/cargo/remote/BUILD.serde_derive-1.0.118.bazel +++ b/cargo/remote/BUILD.serde_derive-1.0.118.bazel @@ -82,6 +82,6 @@ rust_library( ":serde_derive_build_script", "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.serde_json-1.0.60.bazel b/cargo/remote/BUILD.serde_json-1.0.60.bazel index d14bca756..746da93d1 100644 --- a/cargo/remote/BUILD.serde_json-1.0.60.bazel +++ b/cargo/remote/BUILD.serde_json-1.0.60.bazel @@ -82,7 +82,7 @@ rust_library( # buildifier: leave-alone deps = [ ":serde_json_build_script", - "@raze__itoa__0_4_6//:itoa", + "@raze__itoa__0_4_7//:itoa", "@raze__ryu__1_0_5//:ryu", "@raze__serde__1_0_118//:serde", ], diff --git a/cargo/remote/BUILD.serde_repr-0.1.6.bazel b/cargo/remote/BUILD.serde_repr-0.1.6.bazel index a331ba165..934536e14 100644 --- a/cargo/remote/BUILD.serde_repr-0.1.6.bazel +++ b/cargo/remote/BUILD.serde_repr-0.1.6.bazel @@ -51,7 +51,7 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.serde_tuple_macros-0.5.0.bazel b/cargo/remote/BUILD.serde_tuple_macros-0.5.0.bazel index 54e0a068f..a095ade99 100644 --- a/cargo/remote/BUILD.serde_tuple_macros-0.5.0.bazel +++ b/cargo/remote/BUILD.serde_tuple_macros-0.5.0.bazel @@ -51,6 +51,6 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.serde_urlencoded-0.6.1.bazel b/cargo/remote/BUILD.serde_urlencoded-0.6.1.bazel index 3d9ce000d..ef8e18eff 100644 --- a/cargo/remote/BUILD.serde_urlencoded-0.6.1.bazel +++ b/cargo/remote/BUILD.serde_urlencoded-0.6.1.bazel @@ -49,8 +49,8 @@ rust_library( version = "0.6.1", # buildifier: leave-alone deps = [ - "@raze__dtoa__0_4_6//:dtoa", - "@raze__itoa__0_4_6//:itoa", + "@raze__dtoa__0_4_7//:dtoa", + "@raze__itoa__0_4_7//:itoa", "@raze__serde__1_0_118//:serde", "@raze__url__2_2_0//:url", ], diff --git a/cargo/remote/BUILD.syn-1.0.55.bazel b/cargo/remote/BUILD.syn-1.0.56.bazel similarity index 98% rename from cargo/remote/BUILD.syn-1.0.55.bazel rename to cargo/remote/BUILD.syn-1.0.56.bazel index 93fc513fc..957affd49 100644 --- a/cargo/remote/BUILD.syn-1.0.55.bazel +++ b/cargo/remote/BUILD.syn-1.0.56.bazel @@ -64,7 +64,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.55", + version = "1.0.56", visibility = ["//visibility:private"], deps = [ ], @@ -102,7 +102,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.55", + version = "1.0.56", # buildifier: leave-alone deps = [ ":syn_build_script", diff --git a/cargo/remote/BUILD.synstructure-0.12.4.bazel b/cargo/remote/BUILD.synstructure-0.12.4.bazel index dfdf5a266..a9eec1fd5 100644 --- a/cargo/remote/BUILD.synstructure-0.12.4.bazel +++ b/cargo/remote/BUILD.synstructure-0.12.4.bazel @@ -53,7 +53,7 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", "@raze__unicode_xid__0_2_1//:unicode_xid", ], ) diff --git a/cargo/remote/BUILD.thiserror-1.0.22.bazel b/cargo/remote/BUILD.thiserror-1.0.23.bazel similarity index 95% rename from cargo/remote/BUILD.thiserror-1.0.22.bazel rename to cargo/remote/BUILD.thiserror-1.0.23.bazel index e2f3dd2e3..689ce3b95 100644 --- a/cargo/remote/BUILD.thiserror-1.0.22.bazel +++ b/cargo/remote/BUILD.thiserror-1.0.23.bazel @@ -40,7 +40,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@raze__thiserror_impl__1_0_22//:thiserror_impl", + "@raze__thiserror_impl__1_0_23//:thiserror_impl", ], rustc_flags = [ "--cap-lints=allow", @@ -49,7 +49,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.22", + version = "1.0.23", # buildifier: leave-alone deps = [ ], diff --git a/cargo/remote/BUILD.thiserror-impl-1.0.22.bazel b/cargo/remote/BUILD.thiserror-impl-1.0.23.bazel similarity index 94% rename from cargo/remote/BUILD.thiserror-impl-1.0.22.bazel rename to cargo/remote/BUILD.thiserror-impl-1.0.23.bazel index db5025db1..a7fe4cd30 100644 --- a/cargo/remote/BUILD.thiserror-impl-1.0.22.bazel +++ b/cargo/remote/BUILD.thiserror-impl-1.0.23.bazel @@ -46,11 +46,11 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.22", + version = "1.0.23", # buildifier: leave-alone deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", ], ) diff --git a/cargo/remote/BUILD.tokio-socks-0.3.0.bazel b/cargo/remote/BUILD.tokio-socks-0.3.0.bazel index 1a19112e1..17da2b07a 100644 --- a/cargo/remote/BUILD.tokio-socks-0.3.0.bazel +++ b/cargo/remote/BUILD.tokio-socks-0.3.0.bazel @@ -56,7 +56,7 @@ rust_library( "@raze__bytes__0_4_12//:bytes", "@raze__either__1_6_1//:either", "@raze__futures__0_3_8//:futures", - "@raze__thiserror__1_0_22//:thiserror", + "@raze__thiserror__1_0_23//:thiserror", "@raze__tokio__0_2_24//:tokio", ], ) diff --git a/cargo/remote/BUILD.unic-langid-macros-impl-0.9.0.bazel b/cargo/remote/BUILD.unic-langid-macros-impl-0.9.0.bazel index 91d5a4a90..db33e331d 100644 --- a/cargo/remote/BUILD.unic-langid-macros-impl-0.9.0.bazel +++ b/cargo/remote/BUILD.unic-langid-macros-impl-0.9.0.bazel @@ -53,7 +53,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", "@raze__unic_langid_impl__0_9_0//:unic_langid_impl", ], ) diff --git a/cargo/remote/BUILD.wasm-bindgen-backend-0.2.69.bazel b/cargo/remote/BUILD.wasm-bindgen-backend-0.2.69.bazel index de854b05a..fdb0a5215 100644 --- a/cargo/remote/BUILD.wasm-bindgen-backend-0.2.69.bazel +++ b/cargo/remote/BUILD.wasm-bindgen-backend-0.2.69.bazel @@ -55,7 +55,7 @@ rust_library( "@raze__log__0_4_11//:log", "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", "@raze__wasm_bindgen_shared__0_2_69//:wasm_bindgen_shared", ], ) diff --git a/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.69.bazel b/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.69.bazel index 7f3078bfa..40291c0f4 100644 --- a/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.69.bazel +++ b/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.69.bazel @@ -52,7 +52,7 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_8//:quote", - "@raze__syn__1_0_55//:syn", + "@raze__syn__1_0_56//:syn", "@raze__wasm_bindgen_backend__0_2_69//:wasm_bindgen_backend", "@raze__wasm_bindgen_shared__0_2_69//:wasm_bindgen_shared", ], diff --git a/cargo/remote/BUILD.which-4.0.2.bazel b/cargo/remote/BUILD.which-4.0.2.bazel index 379db3d3b..7149ca557 100644 --- a/cargo/remote/BUILD.which-4.0.2.bazel +++ b/cargo/remote/BUILD.which-4.0.2.bazel @@ -50,7 +50,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__libc__0_2_81//:libc", - "@raze__thiserror__1_0_22//:thiserror", + "@raze__thiserror__1_0_23//:thiserror", ], ) diff --git a/cargo/update.py b/cargo/update.py index 62958b7c3..d8e60ed18 100644 --- a/cargo/update.py +++ b/cargo/update.py @@ -17,8 +17,6 @@ COMMITS_SHALLOW_SINCE = { "f9ef687120d88744c1da50a222e19208b4553503": "1604362633 +1000", # tokio-io-timeout "96e1358555c49905de89170f2b1102a7d8b6c4c2": "1598411535 +1000", - # prost - "4ded4a98ef339da0b7babd4efee3fbe8adaf746b": "1598739849 -0700", } import os @@ -112,8 +110,22 @@ def update_reqwest_deps(): file.write(data) +def stage_commit(): + subprocess.run( + [ + "git", + "add", + ".", + "../Cargo.lock", + "../rslib/cargo/BUILD.bazel", + "../pylib/rsbridge/BUILD.bazel", + ] + ) + + update_cargo_lock() run_cargo_raze() write_licenses() update_crates_bzl() update_reqwest_deps() +stage_commit() diff --git a/rslib/Cargo.toml b/rslib/Cargo.toml index 1b968ce20..4a058dd1a 100644 --- a/rslib/Cargo.toml +++ b/rslib/Cargo.toml @@ -15,7 +15,7 @@ path = "src/lib.rs" [build-dependencies] fluent-syntax = "0.10" -prost-build = { git = "https://github.com/danburkert/prost.git", rev = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b" } +prost-build = "0.7" [dev-dependencies] env_logger = "0.8.1" @@ -33,12 +33,10 @@ coarsetime = "0.1.16" failure = "0.1.8" flate2 = "1.0.16" fluent = "0.13.1" -#fluent = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" } futures = "0.3.5" hex = "0.4.2" htmlescape = "0.3.1" intl-memoizer = "0.5" -#intl-memoizer = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" } itertools = "0.9.0" lazy_static = "1.4.0" nom = "6.0.1" @@ -47,11 +45,17 @@ num-format = "0.4.0" num-integer = "0.1.43" once_cell = "1.4.1" pin-project = "1" -prost = { git = "https://github.com/danburkert/prost.git", rev = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b" } +prost = "0.7" rand = "0.7.3" regex = "1.3.9" -reqwest = { git = "https://github.com/ankitects/reqwest.git", tag = "anki-2020-11-03", default-features = false, features = ["json", "socks", "stream", "rustls-tls", "native-tls"] } -rusqlite = { version = "0.24.1", features = ["trace", "functions", "collation", "bundled" ] } +reqwest = { git = "https://github.com/ankitects/reqwest.git", tag = "anki-2020-11-03", default-features = false, features = [ + "json", + "socks", + "stream", + "rustls-tls", + "native-tls", +] } +rusqlite = { version = "0.24.1", features = ["trace", "functions", "collation", "bundled"] } scopeguard = "1.1.0" serde = "1.0.114" serde_derive = "1.0.114" diff --git a/rslib/cargo/BUILD.bazel b/rslib/cargo/BUILD.bazel index cf12bb6f3..f416b3b90 100644 --- a/rslib/cargo/BUILD.bazel +++ b/rslib/cargo/BUILD.bazel @@ -23,7 +23,7 @@ alias( alias( name = "async_compression", - actual = "@raze__async_compression__0_3_6//:async_compression", + actual = "@raze__async_compression__0_3_7//:async_compression", tags = [ "cargo-raze", "manual", @@ -221,7 +221,7 @@ alias( alias( name = "prost", - actual = "@raze__prost__0_6_1//:prost", + actual = "@raze__prost__0_7_0//:prost", tags = [ "cargo-raze", "manual", @@ -230,7 +230,7 @@ alias( alias( name = "prost_build", - actual = "@raze__prost_build__0_6_1//:prost_build", + actual = "@raze__prost_build__0_7_0//:prost_build", tags = [ "cargo-raze", "manual",