fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
25baabc2
0.11.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 //bindgen/3rdparty:crates_vendor 7############################################################################### 8 9load ( 10"@bazel_skylib//lib:selects.bzl" , 11"selects" , 12) 13load ( 14"@rules_rust//cargo:defs.bzl" , 15"cargo_build_script" , 16) 17 18# buildifier: disable=bzl-visibility 19load ( "@rules_rust//crate_universe/private:selects.bzl" , "select_with_or" ) 20load ( 21"@rules_rust//rust:defs.bzl" , 22"rust_binary" , 23"rust_library" , 24) 25 26package ( default_visibility = [ "//visibility:public" ]) 27 28# licenses([ 29# "TODO", # BSD-3-Clause 30# ]) 31 32rust_library ( 33name = "bindgen" , 34srcs = glob ( 35include = [ 36"**/*.rs" , 37], 38exclude = [ 39], 40), 41aliases = selects . with_or ({ 42"//conditions:default" : { 43}, 44}), 45compile_data = glob ( 46include = [ "**" ], 47exclude = [ 48"BUILD" , 49"BUILD.bazel" , 50"WORKSPACE" , 51"WORKSPACE.bazel" , 52], 53) + select_with_or ({ 54"//conditions:default" : [ 55], 56}), 57crate_features = [ 58"clap" , 59"default" , 60"env_logger" , 61"log" , 62"logging" , 63"runtime" , 64"which" , 65"which-rustfmt" , 66], 67crate_root = "src/lib.rs" , 68data = select_with_or ({ 69"//conditions:default" : [ 70], 71}), 72edition = "2018" , 73proc_macro_deps = [ 74] + select_with_or ({ 75"//conditions:default" : [ 76], 77}), 78rustc_env = { 79}, 80rustc_env_files = select_with_or ({ 81"//conditions:default" : [ 82], 83}), 84rustc_flags = [ 85# In most cases, warnings in 3rd party crates are not interesting as 86# they're out of the control of consumers. The flag here silences 87# warnings. For more details see: 88# https://doc.rust-lang.org/rustc/lints/levels.html 89"--cap-lints=allow" , 90], 91tags = [ 92"cargo-bazel" , 93"manual" , 94"noclippy" , 95"norustfmt" , 96], 97version = "0.60.1" , 98deps = [ 99] + select_with_or ({ 100"//conditions:default" : [ 101"@rules_rust_bindgen__bindgen-0.60.1//:build_script_build" , 102"@rules_rust_bindgen__bitflags-1.3.2//:bitflags" , 103"@rules_rust_bindgen__cexpr-0.6.0//:cexpr" , 104"@rules_rust_bindgen__clang-sys-1.3.3//:clang_sys" , 105"@rules_rust_bindgen__clap-3.2.12//:clap" , 106"@rules_rust_bindgen__env_logger-0.9.0//:env_logger" , 107"@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static" , 108"@rules_rust_bindgen__lazycell-1.3.0//:lazycell" , 109"@rules_rust_bindgen__log-0.4.17//:log" , 110"@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while" , 111"@rules_rust_bindgen__proc-macro2-1.0.40//:proc_macro2" , 112"@rules_rust_bindgen__quote-1.0.20//:quote" , 113"@rules_rust_bindgen__regex-1.6.0//:regex" , 114"@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash" , 115"@rules_rust_bindgen__shlex-1.1.0//:shlex" , 116"@rules_rust_bindgen__which-4.2.5//:which" , 117], 118}), 119) 120 121rust_binary ( 122name = "bindgen__bin" , 123srcs = glob ( 124include = [ 125"**/*.rs" , 126], 127exclude = [ 128], 129), 130aliases = selects . with_or ({ 131"//conditions:default" : { 132}, 133}), 134compile_data = glob ( 135include = [ "**" ], 136exclude = [ 137"BUILD" , 138"BUILD.bazel" , 139"WORKSPACE" , 140"WORKSPACE.bazel" , 141], 142) + select_with_or ({ 143"//conditions:default" : [ 144], 145}), 146crate_features = [ 147"clap" , 148"default" , 149"env_logger" , 150"log" , 151"logging" , 152"runtime" , 153"which" , 154"which-rustfmt" , 155], 156crate_root = "src/main.rs" , 157data = select_with_or ({ 158"//conditions:default" : [ 159], 160}), 161edition = "2018" , 162proc_macro_deps = [ 163] + select_with_or ({ 164"//conditions:default" : [ 165], 166}), 167rustc_env = { 168}, 169rustc_env_files = select_with_or ({ 170"//conditions:default" : [ 171], 172}), 173rustc_flags = [ 174# In most cases, warnings in 3rd party crates are not interesting as 175# they're out of the control of consumers. The flag here silences 176# warnings. For more details see: 177# https://doc.rust-lang.org/rustc/lints/levels.html 178"--cap-lints=allow" , 179], 180tags = [ 181"cargo-bazel" , 182"manual" , 183"noclippy" , 184"norustfmt" , 185], 186version = "0.60.1" , 187deps = [ 188":bindgen" , 189] + select_with_or ({ 190"//conditions:default" : [ 191"@rules_rust_bindgen__bindgen-0.60.1//:build_script_build" , 192"@rules_rust_bindgen__bitflags-1.3.2//:bitflags" , 193"@rules_rust_bindgen__cexpr-0.6.0//:cexpr" , 194"@rules_rust_bindgen__clang-sys-1.3.3//:clang_sys" , 195"@rules_rust_bindgen__clap-3.2.12//:clap" , 196"@rules_rust_bindgen__env_logger-0.9.0//:env_logger" , 197"@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static" , 198"@rules_rust_bindgen__lazycell-1.3.0//:lazycell" , 199"@rules_rust_bindgen__log-0.4.17//:log" , 200"@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while" , 201"@rules_rust_bindgen__proc-macro2-1.0.40//:proc_macro2" , 202"@rules_rust_bindgen__quote-1.0.20//:quote" , 203"@rules_rust_bindgen__regex-1.6.0//:regex" , 204"@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash" , 205"@rules_rust_bindgen__shlex-1.1.0//:shlex" , 206"@rules_rust_bindgen__which-4.2.5//:which" , 207], 208}), 209) 210 211cargo_build_script ( 212# See comment associated with alias. Do not change this name 213name = "bindgen_build_script" , 214srcs = glob ( 215include = [ 216"**/*.rs" , 217], 218exclude = [ 219], 220), 221aliases = selects . with_or ({ 222"//conditions:default" : { 223}, 224}), 225build_script_env = { 226}, 227compile_data = select_with_or ({ 228"//conditions:default" : [ 229], 230}), 231crate_features = [ 232"clap" , 233"default" , 234"env_logger" , 235"log" , 236"logging" , 237"runtime" , 238"which" , 239"which-rustfmt" , 240], 241crate_name = "build_script_build" , 242crate_root = "build.rs" , 243data = glob ([ "**" ]) + select_with_or ({ 244"//conditions:default" : [ 245], 246}), 247edition = "2018" , 248proc_macro_deps = [ 249] + select_with_or ({ 250"//conditions:default" : [ 251], 252}), 253rustc_env = { 254}, 255rustc_env_files = select_with_or ({ 256"//conditions:default" : [ 257], 258}), 259rustc_flags = [ 260# In most cases, warnings in 3rd party crates are not interesting as 261# they're out of the control of consumers. The flag here silences 262# warnings. For more details see: 263# https://doc.rust-lang.org/rustc/lints/levels.html 264"--cap-lints=allow" , 265], 266tags = [ 267"cargo-bazel" , 268"manual" , 269"noclippy" , 270"norustfmt" , 271], 272tools = select_with_or ({ 273"//conditions:default" : [ 274], 275}), 276version = "0.60.1" , 277visibility = [ "//visibility:private" ], 278deps = [ 279] + select_with_or ({ 280"//conditions:default" : [ 281], 282}), 283) 284 285alias ( 286# Because `cargo_build_script` does some invisible target name mutating to 287# determine the package and crate name for a build script, the Bazel 288# target namename of any build script cannot be the Cargo canonical name 289# of `build_script_build` without losing out on having certain Cargo 290# environment variables set. 291name = "build_script_build" , 292actual = "bindgen_build_script" , 293tags = [ 294"manual" , 295], 296)