1load("@rules_proto//proto:defs.bzl", "proto_library") 2load("@rules_rust//proto/protobuf:defs.bzl", "rust_grpc_library") 3load("@rules_rust//rust:defs.bzl", "rust_test") 4 5proto_library( 6 name = "helloworld", 7 srcs = ["helloworld.proto"], 8 tags = ["manual"], 9 deps = ["//proto:common"], 10) 11 12rust_grpc_library( 13 name = "libhelloworld_proto", 14 crate_name = "helloworld_proto", 15 tags = ["manual"], 16 visibility = ["//proto/helloworld:__subpackages__"], 17 deps = [":helloworld"], 18) 19 20rust_test( 21 name = "helloworld_test", 22 srcs = ["helloworld_test.rs"], 23 data = [ 24 "//proto/helloworld/greeter_client", 25 "//proto/helloworld/greeter_server", 26 ], 27 tags = ["manual"], 28 deps = ["@rules_rust//tools/runfiles"], 29) 30