fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
d5505c81
patching
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 ( 6name = "helloworld" , 7srcs = [ "helloworld.proto" ], 8tags = [ "manual" ], 9deps = [ "//proto:common" ], 10) 11 12rust_grpc_library ( 13name = "libhelloworld_proto" , 14crate_name = "helloworld_proto" , 15tags = [ "manual" ], 16visibility = [ "//proto/helloworld:__subpackages__" ], 17deps = [ ":helloworld" ], 18) 19 20rust_test ( 21name = "helloworld_test" , 22srcs = [ "helloworld_test.rs" ], 23data = [ 24"//proto/helloworld/greeter_client" , 25"//proto/helloworld/greeter_server" , 26], 27tags = [ "manual" ], 28deps = [ "@rules_rust//tools/runfiles" ], 29)