fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
76360dd3
0.11.0
1load ( "@bazel_skylib//:bzl_library.bzl" , "bzl_library" ) 2load ( "//rust:defs.bzl" , "rust_binary" ) 3load ( ":toolchain.bzl" , "rust_proto_toolchain" ) 4 5package ( default_visibility = [ "//visibility:public" ]) 6 7alias ( 8name = "protoc_gen_rust" , 9actual = "//proto/3rdparty/crates:protobuf-codegen__protoc-gen-rust" , 10) 11 12alias ( 13name = "protoc_gen_rust_grpc" , 14actual = "//proto/3rdparty/crates:grpc-compiler__protoc-gen-rust-grpc" , 15) 16 17toolchain_type ( 18name = "toolchain_type" , 19) 20 21alias ( 22name = "toolchain" , 23actual = "toolchain_type" , 24deprecation = "instead use `@rules_rust//proto:toolchain_type`" , 25tags = [ "manual" ], 26) 27 28rust_binary ( 29name = "optional_output_wrapper" , 30srcs = [ "optional_output_wrapper.rs" ], 31edition = "2018" , 32visibility = [ "//visibility:public" ], 33) 34 35toolchain ( 36name = "default-proto-toolchain" , 37toolchain = ":default-proto-toolchain-impl" , 38toolchain_type = "@rules_rust//proto:toolchain_type" , 39) 40 41rust_proto_toolchain ( 42name = "default-proto-toolchain-impl" , 43edition = "2018" , 44) 45 46bzl_library ( 47name = "bzl_lib" , 48srcs = glob ([ "**/*.bzl" ]), 49deps = [ 50"//proto/3rdparty:bzl_lib" , 51], 52)