Skip to content

Commit

Permalink
Update to latest rules_rust, which unblocks the tokio upgrade
Browse files Browse the repository at this point in the history
Rust version has been pinned, as 1.59 gets stuck compiling pyo3_macros,
and appears to have other issues:
rust-lang/rust#94390
  • Loading branch information
dae committed Mar 3, 2022
1 parent 29d17a8 commit 2c80bcb
Show file tree
Hide file tree
Showing 38 changed files with 955 additions and 56 deletions.
83 changes: 75 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cargo/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ alias(

alias(
name = "tokio",
actual = "@raze__tokio__1_16_1//:tokio",
actual = "@raze__tokio__1_17_0//:tokio",
tags = [
"cargo-raze",
"manual",
Expand Down
2 changes: 1 addition & 1 deletion cargo/BUILD.reqwest.native.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ rust_library(
"@raze__native_tls__0_2_8//:native_tls",
"@raze__percent_encoding__2_1_0//:percent_encoding",
"@raze__pin_project_lite__0_2_8//:pin_project_lite",
"@raze__tokio__1_16_1//:tokio",
"@raze__tokio__1_17_0//:tokio",
"@raze__tokio_native_tls__0_3_0//:tokio_native_tls",
"@raze__tokio_socks__0_5_1//:tokio_socks",
],
Expand Down
2 changes: 1 addition & 1 deletion cargo/BUILD.reqwest.rustls.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ rust_library(
"@raze__pin_project_lite__0_2_8//:pin_project_lite",
"@raze__rustls__0_19_1//:rustls",
"@raze__rustls_native_certs__0_5_0//:rustls_native_certs",
"@raze__tokio__1_16_1//:tokio",
"@raze__tokio__1_17_0//:tokio",
"@raze__tokio_rustls__0_22_0//:tokio_rustls",
"@raze__tokio_socks__0_5_1//:tokio_socks",
"@raze__webpki_roots__0_21_1//:webpki_roots",
Expand Down
100 changes: 90 additions & 10 deletions cargo/crates.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1233,12 +1233,12 @@ def raze_fetch_remote_crates():

maybe(
http_archive,
name = "raze__mio__0_7_14",
url = "https://crates.io/api/v1/crates/mio/0.7.14/download",
name = "raze__mio__0_8_0",
url = "https://crates.io/api/v1/crates/mio/0.8.0/download",
type = "tar.gz",
sha256 = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc",
strip_prefix = "mio-0.7.14",
build_file = Label("//cargo/remote:BUILD.mio-0.7.14.bazel"),
sha256 = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2",
strip_prefix = "mio-0.8.0",
build_file = Label("//cargo/remote:BUILD.mio-0.8.0.bazel"),
)

maybe(
Expand Down Expand Up @@ -1431,6 +1431,16 @@ def raze_fetch_remote_crates():
build_file = Label("//cargo/remote:BUILD.parking_lot-0.11.2.bazel"),
)

maybe(
http_archive,
name = "raze__parking_lot__0_12_0",
url = "https://crates.io/api/v1/crates/parking_lot/0.12.0/download",
type = "tar.gz",
sha256 = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58",
strip_prefix = "parking_lot-0.12.0",
build_file = Label("//cargo/remote:BUILD.parking_lot-0.12.0.bazel"),
)

maybe(
http_archive,
name = "raze__parking_lot_core__0_8_5",
Expand All @@ -1441,6 +1451,16 @@ def raze_fetch_remote_crates():
build_file = Label("//cargo/remote:BUILD.parking_lot_core-0.8.5.bazel"),
)

maybe(
http_archive,
name = "raze__parking_lot_core__0_9_1",
url = "https://crates.io/api/v1/crates/parking_lot_core/0.9.1/download",
type = "tar.gz",
sha256 = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954",
strip_prefix = "parking_lot_core-0.9.1",
build_file = Label("//cargo/remote:BUILD.parking_lot_core-0.9.1.bazel"),
)

maybe(
http_archive,
name = "raze__paste__0_1_18",
Expand Down Expand Up @@ -2563,12 +2583,12 @@ def raze_fetch_remote_crates():

maybe(
http_archive,
name = "raze__tokio__1_16_1",
url = "https://crates.io/api/v1/crates/tokio/1.16.1/download",
name = "raze__tokio__1_17_0",
url = "https://crates.io/api/v1/crates/tokio/1.17.0/download",
type = "tar.gz",
sha256 = "0c27a64b625de6d309e8c57716ba93021dccf1b3b5c97edd6d3dd2d2135afc0a",
strip_prefix = "tokio-1.16.1",
build_file = Label("//cargo/remote:BUILD.tokio-1.16.1.bazel"),
sha256 = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee",
strip_prefix = "tokio-1.17.0",
build_file = Label("//cargo/remote:BUILD.tokio-1.17.0.bazel"),
)

maybe(
Expand Down Expand Up @@ -3121,6 +3141,66 @@ def raze_fetch_remote_crates():
build_file = Label("//cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
)

maybe(
http_archive,
name = "raze__windows_sys__0_32_0",
url = "https://crates.io/api/v1/crates/windows-sys/0.32.0/download",
type = "tar.gz",
sha256 = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6",
strip_prefix = "windows-sys-0.32.0",
build_file = Label("//cargo/remote:BUILD.windows-sys-0.32.0.bazel"),
)

maybe(
http_archive,
name = "raze__windows_aarch64_msvc__0_32_0",
url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.32.0/download",
type = "tar.gz",
sha256 = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5",
strip_prefix = "windows_aarch64_msvc-0.32.0",
build_file = Label("//cargo/remote:BUILD.windows_aarch64_msvc-0.32.0.bazel"),
)

maybe(
http_archive,
name = "raze__windows_i686_gnu__0_32_0",
url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.32.0/download",
type = "tar.gz",
sha256 = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615",
strip_prefix = "windows_i686_gnu-0.32.0",
build_file = Label("//cargo/remote:BUILD.windows_i686_gnu-0.32.0.bazel"),
)

maybe(
http_archive,
name = "raze__windows_i686_msvc__0_32_0",
url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.32.0/download",
type = "tar.gz",
sha256 = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172",
strip_prefix = "windows_i686_msvc-0.32.0",
build_file = Label("//cargo/remote:BUILD.windows_i686_msvc-0.32.0.bazel"),
)

maybe(
http_archive,
name = "raze__windows_x86_64_gnu__0_32_0",
url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.32.0/download",
type = "tar.gz",
sha256 = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc",
strip_prefix = "windows_x86_64_gnu-0.32.0",
build_file = Label("//cargo/remote:BUILD.windows_x86_64_gnu-0.32.0.bazel"),
)

maybe(
http_archive,
name = "raze__windows_x86_64_msvc__0_32_0",
url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.32.0/download",
type = "tar.gz",
sha256 = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316",
strip_prefix = "windows_x86_64_msvc-0.32.0",
build_file = Label("//cargo/remote:BUILD.windows_x86_64_msvc-0.32.0.bazel"),
)

maybe(
http_archive,
name = "raze__winreg__0_7_0",
Expand Down
Loading

0 comments on commit 2c80bcb

Please sign in to comment.