blob: c51dc71f9b2b2de718e2a96453ae66c8f14c9767 [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
Leopold2aa8b182023-01-14 23:31:43 +010013 "@rules_rust//rust:defs.bzl",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020014 "rust_binary",
15 "rust_library",
Leopold2aa8b182023-01-14 23:31:43 +010016 "rust_proc_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020017 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36 "@rules_rust//cargo:cargo_build_script.bzl",
37 "cargo_build_script",
38)
39
40cargo_build_script(
41 name = "syn_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "clone-impls",
47 "default",
48 "derive",
49 "extra-traits",
50 "fold",
51 "full",
52 "parsing",
53 "printing",
54 "proc-macro",
55 "quote",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020056 ],
57 crate_root = "build.rs",
58 data = glob(["**"]),
59 edition = "2018",
60 rustc_flags = [
61 "--cap-lints=allow",
62 ],
63 tags = [
64 "cargo-raze",
65 "manual",
66 ],
Lorenz Brund141d182023-10-02 15:07:01 +020067 version = "1.0.109",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020068 visibility = ["//visibility:private"],
69 deps = [
70 ],
71)
72
73# Unsupported target "file" with type "bench" omitted
74
75# Unsupported target "rust" with type "bench" omitted
76
77rust_library(
78 name = "syn",
79 srcs = glob(["**/*.rs"]),
80 crate_features = [
81 "clone-impls",
82 "default",
83 "derive",
84 "extra-traits",
85 "fold",
86 "full",
87 "parsing",
88 "printing",
89 "proc-macro",
90 "quote",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020091 ],
92 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020093 data = [],
94 edition = "2018",
95 rustc_flags = [
96 "--cap-lints=allow",
97 ],
98 tags = [
99 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +0100100 "crate-name=syn",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200101 "manual",
102 ],
Lorenz Brund141d182023-10-02 15:07:01 +0200103 version = "1.0.109",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200104 # buildifier: leave-alone
105 deps = [
106 ":syn_build_script",
Lorenz Brund141d182023-10-02 15:07:01 +0200107 "@raze__proc_macro2__1_0_67//:proc_macro2",
108 "@raze__quote__1_0_33//:quote",
109 "@raze__unicode_ident__1_0_12//:unicode_ident",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200110 ],
111)
112
Leopold2aa8b182023-01-14 23:31:43 +0100113# Unsupported target "regression" with type "test" omitted
114
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200115# Unsupported target "test_asyncness" with type "test" omitted
116
117# Unsupported target "test_attribute" with type "test" omitted
118
119# Unsupported target "test_derive_input" with type "test" omitted
120
121# Unsupported target "test_expr" with type "test" omitted
122
123# Unsupported target "test_generics" with type "test" omitted
124
125# Unsupported target "test_grouping" with type "test" omitted
126
127# Unsupported target "test_ident" with type "test" omitted
128
129# Unsupported target "test_item" with type "test" omitted
130
131# Unsupported target "test_iterators" with type "test" omitted
132
133# Unsupported target "test_lit" with type "test" omitted
134
135# Unsupported target "test_meta" with type "test" omitted
136
137# Unsupported target "test_parse_buffer" with type "test" omitted
138
139# Unsupported target "test_parse_stream" with type "test" omitted
140
141# Unsupported target "test_pat" with type "test" omitted
142
143# Unsupported target "test_path" with type "test" omitted
144
145# Unsupported target "test_precedence" with type "test" omitted
146
147# Unsupported target "test_receiver" with type "test" omitted
148
149# Unsupported target "test_round_trip" with type "test" omitted
150
151# Unsupported target "test_shebang" with type "test" omitted
152
153# Unsupported target "test_should_parse" with type "test" omitted
154
155# Unsupported target "test_size" with type "test" omitted
156
157# Unsupported target "test_stmt" with type "test" omitted
158
159# Unsupported target "test_token_trees" with type "test" omitted
160
161# Unsupported target "test_ty" with type "test" omitted
162
163# Unsupported target "test_visibility" with type "test" omitted
164
165# Unsupported target "zzz_stable" with type "test" omitted