File tree Expand file tree Collapse file tree 3 files changed +20
-20
lines changed Expand file tree Collapse file tree 3 files changed +20
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11load ("@platforms//host:constraints.bzl" , "HOST_CONSTRAINTS" )
2+ load ("@rules_rust//rust:defs.bzl" , "rust_library_group" )
23load ("@rules_uv//uv:pip.bzl" , "pip_compile" )
34
5+ package (default_visibility = ["//tools/toolchains:__pkg__" ])
6+
7+ rust_library_group (
8+ name = "prost_runtime" ,
9+ deps = [
10+ "@crates//:prost" ,
11+ ],
12+ )
13+
14+ rust_library_group (
15+ name = "tonic_runtime" ,
16+ deps = [
17+ ":prost_runtime" ,
18+ "@crates//:tonic" ,
19+ ],
20+ )
21+
422pip_compile (
523 name = "generate_requirements_txt" ,
624 requirements_in = "requirements.in" ,
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ proto_lang_toolchain(
2323rust_prost_toolchain (
2424 name = "prost_toolchain_impl" ,
2525 prost_plugin = "@crates//:protoc-gen-prost__protoc-gen-prost" ,
26- prost_runtime = "//rust :prost_runtime" ,
26+ prost_runtime = "//tools :prost_runtime" ,
2727 prost_types = "@crates//:prost-types" ,
2828 tonic_plugin = "@crates//:protoc-gen-tonic__protoc-gen-tonic" ,
29- tonic_runtime = "//rust :tonic_runtime" ,
29+ tonic_runtime = "//tools :tonic_runtime" ,
3030)
3131
3232toolchain (
You can’t perform that action at this time.
0 commit comments