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_library" , 18) 19 20package ( default_visibility = [ "//visibility:public" ]) 21 22# licenses([ 23# "TODO", # MIT OR Apache-2.0 24# ]) 25 26rust_library ( 27name = "digest" , 28srcs = glob ( 29include = [ 30"**/*.rs" , 31], 32exclude = [ 33], 34), 35aliases = selects . with_or ({ 36"//conditions:default" : { 37}, 38}), 39compile_data = glob ([ "**" ]) + select_with_or ({ 40"//conditions:default" : [ 41], 42}), 43crate_features = [ 44"alloc" , 45"block-buffer" , 46"core-api" , 47"default" , 48"std" , 49], 50crate_root = "src/lib.rs" , 51data = select_with_or ({ 52"//conditions:default" : [ 53], 54}), 55edition = "2018" , 56proc_macro_deps = [ 57] + select_with_or ({ 58"//conditions:default" : [ 59], 60}), 61rustc_env = { 62}, 63rustc_env_files = select_with_or ({ 64"//conditions:default" : [ 65], 66}), 67rustc_flags = [ 68# In most cases, warnings in 3rd party crates are not interesting as 69# they're out of the control of consumers. The flag here silences 70# warnings. For more details see: 71# https://doc.rust-lang.org/rustc/lints/levels.html 72"--cap-lints=allow" , 73] + select_with_or ({ 74"//conditions:default" : [ 75], 76}), 77tags = [ 78"cargo-bazel" , 79"manual" , 80"noclippy" , 81"norustfmt" , 82], 83version = "0.10.3" , 84deps = [ 85] + select_with_or ({ 86"//conditions:default" : [ 87"@crate_universe_crate_index__block-buffer-0.10.2//:block_buffer" , 88"@crate_universe_crate_index__crypto-common-0.1.3//:crypto_common" , 89], 90}), 91)