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