fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
ca567826
0.11.0
1############################################################################### 2# @generated 3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To 4# regenerate this file, run the following: 5# 6# bazel run //crate_universe/3rdparty:crates_vendor 7############################################################################### 8 9load ( 10"@bazel_skylib//lib:selects.bzl" , 11"selects" , 12) 13load ( 14"@rules_rust//cargo:defs.bzl" , 15"cargo_build_script" , 16) 17 18# buildifier: disable=bzl-visibility 19load ( "@rules_rust//crate_universe/private:selects.bzl" , "select_with_or" ) 20load ( 21"@rules_rust//rust:defs.bzl" , 22"rust_library" , 23) 24 25package ( default_visibility = [ "//visibility:public" ]) 26 27# licenses([ 28# "TODO", # MIT OR Apache-2.0 29# ]) 30 31rust_library ( 32name = "syn" , 33srcs = glob ( 34include = [ 35"**/*.rs" , 36], 37exclude = [ 38], 39), 40aliases = selects . with_or ({ 41"//conditions:default" : { 42}, 43}), 44compile_data = glob ( 45include = [ "**" ], 46exclude = [ 47"BUILD" , 48"BUILD.bazel" , 49"WORKSPACE" , 50"WORKSPACE.bazel" , 51], 52) + select_with_or ({ 53"//conditions:default" : [ 54], 55}), 56crate_features = [ 57"clone-impls" , 58"default" , 59"derive" , 60"full" , 61"parsing" , 62"printing" , 63"proc-macro" , 64"quote" , 65"visit" , 66], 67crate_root = "src/lib.rs" , 68data = select_with_or ({ 69"//conditions:default" : [ 70], 71}), 72edition = "2018" , 73proc_macro_deps = [ 74] + select_with_or ({ 75"//conditions:default" : [ 76], 77}), 78rustc_env = { 79}, 80rustc_env_files = select_with_or ({ 81"//conditions:default" : [ 82], 83}), 84rustc_flags = [ 85# In most cases, warnings in 3rd party crates are not interesting as 86# they're out of the control of consumers. The flag here silences 87# warnings. For more details see: 88# https://doc.rust-lang.org/rustc/lints/levels.html 89"--cap-lints=allow" , 90], 91tags = [ 92"cargo-bazel" , 93"manual" , 94"noclippy" , 95"norustfmt" , 96], 97version = "1.0.102" , 98deps = [ 99] + select_with_or ({ 100"//conditions:default" : [ 101"@cui__proc-macro2-1.0.46//:proc_macro2" , 102"@cui__quote-1.0.21//:quote" , 103"@cui__syn-1.0.102//:build_script_build" , 104"@cui__unicode-ident-1.0.5//:unicode_ident" , 105], 106}), 107) 108 109cargo_build_script ( 110# See comment associated with alias. Do not change this name 111name = "syn_build_script" , 112srcs = glob ( 113include = [ 114"**/*.rs" , 115], 116exclude = [ 117], 118), 119aliases = selects . with_or ({ 120"//conditions:default" : { 121}, 122}), 123build_script_env = { 124}, 125compile_data = select_with_or ({ 126"//conditions:default" : [ 127], 128}), 129crate_features = [ 130"clone-impls" , 131"default" , 132"derive" , 133"full" , 134"parsing" , 135"printing" , 136"proc-macro" , 137"quote" , 138"visit" , 139], 140crate_name = "build_script_build" , 141crate_root = "build.rs" , 142data = glob ([ "**" ]) + select_with_or ({ 143"//conditions:default" : [ 144], 145}), 146edition = "2018" , 147proc_macro_deps = [ 148] + select_with_or ({ 149"//conditions:default" : [ 150], 151}), 152rustc_env = { 153}, 154rustc_env_files = select_with_or ({ 155"//conditions:default" : [ 156], 157}), 158rustc_flags = [ 159# In most cases, warnings in 3rd party crates are not interesting as 160# they're out of the control of consumers. The flag here silences 161# warnings. For more details see: 162# https://doc.rust-lang.org/rustc/lints/levels.html 163"--cap-lints=allow" , 164], 165tags = [ 166"cargo-bazel" , 167"manual" , 168"noclippy" , 169"norustfmt" , 170], 171tools = select_with_or ({ 172"//conditions:default" : [ 173], 174}), 175version = "1.0.102" , 176visibility = [ "//visibility:private" ], 177deps = [ 178] + select_with_or ({ 179"//conditions:default" : [ 180], 181}), 182) 183 184alias ( 185# Because `cargo_build_script` does some invisible target name mutating to 186# determine the package and crate name for a build script, the Bazel 187# target namename of any build script cannot be the Cargo canonical name 188# of `build_script_build` without losing out on having certain Cargo 189# environment variables set. 190name = "build_script_build" , 191actual = "syn_build_script" , 192tags = [ 193"manual" , 194], 195)