Skip to content

Commit 3dacdad

Browse files
authored
Update protobuf dependencies (TraceMachina#493)
1 parent 96302cb commit 3dacdad

19 files changed

+457
-381
lines changed

Cargo.Bazel.lock

+194-146
Large diffs are not rendered by default.

Cargo.lock

+47-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ scopeguard = "1.2.0"
4040
serde_json5 = "0.1.0"
4141
tokio = { version = "1.35.0", features = ["rt-multi-thread", "signal"] }
4242
tokio-rustls = "0.24.1"
43-
tonic = { version = "0.9.2", features = ["gzip"] }
43+
tonic = { version = "0.10.2", features = ["gzip"] }
4444
tower = "0.4.13"
4545
tracing = "0.1.40"
4646
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }

WORKSPACE.bazel

+3-14
Original file line numberDiff line numberDiff line change
@@ -75,24 +75,13 @@ crate_repositories()
7575

7676
http_archive(
7777
name = "com_google_protobuf",
78-
sha256 = "a700a49470d301f1190a487a923b5095bf60f08f4ae4cac9f5f7c36883d17971",
79-
strip_prefix = "protobuf-23.4",
78+
sha256 = "9bd87b8280ef720d3240514f884e56a712f2218f0d693b48050c836028940a42",
79+
strip_prefix = "protobuf-25.1",
8080
urls = [
81-
"https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protobuf-23.4.tar.gz",
81+
"https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protobuf-25.1.tar.gz",
8282
],
8383
)
8484

8585
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
8686

87-
# The version of utf8_range provided by com_google_protobuf raises warnings
88-
# which have been cleaned up in this slightly newer commit.
89-
http_archive(
90-
name = "utf8_range",
91-
sha256 = "568988b5f7261ca181468dba38849fabf59dd9200fb2ed4b2823da187ef84d8c",
92-
strip_prefix = "utf8_range-d863bc33e15cba6d873c878dcca9e6fe52b2f8cb",
93-
urls = [
94-
"https://github.com/protocolbuffers/utf8_range/archive/d863bc33e15cba6d873c878dcca9e6fe52b2f8cb.zip",
95-
],
96-
)
97-
9887
protobuf_deps()

nativelink-error/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ autobenches = false
1111
nativelink-proto = { path = "../nativelink-proto" }
1212

1313
hex = "0.4.3"
14-
prost = "0.11.9"
15-
prost-types = "0.11.9"
14+
prost = "0.12.3"
15+
prost-types = "0.12.3"
1616
tokio = { version = "1.35.0" }
17-
tonic = { version = "0.9.2", features = ["gzip"] }
17+
tonic = { version = "0.10.2", features = ["gzip"] }

nativelink-proto/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ path = "genproto/lib.rs"
1919
doctest = false
2020

2121
[dependencies]
22-
prost = "0.11.9"
23-
prost-types = "0.11.9"
24-
tonic = { version = "0.9.2", features = ["gzip"] }
22+
prost = "0.12.3"
23+
prost-types = "0.12.3"
24+
tonic = { version = "0.10.2", features = ["gzip"] }
2525

2626
[dev-dependencies]
27-
prost-build = "0.11.9"
28-
tonic-build = "0.9.2"
27+
prost-build = "0.12.3"
28+
tonic-build = "0.10.2"

0 commit comments

Comments
 (0)