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 25# ]) 26 27rust_library ( 28name = "phf_generator" , 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], 54crate_root = "src/lib.rs" , 55data = select_with_or ({ 56"//conditions:default" : [ 57], 58}), 59edition = "2018" , 60proc_macro_deps = [ 61] + select_with_or ({ 62"//conditions:default" : [ 63], 64}), 65rustc_env = { 66}, 67rustc_env_files = select_with_or ({ 68"//conditions:default" : [ 69], 70}), 71rustc_flags = [ 72# In most cases, warnings in 3rd party crates are not interesting as 73# they're out of the control of consumers. The flag here silences 74# warnings. For more details see: 75# https://doc.rust-lang.org/rustc/lints/levels.html 76"--cap-lints=allow" , 77], 78tags = [ 79"cargo-bazel" , 80"manual" , 81"noclippy" , 82"norustfmt" , 83], 84version = "0.10.0" , 85deps = [ 86] + select_with_or ({ 87"//conditions:default" : [ 88"@crate_universe_crate_index__phf_shared-0.10.0//:phf_shared" , 89"@crate_universe_crate_index__rand-0.8.5//:rand" , 90], 91}), 92) 93 94rust_binary ( 95name = "gen_hash_test__bin" , 96srcs = glob ( 97include = [ 98"**/*.rs" , 99], 100exclude = [ 101], 102), 103aliases = selects . with_or ({ 104"//conditions:default" : { 105}, 106}), 107compile_data = glob ( 108include = [ "**" ], 109exclude = [ 110"BUILD" , 111"BUILD.bazel" , 112"WORKSPACE" , 113"WORKSPACE.bazel" , 114], 115) + select_with_or ({ 116"//conditions:default" : [ 117], 118}), 119crate_features = [ 120], 121crate_root = "src/bin/gen_hash_test.rs" , 122data = select_with_or ({ 123"//conditions:default" : [ 124], 125}), 126edition = "2018" , 127proc_macro_deps = [ 128] + select_with_or ({ 129"//conditions:default" : [ 130], 131}), 132rustc_env = { 133}, 134rustc_env_files = select_with_or ({ 135"//conditions:default" : [ 136], 137}), 138rustc_flags = [ 139# In most cases, warnings in 3rd party crates are not interesting as 140# they're out of the control of consumers. The flag here silences 141# warnings. For more details see: 142# https://doc.rust-lang.org/rustc/lints/levels.html 143"--cap-lints=allow" , 144], 145tags = [ 146"cargo-bazel" , 147"manual" , 148"noclippy" , 149"norustfmt" , 150], 151version = "0.10.0" , 152deps = [ 153":phf_generator" , 154] + select_with_or ({ 155"//conditions:default" : [ 156"@crate_universe_crate_index__phf_shared-0.10.0//:phf_shared" , 157"@crate_universe_crate_index__rand-0.8.5//:rand" , 158], 159}), 160)