fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
87eb807e
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) 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 = "syn" , 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"clone-impls" , 49"default" , 50"derive" , 51"full" , 52"parsing" , 53"printing" , 54"proc-macro" , 55"quote" , 56], 57crate_root = "src/lib.rs" , 58data = select_with_or ({ 59"//conditions:default" : [ 60], 61}), 62edition = "2018" , 63proc_macro_deps = [ 64] + select_with_or ({ 65"//conditions:default" : [ 66], 67}), 68rustc_env = { 69}, 70rustc_env_files = select_with_or ({ 71"//conditions:default" : [ 72], 73}), 74rustc_flags = [ 75# In most cases, warnings in 3rd party crates are not interesting as 76# they're out of the control of consumers. The flag here silences 77# warnings. For more details see: 78# https://doc.rust-lang.org/rustc/lints/levels.html 79"--cap-lints=allow" , 80] + select_with_or ({ 81"//conditions:default" : [ 82], 83}), 84tags = [ 85"cargo-bazel" , 86"manual" , 87"noclippy" , 88"norustfmt" , 89], 90version = "1.0.90" , 91deps = [ 92] + select_with_or ({ 93"//conditions:default" : [ 94"@crate_universe_crate_index__proc-macro2-1.0.39//:proc_macro2" , 95"@crate_universe_crate_index__quote-1.0.18//:quote" , 96"@crate_universe_crate_index__syn-1.0.90//:build_script_build" , 97"@crate_universe_crate_index__unicode-xid-0.2.3//:unicode_xid" , 98], 99}), 100) 101 102cargo_build_script ( 103# See comment associated with alias. Do not change this name 104name = "syn_build_script" , 105srcs = glob ( 106include = [ 107"**/*.rs" , 108], 109exclude = [ 110], 111), 112aliases = selects . with_or ({ 113"//conditions:default" : { 114}, 115}), 116build_script_env = { 117}, 118compile_data = select_with_or ({ 119"//conditions:default" : [ 120], 121}), 122crate_features = [ 123"clone-impls" , 124"default" , 125"derive" , 126"full" , 127"parsing" , 128"printing" , 129"proc-macro" , 130"quote" , 131], 132crate_name = "build_script_build" , 133crate_root = "build.rs" , 134data = glob ([ "**" ]) + select_with_or ({ 135"//conditions:default" : [ 136], 137}), 138edition = "2018" , 139proc_macro_deps = [ 140] + select_with_or ({ 141"//conditions:default" : [ 142], 143}), 144rustc_env = { 145}, 146rustc_env_files = select_with_or ({ 147"//conditions:default" : [ 148], 149}), 150rustc_flags = [ 151# In most cases, warnings in 3rd party crates are not interesting as 152# they're out of the control of consumers. The flag here silences 153# warnings. For more details see: 154# https://doc.rust-lang.org/rustc/lints/levels.html 155"--cap-lints=allow" , 156] + select_with_or ({ 157"//conditions:default" : [ 158], 159}), 160tags = [ 161"cargo-bazel" , 162"manual" , 163"noclippy" , 164"norustfmt" , 165], 166tools = select_with_or ({ 167"//conditions:default" : [ 168], 169}), 170version = "1.0.90" , 171visibility = [ "//visibility:private" ], 172deps = [ 173] + select_with_or ({ 174"//conditions:default" : [ 175], 176}), 177) 178 179alias ( 180# Because `cargo_build_script` does some invisible target name mutating to 181# determine the package and crate name for a build script, the Bazel 182# target namename of any build script cannot be the Cargo canonical name 183# of `build_script_build` without losing out on having certain Cargo 184# environment variables set. 185name = "build_script_build" , 186actual = "syn_build_script" , 187tags = [ 188"manual" , 189], 190)