fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
5e6ad9f6
0.6.0
1""" 2@generated 3cargo-raze crate build file. 4 5DO NOT EDIT! Replaced on runs of cargo-raze 6""" 7 8# buildifier: disable=load 9load ( "@bazel_skylib//lib:selects.bzl" , "selects" ) 10 11# buildifier: disable=load 12load ( 13"@rules_rust//rust:defs.bzl" , 14"rust_binary" , 15"rust_library" , 16"rust_proc_macro" , 17"rust_test" , 18) 19 20package ( default_visibility = [ 21# Public for visibility by "@raze__crate__version//" targets. 22# 23# Prefer access through "//proto/raze", which limits external 24# visibility to explicit Cargo.toml dependencies. 25"//visibility:public" , 26]) 27 28licenses ([ 29"notice" , #MIT from expression "MIT" 30]) 31 32# Generated Targets 33 34rust_binary ( 35# Prefix bin name to disambiguate from (probable) collision with lib name 36# N.B.: The exact form of this is subject to change. 37name = "cargo_bin_protobuf_bin_gen_rust_do_not_use" , 38srcs = glob ([ "**/*.rs" ]), 39crate_features = [ 40], 41crate_root = "src/bin/protobuf-bin-gen-rust-do-not-use.rs" , 42data = [], 43edition = "2015" , 44rustc_flags = [ 45"--cap-lints=allow" , 46], 47tags = [ 48"cargo-raze" , 49"crate-name=protobuf-bin-gen-rust-do-not-use" , 50"manual" , 51], 52version = "2.8.2" , 53# buildifier: leave-alone 54deps = [ 55":protobuf_codegen" , 56"@rules_rust_proto__protobuf__2_8_2//:protobuf" , 57], 58) 59 60rust_binary ( 61# Prefix bin name to disambiguate from (probable) collision with lib name 62# N.B.: The exact form of this is subject to change. 63name = "cargo_bin_protoc_gen_rust" , 64srcs = glob ([ "**/*.rs" ]), 65crate_features = [ 66], 67crate_root = "src/bin/protoc-gen-rust.rs" , 68data = [], 69edition = "2015" , 70rustc_flags = [ 71"--cap-lints=allow" , 72], 73tags = [ 74"cargo-raze" , 75"crate-name=protoc-gen-rust" , 76"manual" , 77], 78version = "2.8.2" , 79# buildifier: leave-alone 80deps = [ 81":protobuf_codegen" , 82"@rules_rust_proto__protobuf__2_8_2//:protobuf" , 83], 84) 85 86rust_library ( 87name = "protobuf_codegen" , 88srcs = glob ([ "**/*.rs" ]), 89crate_features = [ 90], 91crate_root = "src/lib.rs" , 92data = [], 93edition = "2015" , 94rustc_flags = [ 95"--cap-lints=allow" , 96], 97tags = [ 98"cargo-raze" , 99"crate-name=protobuf-codegen" , 100"manual" , 101], 102version = "2.8.2" , 103# buildifier: leave-alone 104deps = [ 105"@rules_rust_proto__protobuf__2_8_2//:protobuf" , 106], 107)