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