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) 12load ( 13"@rules_rust//cargo:defs.bzl" , 14"cargo_build_script" , 15) 16 17# buildifier: disable=bzl-visibility 18load ( "@rules_rust//crate_universe/private:selects.bzl" , "select_with_or" ) 19load ( 20"@rules_rust//rust:defs.bzl" , 21"rust_library" , 22) 23 24package ( default_visibility = [ "//visibility:public" ]) 25 26# licenses([ 27# "TODO", # MIT OR Apache-2.0 28# ]) 29 30rust_library ( 31name = "num_integer" , 32srcs = glob ( 33include = [ 34"**/*.rs" , 35], 36exclude = [ 37], 38), 39aliases = selects . with_or ({ 40"//conditions:default" : { 41}, 42}), 43compile_data = glob ([ "**" ]) + select_with_or ({ 44"//conditions:default" : [ 45], 46}), 47crate_features = [ 48], 49crate_root = "src/lib.rs" , 50data = select_with_or ({ 51"//conditions:default" : [ 52], 53}), 54edition = "2015" , 55proc_macro_deps = [ 56] + select_with_or ({ 57"//conditions:default" : [ 58], 59}), 60rustc_env = { 61}, 62rustc_env_files = select_with_or ({ 63"//conditions:default" : [ 64], 65}), 66rustc_flags = [ 67# In most cases, warnings in 3rd party crates are not interesting as 68# they're out of the control of consumers. The flag here silences 69# warnings. For more details see: 70# https://doc.rust-lang.org/rustc/lints/levels.html 71"--cap-lints=allow" , 72], 73tags = [ 74"cargo-bazel" , 75"manual" , 76"noclippy" , 77"norustfmt" , 78], 79version = "0.1.45" , 80deps = [ 81] + select_with_or ({ 82"//conditions:default" : [ 83"@rules_rust_wasm_bindgen__num-integer-0.1.45//:build_script_build" , 84"@rules_rust_wasm_bindgen__num-traits-0.2.15//:num_traits" , 85], 86}), 87) 88 89cargo_build_script ( 90# See comment associated with alias. Do not change this name 91name = "num-integer_build_script" , 92srcs = glob ( 93include = [ 94"**/*.rs" , 95], 96exclude = [ 97], 98), 99aliases = selects . with_or ({ 100"//conditions:default" : { 101}, 102}), 103build_script_env = { 104}, 105compile_data = select_with_or ({ 106"//conditions:default" : [ 107], 108}), 109crate_features = [ 110], 111crate_name = "build_script_build" , 112crate_root = "build.rs" , 113data = glob ([ "**" ]) + select_with_or ({ 114"//conditions:default" : [ 115], 116}), 117edition = "2015" , 118proc_macro_deps = [ 119] + select_with_or ({ 120"//conditions:default" : [ 121], 122}), 123rustc_env = { 124}, 125rustc_env_files = select_with_or ({ 126"//conditions:default" : [ 127], 128}), 129rustc_flags = [ 130# In most cases, warnings in 3rd party crates are not interesting as 131# they're out of the control of consumers. The flag here silences 132# warnings. For more details see: 133# https://doc.rust-lang.org/rustc/lints/levels.html 134"--cap-lints=allow" , 135], 136tags = [ 137"cargo-bazel" , 138"manual" , 139"noclippy" , 140"norustfmt" , 141], 142tools = select_with_or ({ 143"//conditions:default" : [ 144], 145}), 146version = "0.1.45" , 147visibility = [ "//visibility:private" ], 148deps = [ 149] + select_with_or ({ 150"//conditions:default" : [ 151"@rules_rust_wasm_bindgen__autocfg-1.1.0//:autocfg" , 152], 153}), 154) 155 156alias ( 157# Because `cargo_build_script` does some invisible target name mutating to 158# determine the package and crate name for a build script, the Bazel 159# target namename of any build script cannot be the Cargo canonical name 160# of `build_script_build` without losing out on having certain Cargo 161# environment variables set. 162name = "build_script_build" , 163actual = "num-integer_build_script" , 164tags = [ 165"manual" , 166], 167)