Skip to content

Commit

Permalink
Update Prost (proto) dependencies to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre committed Aug 25, 2024
1 parent b4ccc97 commit 403a5eb
Show file tree
Hide file tree
Showing 151 changed files with 5,228 additions and 4,519 deletions.
12 changes: 6 additions & 6 deletions examples/bzlmod/proto/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -83,25 +83,25 @@ crate = use_extension("@rules_rust//crate_universe:extension.bzl", "crate")
# protobuf / gRPC dependencies
crate.spec(
package = "prost",
version = "0.12",
version = "0.13.1",
)
crate.spec(
default_features = False,
package = "prost-types",
version = "0.12",
version = "0.13.1",
)
crate.spec(
features = ["transport"],
package = "tonic",
version = "0.11",
version = "0.12.1",
)
crate.spec(
package = "tonic-build",
version = "0.11",
version = "0.12.1",
)
crate.spec(
package = "protoc-gen-prost",
version = "0.3.1",
version = "0.4.0",
)
crate.annotation(
crate = "protoc-gen-prost",
Expand All @@ -127,7 +127,7 @@ crate.spec(
"signal",
],
package = "tokio",
version = "1.38",
version = "1.39.3",
)
crate.from_specs()
use_repo(crate, "crates")
24 changes: 8 additions & 16 deletions proto/prost/private/3rdparty/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ crates_vendor(
annotations = {
"protoc-gen-prost": [crate.annotation(
gen_binaries = ["protoc-gen-prost"],
patch_args = [
"-p1",
],
patches = [
# This patch is needed to handle duplicate package names.
# See: https://github.com/neoeinstein/protoc-gen-prost/issues/70
"@rules_rust//proto/prost/private/3rdparty/patches:protoc-gen-prost.patch",
],
)],
"protoc-gen-tonic": [crate.annotation(
gen_binaries = ["protoc-gen-tonic"],
Expand All @@ -23,29 +15,29 @@ crates_vendor(
mode = "remote",
packages = {
"h2": crate.spec(
version = "0.3.19",
version = "0.4.6",
),
"prost": crate.spec(
version = "0.11.9",
version = "0.13.1",
),
"prost-types": crate.spec(
version = "0.11.9",
version = "0.13.1",
),
"protoc-gen-prost": crate.spec(
version = "0.2.2",
version = "0.4.0",
),
"protoc-gen-tonic": crate.spec(
version = "0.2.2",
version = "0.4.0",
),
"tokio": crate.spec(
features = ["full"],
version = "1.28.2",
version = "1.39.3",
),
"tokio-stream": crate.spec(
version = "0.1.14",
version = "0.1.15",
),
"tonic": crate.spec(
version = "0.9.2",
version = "0.12.1",
),
},
repository_name = "rules_rust_prost",
Expand Down
20 changes: 0 additions & 20 deletions proto/prost/private/3rdparty/BUILD.heck.bazel

This file was deleted.

Loading

0 comments on commit 403a5eb

Please sign in to comment.