fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

Marcel HlopkoMigrate rules_rust examples to defs.bzl and smaller rules (#986)d974e0ea

0.6.0
335 B11 linesraw
1load("@rules_rust//proto:toolchain.bzl", "GRPC_COMPILE_DEPS")
2load("@rules_rust//rust:defs.bzl", "rust_binary")
3
4rust_binary(
5    name = "greeter_server",
6    srcs = ["greeter_server.rs"],
7    visibility = ["//proto/helloworld:__subpackages__"],
8    deps = [
9        "//proto/helloworld:helloworld_proto",
10    ] + GRPC_COMPILE_DEPS,
11)