Skip to content

Commit 2c80bcb

Browse files
committed
Update to latest rules_rust, which unblocks the tokio upgrade
Rust version has been pinned, as 1.59 gets stuck compiling pyo3_macros, and appears to have other issues: rust-lang/rust#94390
1 parent 29d17a8 commit 2c80bcb

38 files changed

+955
-56
lines changed

Cargo.lock

Lines changed: 75 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ alias(
482482

483483
alias(
484484
name = "tokio",
485-
actual = "@raze__tokio__1_16_1//:tokio",
485+
actual = "@raze__tokio__1_17_0//:tokio",
486486
tags = [
487487
"cargo-raze",
488488
"manual",

cargo/BUILD.reqwest.native.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ rust_library(
109109
"@raze__native_tls__0_2_8//:native_tls",
110110
"@raze__percent_encoding__2_1_0//:percent_encoding",
111111
"@raze__pin_project_lite__0_2_8//:pin_project_lite",
112-
"@raze__tokio__1_16_1//:tokio",
112+
"@raze__tokio__1_17_0//:tokio",
113113
"@raze__tokio_native_tls__0_3_0//:tokio_native_tls",
114114
"@raze__tokio_socks__0_5_1//:tokio_socks",
115115
],

cargo/BUILD.reqwest.rustls.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ rust_library(
112112
"@raze__pin_project_lite__0_2_8//:pin_project_lite",
113113
"@raze__rustls__0_19_1//:rustls",
114114
"@raze__rustls_native_certs__0_5_0//:rustls_native_certs",
115-
"@raze__tokio__1_16_1//:tokio",
115+
"@raze__tokio__1_17_0//:tokio",
116116
"@raze__tokio_rustls__0_22_0//:tokio_rustls",
117117
"@raze__tokio_socks__0_5_1//:tokio_socks",
118118
"@raze__webpki_roots__0_21_1//:webpki_roots",

cargo/crates.bzl

Lines changed: 90 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,12 +1233,12 @@ def raze_fetch_remote_crates():
12331233

12341234
maybe(
12351235
http_archive,
1236-
name = "raze__mio__0_7_14",
1237-
url = "https://crates.io/api/v1/crates/mio/0.7.14/download",
1236+
name = "raze__mio__0_8_0",
1237+
url = "https://crates.io/api/v1/crates/mio/0.8.0/download",
12381238
type = "tar.gz",
1239-
sha256 = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc",
1240-
strip_prefix = "mio-0.7.14",
1241-
build_file = Label("//cargo/remote:BUILD.mio-0.7.14.bazel"),
1239+
sha256 = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2",
1240+
strip_prefix = "mio-0.8.0",
1241+
build_file = Label("//cargo/remote:BUILD.mio-0.8.0.bazel"),
12421242
)
12431243

12441244
maybe(
@@ -1431,6 +1431,16 @@ def raze_fetch_remote_crates():
14311431
build_file = Label("//cargo/remote:BUILD.parking_lot-0.11.2.bazel"),
14321432
)
14331433

1434+
maybe(
1435+
http_archive,
1436+
name = "raze__parking_lot__0_12_0",
1437+
url = "https://crates.io/api/v1/crates/parking_lot/0.12.0/download",
1438+
type = "tar.gz",
1439+
sha256 = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58",
1440+
strip_prefix = "parking_lot-0.12.0",
1441+
build_file = Label("//cargo/remote:BUILD.parking_lot-0.12.0.bazel"),
1442+
)
1443+
14341444
maybe(
14351445
http_archive,
14361446
name = "raze__parking_lot_core__0_8_5",
@@ -1441,6 +1451,16 @@ def raze_fetch_remote_crates():
14411451
build_file = Label("//cargo/remote:BUILD.parking_lot_core-0.8.5.bazel"),
14421452
)
14431453

1454+
maybe(
1455+
http_archive,
1456+
name = "raze__parking_lot_core__0_9_1",
1457+
url = "https://crates.io/api/v1/crates/parking_lot_core/0.9.1/download",
1458+
type = "tar.gz",
1459+
sha256 = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954",
1460+
strip_prefix = "parking_lot_core-0.9.1",
1461+
build_file = Label("//cargo/remote:BUILD.parking_lot_core-0.9.1.bazel"),
1462+
)
1463+
14441464
maybe(
14451465
http_archive,
14461466
name = "raze__paste__0_1_18",
@@ -2563,12 +2583,12 @@ def raze_fetch_remote_crates():
25632583

25642584
maybe(
25652585
http_archive,
2566-
name = "raze__tokio__1_16_1",
2567-
url = "https://crates.io/api/v1/crates/tokio/1.16.1/download",
2586+
name = "raze__tokio__1_17_0",
2587+
url = "https://crates.io/api/v1/crates/tokio/1.17.0/download",
25682588
type = "tar.gz",
2569-
sha256 = "0c27a64b625de6d309e8c57716ba93021dccf1b3b5c97edd6d3dd2d2135afc0a",
2570-
strip_prefix = "tokio-1.16.1",
2571-
build_file = Label("//cargo/remote:BUILD.tokio-1.16.1.bazel"),
2589+
sha256 = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee",
2590+
strip_prefix = "tokio-1.17.0",
2591+
build_file = Label("//cargo/remote:BUILD.tokio-1.17.0.bazel"),
25722592
)
25732593

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

3144+
maybe(
3145+
http_archive,
3146+
name = "raze__windows_sys__0_32_0",
3147+
url = "https://crates.io/api/v1/crates/windows-sys/0.32.0/download",
3148+
type = "tar.gz",
3149+
sha256 = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6",
3150+
strip_prefix = "windows-sys-0.32.0",
3151+
build_file = Label("//cargo/remote:BUILD.windows-sys-0.32.0.bazel"),
3152+
)
3153+
3154+
maybe(
3155+
http_archive,
3156+
name = "raze__windows_aarch64_msvc__0_32_0",
3157+
url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.32.0/download",
3158+
type = "tar.gz",
3159+
sha256 = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5",
3160+
strip_prefix = "windows_aarch64_msvc-0.32.0",
3161+
build_file = Label("//cargo/remote:BUILD.windows_aarch64_msvc-0.32.0.bazel"),
3162+
)
3163+
3164+
maybe(
3165+
http_archive,
3166+
name = "raze__windows_i686_gnu__0_32_0",
3167+
url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.32.0/download",
3168+
type = "tar.gz",
3169+
sha256 = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615",
3170+
strip_prefix = "windows_i686_gnu-0.32.0",
3171+
build_file = Label("//cargo/remote:BUILD.windows_i686_gnu-0.32.0.bazel"),
3172+
)
3173+
3174+
maybe(
3175+
http_archive,
3176+
name = "raze__windows_i686_msvc__0_32_0",
3177+
url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.32.0/download",
3178+
type = "tar.gz",
3179+
sha256 = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172",
3180+
strip_prefix = "windows_i686_msvc-0.32.0",
3181+
build_file = Label("//cargo/remote:BUILD.windows_i686_msvc-0.32.0.bazel"),
3182+
)
3183+
3184+
maybe(
3185+
http_archive,
3186+
name = "raze__windows_x86_64_gnu__0_32_0",
3187+
url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.32.0/download",
3188+
type = "tar.gz",
3189+
sha256 = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc",
3190+
strip_prefix = "windows_x86_64_gnu-0.32.0",
3191+
build_file = Label("//cargo/remote:BUILD.windows_x86_64_gnu-0.32.0.bazel"),
3192+
)
3193+
3194+
maybe(
3195+
http_archive,
3196+
name = "raze__windows_x86_64_msvc__0_32_0",
3197+
url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.32.0/download",
3198+
type = "tar.gz",
3199+
sha256 = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316",
3200+
strip_prefix = "windows_x86_64_msvc-0.32.0",
3201+
build_file = Label("//cargo/remote:BUILD.windows_x86_64_msvc-0.32.0.bazel"),
3202+
)
3203+
31243204
maybe(
31253205
http_archive,
31263206
name = "raze__winreg__0_7_0",

0 commit comments

Comments
 (0)