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