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