You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aid="rust_grpc_library-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
534
533
| <aid="rust_grpc_library-deps"></a>deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding gRPC stubs. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | required ||
535
-
| <aid="rust_grpc_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[Label("//proto/raze:protobuf"), Label("//proto/raze:grpc"), Label("//proto/raze:tls_api"), Label("//proto/raze:tls_api_stub")]|
534
+
| <aid="rust_grpc_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
| <aid="rust_proto_library-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
711
709
| <aid="rust_proto_library-deps"></a>deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding stubs. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | required ||
712
-
| <aid="rust_proto_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[Label("//proto/raze:protobuf")]|
710
+
| <aid="rust_proto_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
| <aid="rust_proto_toolchain-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
763
762
| <aid="rust_proto_toolchain-edition"></a>edition | The edition used by the generated rust source. | String | optional | "2015" |
763
+
| <aid="rust_proto_toolchain-grpc_compile_deps"></a>grpc_compile_deps | The crates the generated grpc libraries depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[Label("//proto/raze:protobuf"), Label("//proto/raze:grpc"), Label("//proto/raze:tls_api"), Label("//proto/raze:tls_api_stub")]|
764
764
| <aid="rust_proto_toolchain-grpc_plugin"></a>grpc_plugin | The location of the Rust protobuf compiler plugin to generate rust gRPC stubs. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | //proto:protoc_gen_rust_grpc|
765
+
| <aid="rust_proto_toolchain-proto_compile_deps"></a>proto_compile_deps | The crates the generated protobuf libraries depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[Label("//proto/raze:protobuf")]|
765
766
| <aid="rust_proto_toolchain-proto_plugin"></a>proto_plugin | The location of the Rust protobuf compiler plugin used to generate rust sources. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | //proto:protoc_gen_rust|
766
767
| <aid="rust_proto_toolchain-protoc"></a>protoc | The location of the <code>protoc</code> binary. It should be an executable target. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | @com_google_protobuf//:protoc|
767
768
@@ -1362,11 +1363,17 @@ Declare dependencies needed for bindgen.
| <aid="rust_proto_repositories-register_default_toolchain"></a>register_default_toolchain | If True, the default [rust_proto_toolchain](#rust_proto_toolchain) (<code>@rules_rust//proto:default-proto-toolchain</code>) is registered. This toolchain requires a set of dependencies that were generated using [cargo raze](https://github.com/google/cargo-raze). These will also be loaded. | <code>True</code> |
| <aid="rust_grpc_library-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
47
46
| <aid="rust_grpc_library-deps"></a>deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding gRPC stubs. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | required ||
48
-
| <aid="rust_grpc_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[Label("//proto/raze:protobuf"), Label("//proto/raze:grpc"), Label("//proto/raze:tls_api"), Label("//proto/raze:tls_api_stub")]|
47
+
| <aid="rust_grpc_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
| <aid="rust_proto_library-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
91
89
| <aid="rust_proto_library-deps"></a>deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding stubs. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | required ||
92
-
| <aid="rust_proto_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[Label("//proto/raze:protobuf")]|
90
+
| <aid="rust_proto_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
| <aid="rust_proto_toolchain-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
143
142
| <aid="rust_proto_toolchain-edition"></a>edition | The edition used by the generated rust source. | String | optional | "2015" |
143
+
| <aid="rust_proto_toolchain-grpc_compile_deps"></a>grpc_compile_deps | The crates the generated grpc libraries depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[Label("//proto/raze:protobuf"), Label("//proto/raze:grpc"), Label("//proto/raze:tls_api"), Label("//proto/raze:tls_api_stub")]|
144
144
| <aid="rust_proto_toolchain-grpc_plugin"></a>grpc_plugin | The location of the Rust protobuf compiler plugin to generate rust gRPC stubs. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | //proto:protoc_gen_rust_grpc|
145
+
| <aid="rust_proto_toolchain-proto_compile_deps"></a>proto_compile_deps | The crates the generated protobuf libraries depends on. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[Label("//proto/raze:protobuf")]|
145
146
| <aid="rust_proto_toolchain-proto_plugin"></a>proto_plugin | The location of the Rust protobuf compiler plugin used to generate rust sources. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | //proto:protoc_gen_rust|
146
147
| <aid="rust_proto_toolchain-protoc"></a>protoc | The location of the <code>protoc</code> binary. It should be an executable target. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | @com_google_protobuf//:protoc|
147
148
@@ -151,10 +152,16 @@ See @rules_rust//proto:BUILD for examples of defining the toolchain.
| <aid="rust_proto_repositories-register_default_toolchain"></a>register_default_toolchain | If True, the default [rust_proto_toolchain](#rust_proto_toolchain) (<code>@rules_rust//proto:default-proto-toolchain</code>) is registered. This toolchain requires a set of dependencies that were generated using [cargo raze](https://github.com/google/cargo-raze). These will also be loaded. | <code>True</code> |
0 commit comments