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