blob: 7c766acd6560cd196a87cde28f3e8718ca5db000 [file] [log] [blame]
Adam Snaider1c095c92023-07-08 02:09:58 -04001###############################################################################
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 @//tools/rust_analyzer/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15# "TODO", # MIT OR Apache-2.0
16# ])
17
18rust_library(
19 name = "syn",
20 srcs = glob(["**/*.rs"]),
21 compile_data = glob(
22 include = ["**"],
23 exclude = [
24 "**/* *",
25 ".tmp_git_root/**/*",
26 "BUILD",
27 "BUILD.bazel",
28 "WORKSPACE",
29 "WORKSPACE.bazel",
30 ],
31 ),
32 crate_features = [
33 "clone-impls",
34 "default",
35 "derive",
36 "full",
37 "parsing",
38 "printing",
39 "proc-macro",
40 "quote",
41 ],
42 crate_root = "src/lib.rs",
43 edition = "2018",
44 rustc_flags = ["--cap-lints=allow"],
45 tags = [
46 "cargo-bazel",
47 "crate-name=syn",
48 "manual",
49 "noclippy",
50 "norustfmt",
51 ],
52 target_compatible_with = select({
53 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
54 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
55 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
56 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
57 "@rules_rust//rust/platform:armv7-linux-androideabi": [],
58 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
59 "@rules_rust//rust/platform:i686-apple-darwin": [],
60 "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
61 "@rules_rust//rust/platform:i686-unknown-freebsd": [],
62 "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
63 "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
64 "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
65 "@rules_rust//rust/platform:x86_64-apple-darwin": [],
66 "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
67 "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
68 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
69 "//conditions:default": ["@platforms//:incompatible"],
70 }),
71 version = "1.0.107",
72 deps = [
73 "@rules_rust_rust_analyzer__proc-macro2-1.0.49//:proc_macro2",
74 "@rules_rust_rust_analyzer__quote-1.0.23//:quote",
75 "@rules_rust_rust_analyzer__syn-1.0.107//:build_script_build",
76 "@rules_rust_rust_analyzer__unicode-ident-1.0.6//:unicode_ident",
77 ],
78)
79
80cargo_build_script(
81 name = "syn_build_script",
82 srcs = glob(["**/*.rs"]),
83 crate_features = [
84 "clone-impls",
85 "default",
86 "derive",
87 "full",
88 "parsing",
89 "printing",
90 "proc-macro",
91 "quote",
92 ],
93 crate_name = "build_script_build",
94 crate_root = "build.rs",
95 data = glob(
96 include = ["**"],
97 exclude = [
98 "**/* *",
99 ".tmp_git_root/**/*",
100 "BUILD",
101 "BUILD.bazel",
102 "WORKSPACE",
103 "WORKSPACE.bazel",
104 ],
105 ),
106 edition = "2018",
107 rustc_flags = [
108 "--cap-lints=allow",
109 ],
110 tags = [
111 "cargo-bazel",
112 "crate-name=syn",
113 "manual",
114 "noclippy",
115 "norustfmt",
116 ],
117 version = "1.0.107",
118 visibility = ["//visibility:private"],
119)
120
121alias(
122 name = "build_script_build",
123 actual = "syn_build_script",
124 tags = ["manual"],
125)