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