fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
60f26d49
0.7.0
1############################################################################### 2# @generated 3# This file is auto-generated by the cargo-bazel tool. 4# 5# DO NOT MODIFY: Local changes may be replaced in future executions. 6############################################################################### 7 8load ( 9"@bazel_skylib//lib:selects.bzl" , 10"selects" , 11) 12 13# buildifier: disable=bzl-visibility 14load ( "@rules_rust//crate_universe/private:selects.bzl" , "select_with_or" ) 15load ( 16"@rules_rust//rust:defs.bzl" , 17"rust_binary" , 18"rust_library" , 19) 20 21package ( default_visibility = [ "//visibility:public" ]) 22 23# licenses([ 24# "TODO", # MIT OR Apache-2.0 25# ]) 26 27rust_library ( 28name = "clap" , 29srcs = glob ( 30include = [ 31"**/*.rs" , 32], 33exclude = [ 34], 35), 36aliases = selects . with_or ({ 37"//conditions:default" : { 38}, 39}), 40compile_data = glob ( 41include = [ "**" ], 42exclude = [ 43"BUILD" , 44"BUILD.bazel" , 45"WORKSPACE" , 46"WORKSPACE.bazel" , 47], 48) + select_with_or ({ 49"//conditions:default" : [ 50], 51}), 52crate_features = [ 53"atty" , 54"clap_derive" , 55"color" , 56"default" , 57"derive" , 58"env" , 59"once_cell" , 60"std" , 61"strsim" , 62"suggestions" , 63"termcolor" , 64], 65crate_root = "src/lib.rs" , 66data = select_with_or ({ 67"//conditions:default" : [ 68], 69}), 70edition = "2021" , 71proc_macro_deps = [ 72] + select_with_or ({ 73"//conditions:default" : [ 74"@crate_universe_crate_index__clap_derive-3.2.7//:clap_derive" , 75], 76}), 77rustc_env = { 78}, 79rustc_env_files = select_with_or ({ 80"//conditions:default" : [ 81], 82}), 83rustc_flags = [ 84# In most cases, warnings in 3rd party crates are not interesting as 85# they're out of the control of consumers. The flag here silences 86# warnings. For more details see: 87# https://doc.rust-lang.org/rustc/lints/levels.html 88"--cap-lints=allow" , 89], 90tags = [ 91"cargo-bazel" , 92"manual" , 93"noclippy" , 94"norustfmt" , 95], 96version = "3.2.8" , 97deps = [ 98] + select_with_or ({ 99"//conditions:default" : [ 100"@crate_universe_crate_index__atty-0.2.14//:atty" , 101"@crate_universe_crate_index__bitflags-1.3.2//:bitflags" , 102"@crate_universe_crate_index__clap_lex-0.2.4//:clap_lex" , 103"@crate_universe_crate_index__indexmap-1.9.1//:indexmap" , 104"@crate_universe_crate_index__once_cell-1.13.0//:once_cell" , 105"@crate_universe_crate_index__strsim-0.10.0//:strsim" , 106"@crate_universe_crate_index__termcolor-1.1.3//:termcolor" , 107"@crate_universe_crate_index__textwrap-0.15.0//:textwrap" , 108], 109}), 110) 111 112rust_binary ( 113name = "stdio-fixture__bin" , 114srcs = glob ( 115include = [ 116"**/*.rs" , 117], 118exclude = [ 119], 120), 121aliases = selects . with_or ({ 122"//conditions:default" : { 123}, 124}), 125compile_data = glob ( 126include = [ "**" ], 127exclude = [ 128"BUILD" , 129"BUILD.bazel" , 130"WORKSPACE" , 131"WORKSPACE.bazel" , 132], 133) + select_with_or ({ 134"//conditions:default" : [ 135], 136}), 137crate_features = [ 138"atty" , 139"clap_derive" , 140"color" , 141"default" , 142"derive" , 143"env" , 144"once_cell" , 145"std" , 146"strsim" , 147"suggestions" , 148"termcolor" , 149], 150crate_root = "src/bin/stdio-fixture.rs" , 151data = select_with_or ({ 152"//conditions:default" : [ 153], 154}), 155edition = "2021" , 156proc_macro_deps = [ 157] + select_with_or ({ 158"//conditions:default" : [ 159"@crate_universe_crate_index__clap_derive-3.2.7//:clap_derive" , 160], 161}), 162rustc_env = { 163}, 164rustc_env_files = select_with_or ({ 165"//conditions:default" : [ 166], 167}), 168rustc_flags = [ 169# In most cases, warnings in 3rd party crates are not interesting as 170# they're out of the control of consumers. The flag here silences 171# warnings. For more details see: 172# https://doc.rust-lang.org/rustc/lints/levels.html 173"--cap-lints=allow" , 174], 175tags = [ 176"cargo-bazel" , 177"manual" , 178"noclippy" , 179"norustfmt" , 180], 181version = "3.2.8" , 182deps = [ 183":clap" , 184] + select_with_or ({ 185"//conditions:default" : [ 186"@crate_universe_crate_index__atty-0.2.14//:atty" , 187"@crate_universe_crate_index__bitflags-1.3.2//:bitflags" , 188"@crate_universe_crate_index__clap_lex-0.2.4//:clap_lex" , 189"@crate_universe_crate_index__indexmap-1.9.1//:indexmap" , 190"@crate_universe_crate_index__once_cell-1.13.0//:once_cell" , 191"@crate_universe_crate_index__strsim-0.10.0//:strsim" , 192"@crate_universe_crate_index__termcolor-1.1.3//:termcolor" , 193"@crate_universe_crate_index__textwrap-0.15.0//:textwrap" , 194], 195}), 196)