fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
83a03ab0
0.9.0
1############################################################################### 2# @generated 3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To 4# regenerate this file, run the following: 5# 6# bazel run //proto/3rdparty:crates_vendor 7############################################################################### 8 9load ( 10"@bazel_skylib//lib:selects.bzl" , 11"selects" , 12) 13 14# buildifier: disable=bzl-visibility 15load ( "@rules_rust//crate_universe/private:selects.bzl" , "select_with_or" ) 16load ( 17"@rules_rust//rust:defs.bzl" , 18"rust_binary" , 19"rust_library" , 20) 21 22package ( default_visibility = [ "//visibility:public" ]) 23 24# licenses([ 25# "TODO", # MIT 26# ]) 27 28rust_library ( 29name = "protobuf_codegen" , 30srcs = glob ( 31include = [ 32"**/*.rs" , 33], 34exclude = [ 35], 36), 37aliases = selects . with_or ({ 38"//conditions:default" : { 39}, 40}), 41compile_data = glob ( 42include = [ "**" ], 43exclude = [ 44"BUILD" , 45"BUILD.bazel" , 46"WORKSPACE" , 47"WORKSPACE.bazel" , 48], 49) + select_with_or ({ 50"//conditions:default" : [ 51], 52}), 53crate_features = [ 54], 55crate_root = "src/lib.rs" , 56data = select_with_or ({ 57"//conditions:default" : [ 58], 59}), 60edition = "2015" , 61proc_macro_deps = [ 62] + select_with_or ({ 63"//conditions:default" : [ 64], 65}), 66rustc_env = { 67}, 68rustc_env_files = select_with_or ({ 69"//conditions:default" : [ 70], 71}), 72rustc_flags = [ 73# In most cases, warnings in 3rd party crates are not interesting as 74# they're out of the control of consumers. The flag here silences 75# warnings. For more details see: 76# https://doc.rust-lang.org/rustc/lints/levels.html 77"--cap-lints=allow" , 78], 79tags = [ 80"cargo-bazel" , 81"manual" , 82"noclippy" , 83"norustfmt" , 84], 85version = "2.8.2" , 86deps = [ 87] + select_with_or ({ 88"//conditions:default" : [ 89"@rules_rust_proto__protobuf-2.8.2//:protobuf" , 90], 91}), 92) 93 94rust_binary ( 95name = "protoc-gen-rust__bin" , 96srcs = glob ( 97include = [ 98"**/*.rs" , 99], 100exclude = [ 101], 102), 103aliases = selects . with_or ({ 104"//conditions:default" : { 105}, 106}), 107compile_data = glob ( 108include = [ "**" ], 109exclude = [ 110"BUILD" , 111"BUILD.bazel" , 112"WORKSPACE" , 113"WORKSPACE.bazel" , 114], 115) + select_with_or ({ 116"//conditions:default" : [ 117], 118}), 119crate_features = [ 120], 121crate_root = "src/bin/protoc-gen-rust.rs" , 122data = select_with_or ({ 123"//conditions:default" : [ 124], 125}), 126edition = "2015" , 127proc_macro_deps = [ 128] + select_with_or ({ 129"//conditions:default" : [ 130], 131}), 132rustc_env = { 133}, 134rustc_env_files = select_with_or ({ 135"//conditions:default" : [ 136], 137}), 138rustc_flags = [ 139# In most cases, warnings in 3rd party crates are not interesting as 140# they're out of the control of consumers. The flag here silences 141# warnings. For more details see: 142# https://doc.rust-lang.org/rustc/lints/levels.html 143"--cap-lints=allow" , 144], 145tags = [ 146"cargo-bazel" , 147"manual" , 148"noclippy" , 149"norustfmt" , 150], 151version = "2.8.2" , 152deps = [ 153":protobuf_codegen" , 154] + select_with_or ({ 155"//conditions:default" : [ 156"@rules_rust_proto__protobuf-2.8.2//:protobuf" , 157], 158}), 159) 160 161rust_binary ( 162name = "protobuf-bin-gen-rust-do-not-use__bin" , 163srcs = glob ( 164include = [ 165"**/*.rs" , 166], 167exclude = [ 168], 169), 170aliases = selects . with_or ({ 171"//conditions:default" : { 172}, 173}), 174compile_data = glob ( 175include = [ "**" ], 176exclude = [ 177"BUILD" , 178"BUILD.bazel" , 179"WORKSPACE" , 180"WORKSPACE.bazel" , 181], 182) + select_with_or ({ 183"//conditions:default" : [ 184], 185}), 186crate_features = [ 187], 188crate_root = "src/bin/protobuf-bin-gen-rust-do-not-use.rs" , 189data = select_with_or ({ 190"//conditions:default" : [ 191], 192}), 193edition = "2015" , 194proc_macro_deps = [ 195] + select_with_or ({ 196"//conditions:default" : [ 197], 198}), 199rustc_env = { 200}, 201rustc_env_files = select_with_or ({ 202"//conditions:default" : [ 203], 204}), 205rustc_flags = [ 206# In most cases, warnings in 3rd party crates are not interesting as 207# they're out of the control of consumers. The flag here silences 208# warnings. For more details see: 209# https://doc.rust-lang.org/rustc/lints/levels.html 210"--cap-lints=allow" , 211], 212tags = [ 213"cargo-bazel" , 214"manual" , 215"noclippy" , 216"norustfmt" , 217], 218version = "2.8.2" , 219deps = [ 220":protobuf_codegen" , 221] + select_with_or ({ 222"//conditions:default" : [ 223"@rules_rust_proto__protobuf-2.8.2//:protobuf" , 224], 225}), 226)