fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
d974e0ea
rust-analyzer
1load ( "@rules_proto//proto:defs.bzl" , "proto_library" ) 2load ( "@rules_rust//proto:proto.bzl" , "rust_grpc_library" ) 3load ( "@rules_rust//rust:defs.bzl" , "rust_test" ) 4 5proto_library ( 6name = "helloworld" , 7srcs = [ "helloworld.proto" ], 8deps = [ "//proto:common" ], 9) 10 11rust_grpc_library ( 12name = "helloworld_proto" , 13visibility = [ "//proto/helloworld:__subpackages__" ], 14deps = [ ":helloworld" ], 15) 16 17rust_test ( 18name = "helloworld_test" , 19srcs = [ "helloworld_test.rs" ], 20data = [ 21"//proto/helloworld/greeter_client" , 22"//proto/helloworld/greeter_server" , 23], 24deps = [ "@rules_rust//tools/runfiles" ], 25)