fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
97264b79
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", # Unlicense/MIT 25# ]) 26 27rust_library ( 28name = "docopt" , 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], 46crate_root = "src/lib.rs" , 47data = select_with_or ({ 48"//conditions:default" : [ 49], 50}), 51edition = "2018" , 52proc_macro_deps = [ 53] + select_with_or ({ 54"//conditions:default" : [ 55], 56}), 57rustc_env = { 58}, 59rustc_env_files = select_with_or ({ 60"//conditions:default" : [ 61], 62}), 63rustc_flags = [ 64# In most cases, warnings in 3rd party crates are not interesting as 65# they're out of the control of consumers. The flag here silences 66# warnings. For more details see: 67# https://doc.rust-lang.org/rustc/lints/levels.html 68"--cap-lints=allow" , 69], 70tags = [ 71"cargo-bazel" , 72"manual" , 73"noclippy" , 74"norustfmt" , 75], 76version = "1.1.1" , 77deps = [ 78] + select_with_or ({ 79"//conditions:default" : [ 80"@rules_rust_wasm_bindgen__lazy_static-1.4.0//:lazy_static" , 81"@rules_rust_wasm_bindgen__regex-1.5.6//:regex" , 82"@rules_rust_wasm_bindgen__serde-1.0.137//:serde" , 83"@rules_rust_wasm_bindgen__strsim-0.10.0//:strsim" , 84], 85}), 86) 87 88rust_binary ( 89name = "docopt-wordlist__bin" , 90srcs = glob ( 91include = [ 92"**/*.rs" , 93], 94exclude = [ 95], 96), 97aliases = selects . with_or ({ 98"//conditions:default" : { 99}, 100}), 101compile_data = glob ([ "**" ]) + select_with_or ({ 102"//conditions:default" : [ 103], 104}), 105crate_features = [ 106], 107crate_root = "src/wordlist.rs" , 108data = select_with_or ({ 109"//conditions:default" : [ 110], 111}), 112edition = "2018" , 113proc_macro_deps = [ 114] + select_with_or ({ 115"//conditions:default" : [ 116], 117}), 118rustc_env = { 119}, 120rustc_env_files = select_with_or ({ 121"//conditions:default" : [ 122], 123}), 124rustc_flags = [ 125# In most cases, warnings in 3rd party crates are not interesting as 126# they're out of the control of consumers. The flag here silences 127# warnings. For more details see: 128# https://doc.rust-lang.org/rustc/lints/levels.html 129"--cap-lints=allow" , 130], 131tags = [ 132"cargo-bazel" , 133"manual" , 134"noclippy" , 135"norustfmt" , 136], 137version = "1.1.1" , 138deps = [ 139":docopt" , 140] + select_with_or ({ 141"//conditions:default" : [ 142"@rules_rust_wasm_bindgen__lazy_static-1.4.0//:lazy_static" , 143"@rules_rust_wasm_bindgen__regex-1.5.6//:regex" , 144"@rules_rust_wasm_bindgen__serde-1.0.137//:serde" , 145"@rules_rust_wasm_bindgen__strsim-0.10.0//:strsim" , 146], 147}), 148)