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", # Apache-2.0 OR MIT 25# ]) 26 27rust_library ( 28name = "cargo_lock" , 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 = "2021" , 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 = "8.0.2" , 85deps = [ 86] + select_with_or ({ 87"//conditions:default" : [ 88"@crate_universe_crate_index__semver-1.0.12//:semver" , 89"@crate_universe_crate_index__serde-1.0.138//:serde" , 90"@crate_universe_crate_index__toml-0.5.9//:toml" , 91"@crate_universe_crate_index__url-2.2.2//:url" , 92], 93}), 94) 95 96rust_binary ( 97name = "cargo-lock__bin" , 98srcs = glob ( 99include = [ 100"**/*.rs" , 101], 102exclude = [ 103], 104), 105aliases = selects . with_or ({ 106"//conditions:default" : { 107}, 108}), 109compile_data = glob ( 110include = [ "**" ], 111exclude = [ 112"BUILD" , 113"BUILD.bazel" , 114"WORKSPACE" , 115"WORKSPACE.bazel" , 116], 117) + select_with_or ({ 118"//conditions:default" : [ 119], 120}), 121crate_features = [ 122], 123crate_root = "src/bin/cargo-lock/main.rs" , 124data = select_with_or ({ 125"//conditions:default" : [ 126], 127}), 128edition = "2021" , 129proc_macro_deps = [ 130] + select_with_or ({ 131"//conditions:default" : [ 132], 133}), 134rustc_env = { 135}, 136rustc_env_files = select_with_or ({ 137"//conditions:default" : [ 138], 139}), 140rustc_flags = [ 141# In most cases, warnings in 3rd party crates are not interesting as 142# they're out of the control of consumers. The flag here silences 143# warnings. For more details see: 144# https://doc.rust-lang.org/rustc/lints/levels.html 145"--cap-lints=allow" , 146], 147tags = [ 148"cargo-bazel" , 149"manual" , 150"noclippy" , 151"norustfmt" , 152], 153version = "8.0.2" , 154deps = [ 155":cargo_lock" , 156] + select_with_or ({ 157"//conditions:default" : [ 158"@crate_universe_crate_index__semver-1.0.12//:semver" , 159"@crate_universe_crate_index__serde-1.0.138//:serde" , 160"@crate_universe_crate_index__toml-0.5.9//:toml" , 161"@crate_universe_crate_index__url-2.2.2//:url" , 162], 163}), 164)