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