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