fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
d3197a65
0.6.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 ([ "**" ]) + select_with_or ({ 41"//conditions:default" : [ 42], 43}), 44crate_features = [ 45"atty" , 46"clap_derive" , 47"color" , 48"default" , 49"derive" , 50"env" , 51"lazy_static" , 52"std" , 53"strsim" , 54"suggestions" , 55"termcolor" , 56], 57crate_root = "src/lib.rs" , 58data = select_with_or ({ 59"//conditions:default" : [ 60], 61}), 62edition = "2018" , 63proc_macro_deps = [ 64] + select_with_or ({ 65"//conditions:default" : [ 66"@crate_universe_crate_index__clap_derive-3.1.18//:clap_derive" , 67], 68}), 69rustc_env = { 70}, 71rustc_env_files = select_with_or ({ 72"//conditions:default" : [ 73], 74}), 75rustc_flags = [ 76# In most cases, warnings in 3rd party crates are not interesting as 77# they're out of the control of consumers. The flag here silences 78# warnings. For more details see: 79# https://doc.rust-lang.org/rustc/lints/levels.html 80"--cap-lints=allow" , 81], 82tags = [ 83"cargo-bazel" , 84"manual" , 85"noclippy" , 86"norustfmt" , 87], 88version = "3.1.18" , 89deps = [ 90] + select_with_or ({ 91"//conditions:default" : [ 92"@crate_universe_crate_index__atty-0.2.14//:atty" , 93"@crate_universe_crate_index__bitflags-1.3.2//:bitflags" , 94"@crate_universe_crate_index__clap_lex-0.2.0//:clap_lex" , 95"@crate_universe_crate_index__indexmap-1.8.2//:indexmap" , 96"@crate_universe_crate_index__lazy_static-1.4.0//:lazy_static" , 97"@crate_universe_crate_index__strsim-0.10.0//:strsim" , 98"@crate_universe_crate_index__termcolor-1.1.3//:termcolor" , 99"@crate_universe_crate_index__textwrap-0.15.0//:textwrap" , 100], 101}), 102) 103 104rust_binary ( 105name = "stdio-fixture__bin" , 106srcs = glob ( 107include = [ 108"**/*.rs" , 109], 110exclude = [ 111], 112), 113aliases = selects . with_or ({ 114"//conditions:default" : { 115}, 116}), 117compile_data = glob ([ "**" ]) + select_with_or ({ 118"//conditions:default" : [ 119], 120}), 121crate_features = [ 122"atty" , 123"clap_derive" , 124"color" , 125"default" , 126"derive" , 127"env" , 128"lazy_static" , 129"std" , 130"strsim" , 131"suggestions" , 132"termcolor" , 133], 134crate_root = "src/bin/stdio-fixture.rs" , 135data = select_with_or ({ 136"//conditions:default" : [ 137], 138}), 139edition = "2018" , 140proc_macro_deps = [ 141] + select_with_or ({ 142"//conditions:default" : [ 143"@crate_universe_crate_index__clap_derive-3.1.18//:clap_derive" , 144], 145}), 146rustc_env = { 147}, 148rustc_env_files = select_with_or ({ 149"//conditions:default" : [ 150], 151}), 152rustc_flags = [ 153# In most cases, warnings in 3rd party crates are not interesting as 154# they're out of the control of consumers. The flag here silences 155# warnings. For more details see: 156# https://doc.rust-lang.org/rustc/lints/levels.html 157"--cap-lints=allow" , 158], 159tags = [ 160"cargo-bazel" , 161"manual" , 162"noclippy" , 163"norustfmt" , 164], 165version = "3.1.18" , 166deps = [ 167":clap" , 168] + select_with_or ({ 169"//conditions:default" : [ 170"@crate_universe_crate_index__atty-0.2.14//:atty" , 171"@crate_universe_crate_index__bitflags-1.3.2//:bitflags" , 172"@crate_universe_crate_index__clap_lex-0.2.0//:clap_lex" , 173"@crate_universe_crate_index__indexmap-1.8.2//:indexmap" , 174"@crate_universe_crate_index__lazy_static-1.4.0//:lazy_static" , 175"@crate_universe_crate_index__strsim-0.10.0//:strsim" , 176"@crate_universe_crate_index__termcolor-1.1.3//:termcolor" , 177"@crate_universe_crate_index__textwrap-0.15.0//:textwrap" , 178], 179}), 180)