Skip to content

Commit fb9d0e0

Browse files
authored
[nfc] update rust deps (#5358)
1 parent 4f1b9a0 commit fb9d0e0

File tree

6 files changed

+156
-0
lines changed

6 files changed

+156
-0
lines changed

deps/rust/Cargo.lock

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

deps/rust/cargo.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ PACKAGES = WORKERD_CXX_PACKAGES | {
1313
"async-trait": crate.spec(version = "0", default_features = False),
1414
"capnp": crate.spec(version = "0"),
1515
"capnpc": crate.spec(version = "0"),
16+
"capnp-rpc": crate.spec(version = "0"),
1617
"clang-ast": crate.spec(version = "0"),
1718
"clap": crate.spec(version = "4", default_features = False, features = ["derive", "std", "help"]),
1819
"codespan-reporting": crate.spec(version = "0.12.0"),

deps/rust/crates/BUILD.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,18 @@ alias(
7979
tags = ["manual"],
8080
)
8181

82+
alias(
83+
name = "capnp-rpc-0.21.0",
84+
actual = "@crates_vendor__capnp-rpc-0.21.0//:capnp_rpc",
85+
tags = ["manual"],
86+
)
87+
88+
alias(
89+
name = "capnp-rpc",
90+
actual = "@crates_vendor__capnp-rpc-0.21.0//:capnp_rpc",
91+
tags = ["manual"],
92+
)
93+
8294
alias(
8395
name = "capnpc-0.21.4",
8496
actual = "@crates_vendor__capnpc-0.21.4//:capnpc",
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
###############################################################################
2+
# @generated
3+
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4+
# regenerate this file, run the following:
5+
#
6+
# bazel run @@//deps/rust:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//rust:defs.bzl", "rust_library")
10+
11+
package(default_visibility = ["//visibility:public"])
12+
13+
rust_library(
14+
name = "capnp_futures",
15+
srcs = glob(
16+
include = ["**/*.rs"],
17+
allow_empty = True,
18+
),
19+
compile_data = glob(
20+
include = ["**"],
21+
allow_empty = True,
22+
exclude = [
23+
"**/* *",
24+
".tmp_git_root/**/*",
25+
"BUILD",
26+
"BUILD.bazel",
27+
"WORKSPACE",
28+
"WORKSPACE.bazel",
29+
],
30+
),
31+
crate_root = "src/lib.rs",
32+
edition = "2021",
33+
rustc_flags = [
34+
"--cap-lints=allow",
35+
],
36+
tags = [
37+
"cargo-bazel",
38+
"crate-name=capnp-futures",
39+
"manual",
40+
"noclippy",
41+
"norustfmt",
42+
],
43+
version = "0.21.0",
44+
deps = [
45+
"@crates_vendor__capnp-0.21.7//:capnp",
46+
"@crates_vendor__futures-channel-0.3.31//:futures_channel",
47+
"@crates_vendor__futures-util-0.3.31//:futures_util",
48+
],
49+
)
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
###############################################################################
2+
# @generated
3+
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4+
# regenerate this file, run the following:
5+
#
6+
# bazel run @@//deps/rust:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//rust:defs.bzl", "rust_library")
10+
11+
package(default_visibility = ["//visibility:public"])
12+
13+
rust_library(
14+
name = "capnp_rpc",
15+
srcs = glob(
16+
include = ["**/*.rs"],
17+
allow_empty = True,
18+
),
19+
compile_data = glob(
20+
include = ["**"],
21+
allow_empty = True,
22+
exclude = [
23+
"**/* *",
24+
".tmp_git_root/**/*",
25+
"BUILD",
26+
"BUILD.bazel",
27+
"WORKSPACE",
28+
"WORKSPACE.bazel",
29+
],
30+
),
31+
crate_root = "src/lib.rs",
32+
edition = "2021",
33+
rustc_flags = [
34+
"--cap-lints=allow",
35+
],
36+
tags = [
37+
"cargo-bazel",
38+
"crate-name=capnp-rpc",
39+
"manual",
40+
"noclippy",
41+
"norustfmt",
42+
],
43+
version = "0.21.0",
44+
deps = [
45+
"@crates_vendor__capnp-0.21.7//:capnp",
46+
"@crates_vendor__capnp-futures-0.21.0//:capnp_futures",
47+
"@crates_vendor__futures-0.3.31//:futures",
48+
],
49+
)

deps/rust/crates/defs.bzl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ _NORMAL_DEPENDENCIES = {
299299
"ada-url": Label("@crates_vendor//:ada-url-3.3.0"),
300300
"anyhow": Label("@crates_vendor//:anyhow-1.0.100"),
301301
"capnp": Label("@crates_vendor//:capnp-0.21.7"),
302+
"capnp-rpc": Label("@crates_vendor//:capnp-rpc-0.21.0"),
302303
"capnpc": Label("@crates_vendor//:capnpc-0.21.4"),
303304
"cc": Label("@crates_vendor//:cc-1.2.41"),
304305
"clang-ast": Label("@crates_vendor//:clang-ast-0.1.35"),
@@ -678,6 +679,26 @@ def crate_repositories():
678679
build_file = Label("//deps/rust/crates:BUILD.capnp-0.21.7.bazel"),
679680
)
680681

682+
maybe(
683+
http_archive,
684+
name = "crates_vendor__capnp-futures-0.21.0",
685+
sha256 = "d04478adeb234836f886ec554a0d96e3af3a939ba7b3962af5addddf7ab71231",
686+
type = "tar.gz",
687+
urls = ["https://static.crates.io/crates/capnp-futures/0.21.0/download"],
688+
strip_prefix = "capnp-futures-0.21.0",
689+
build_file = Label("//deps/rust/crates:BUILD.capnp-futures-0.21.0.bazel"),
690+
)
691+
692+
maybe(
693+
http_archive,
694+
name = "crates_vendor__capnp-rpc-0.21.0",
695+
sha256 = "85e9c19ef52ff1b9c9822fb21bfa68a72bc58711676295ff06eb88e64c7877f7",
696+
type = "tar.gz",
697+
urls = ["https://static.crates.io/crates/capnp-rpc/0.21.0/download"],
698+
strip_prefix = "capnp-rpc-0.21.0",
699+
build_file = Label("//deps/rust/crates:BUILD.capnp-rpc-0.21.0.bazel"),
700+
)
701+
681702
maybe(
682703
http_archive,
683704
name = "crates_vendor__capnpc-0.21.4",
@@ -3152,6 +3173,7 @@ def crate_repositories():
31523173
struct(repo = "crates_vendor__anyhow-1.0.100", is_dev_dep = False),
31533174
struct(repo = "crates_vendor__async-trait-0.1.89", is_dev_dep = False),
31543175
struct(repo = "crates_vendor__capnp-0.21.7", is_dev_dep = False),
3176+
struct(repo = "crates_vendor__capnp-rpc-0.21.0", is_dev_dep = False),
31553177
struct(repo = "crates_vendor__capnpc-0.21.4", is_dev_dep = False),
31563178
struct(repo = "crates_vendor__cc-1.2.41", is_dev_dep = False),
31573179
struct(repo = "crates_vendor__clang-ast-0.1.35", is_dev_dep = False),

0 commit comments

Comments
 (0)