blob: f61d6c1649d92a96122e491a11b50313db424eee [file] [log] [blame]
load("@rules_proto//proto:defs.bzl", "proto_library")
load("@rules_rust//proto:proto.bzl", "rust_grpc_library")
load("@rules_rust//rust:defs.bzl", "rust_test")
proto_library(
name = "helloworld",
srcs = ["helloworld.proto"],
tags = ["manual"],
deps = ["//proto:common"],
)
rust_grpc_library(
name = "helloworld_proto",
tags = ["manual"],
visibility = ["//proto/helloworld:__subpackages__"],
deps = [":helloworld"],
)
rust_test(
name = "helloworld_test",
srcs = ["helloworld_test.rs"],
data = [
"//proto/helloworld/greeter_client",
"//proto/helloworld/greeter_server",
],
tags = ["manual"],
deps = ["@rules_rust//tools/runfiles"],
)