update prost to new 0.7 release+auto stage changes

Allows us to drop slow git repo.
This commit is contained in:
Damien Elmes 2020-12-28 10:12:10 +10:00
parent 1633d6bd9f
commit 40c5f8a907
50 changed files with 324 additions and 195 deletions

70
Cargo.lock generated
View file

@ -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",

View file

@ -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(

View file

@ -136,7 +136,7 @@
},
{
"name": "async-compression",
"version": "0.3.6",
"version": "0.3.7",
"authors": "Wim Looman <wim@nemo157.com>|Allen Bui <fairingrey@gmail.com>",
"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 <me@carllerche.com>|Sean McArthur <sean@seanmonstar.com>",
"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 <dtolnay@gmail.com>",
"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 <self@myrrlyn.dev>",
"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 <dtolnay@gmail.com>",
"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 <sfackler@gmail.com>",
"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 <alex@alexcrichton.com>|Steven Fackler <sfackler@gmail.com>",
"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 <dan@danburkert.com>",
"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 <dan@danburkert.com>",
"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 <dan@danburkert.com>",
"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 <dan@danburkert.com>",
"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 <dtolnay@gmail.com>",
"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 <dtolnay@gmail.com>",
"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 <dtolnay@gmail.com>",
"repository": "https://github.com/dtolnay/thiserror",
"license": "Apache-2.0 OR MIT",

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",

View file

@ -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

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -48,7 +48,7 @@ rust_library(
"cargo-raze",
"manual",
],
version = "0.4.6",
version = "0.4.7",
# buildifier: leave-alone
deps = [
],

View file

@ -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",
],
)

View file

@ -46,7 +46,7 @@ rust_library(
"cargo-raze",
"manual",
],
version = "1.0.1",
version = "1.1.0",
# buildifier: leave-alone
deps = [
],

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",

View file

@ -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",
],
)

View file

@ -51,7 +51,7 @@ rust_library(
"cargo-raze",
"manual",
],
version = "0.4.6",
version = "0.4.7",
# buildifier: leave-alone
deps = [
],

View file

@ -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({

View file

@ -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)
(

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],

View file

@ -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",

View file

@ -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",
],
)

View file

@ -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 = [
],

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],
)

View file

@ -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",
],

View file

@ -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",
],
)

View file

@ -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()

View file

@ -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,10 +45,16 @@ 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"] }
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"

View file

@ -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",