blob: 7e379f7218b5875416a1efd413cb5676c17cde8f [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",
Leopold2aa8b182023-01-14 23:31:43 +010056 "visit",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020057 "visit-mut",
58 ],
59 crate_root = "build.rs",
60 data = glob(["**"]),
61 edition = "2018",
62 rustc_flags = [
63 "--cap-lints=allow",
64 ],
65 tags = [
66 "cargo-raze",
67 "manual",
68 ],
Leopold2aa8b182023-01-14 23:31:43 +010069 version = "1.0.107",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020070 visibility = ["//visibility:private"],
71 deps = [
72 ],
73)
74
75# Unsupported target "file" with type "bench" omitted
76
77# Unsupported target "rust" with type "bench" omitted
78
79rust_library(
80 name = "syn",
81 srcs = glob(["**/*.rs"]),
82 crate_features = [
83 "clone-impls",
84 "default",
85 "derive",
86 "extra-traits",
87 "fold",
88 "full",
89 "parsing",
90 "printing",
91 "proc-macro",
92 "quote",
Leopold2aa8b182023-01-14 23:31:43 +010093 "visit",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020094 "visit-mut",
95 ],
96 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020097 data = [],
98 edition = "2018",
99 rustc_flags = [
100 "--cap-lints=allow",
101 ],
102 tags = [
103 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +0100104 "crate-name=syn",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200105 "manual",
106 ],
Leopold2aa8b182023-01-14 23:31:43 +0100107 version = "1.0.107",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200108 # buildifier: leave-alone
109 deps = [
110 ":syn_build_script",
Leopold2aa8b182023-01-14 23:31:43 +0100111 "@raze__proc_macro2__1_0_49//:proc_macro2",
112 "@raze__quote__1_0_23//:quote",
113 "@raze__unicode_ident__1_0_6//:unicode_ident",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200114 ],
115)
116
Leopold2aa8b182023-01-14 23:31:43 +0100117# Unsupported target "regression" with type "test" omitted
118
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200119# Unsupported target "test_asyncness" with type "test" omitted
120
121# Unsupported target "test_attribute" with type "test" omitted
122
123# Unsupported target "test_derive_input" with type "test" omitted
124
125# Unsupported target "test_expr" with type "test" omitted
126
127# Unsupported target "test_generics" with type "test" omitted
128
129# Unsupported target "test_grouping" with type "test" omitted
130
131# Unsupported target "test_ident" with type "test" omitted
132
133# Unsupported target "test_item" with type "test" omitted
134
135# Unsupported target "test_iterators" with type "test" omitted
136
137# Unsupported target "test_lit" with type "test" omitted
138
139# Unsupported target "test_meta" with type "test" omitted
140
141# Unsupported target "test_parse_buffer" with type "test" omitted
142
143# Unsupported target "test_parse_stream" with type "test" omitted
144
145# Unsupported target "test_pat" with type "test" omitted
146
147# Unsupported target "test_path" with type "test" omitted
148
149# Unsupported target "test_precedence" with type "test" omitted
150
151# Unsupported target "test_receiver" with type "test" omitted
152
153# Unsupported target "test_round_trip" with type "test" omitted
154
155# Unsupported target "test_shebang" with type "test" omitted
156
157# Unsupported target "test_should_parse" with type "test" omitted
158
159# Unsupported target "test_size" with type "test" omitted
160
161# Unsupported target "test_stmt" with type "test" omitted
162
163# Unsupported target "test_token_trees" with type "test" omitted
164
165# Unsupported target "test_ty" with type "test" omitted
166
167# Unsupported target "test_visibility" with type "test" omitted
168
169# Unsupported target "zzz_stable" with type "test" omitted