blob: a75500cc58a7231565c0a206f9514306b4a9a5e8 [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(
13 "@rules_rust//rust:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT OR Apache-2.0"
29])
30
31# Generated Targets
32# buildifier: disable=out-of-order-load
33# buildifier: disable=load-on-top
34load(
35 "@rules_rust//cargo:cargo_build_script.bzl",
36 "cargo_build_script",
37)
38
39cargo_build_script(
40 name = "syn_build_script",
41 srcs = glob(["**/*.rs"]),
42 build_script_env = {
43 },
44 crate_features = [
45 "clone-impls",
46 "default",
47 "derive",
48 "extra-traits",
49 "fold",
50 "full",
51 "parsing",
52 "printing",
53 "proc-macro",
54 "quote",
55 "visit-mut",
56 ],
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 ],
67 version = "1.0.73",
68 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",
91 "visit-mut",
92 ],
93 crate_root = "src/lib.rs",
94 crate_type = "lib",
95 data = [],
96 edition = "2018",
97 rustc_flags = [
98 "--cap-lints=allow",
99 ],
100 tags = [
101 "cargo-raze",
102 "manual",
103 ],
104 version = "1.0.73",
105 # buildifier: leave-alone
106 deps = [
107 ":syn_build_script",
108 "@raze__proc_macro2__1_0_27//:proc_macro2",
109 "@raze__quote__1_0_9//:quote",
110 "@raze__unicode_xid__0_2_2//:unicode_xid",
111 ],
112)
113
114# Unsupported target "test_asyncness" with type "test" omitted
115
116# Unsupported target "test_attribute" with type "test" omitted
117
118# Unsupported target "test_derive_input" with type "test" omitted
119
120# Unsupported target "test_expr" with type "test" omitted
121
122# Unsupported target "test_generics" with type "test" omitted
123
124# Unsupported target "test_grouping" with type "test" omitted
125
126# Unsupported target "test_ident" with type "test" omitted
127
128# Unsupported target "test_item" with type "test" omitted
129
130# Unsupported target "test_iterators" with type "test" omitted
131
132# Unsupported target "test_lit" with type "test" omitted
133
134# Unsupported target "test_meta" with type "test" omitted
135
136# Unsupported target "test_parse_buffer" with type "test" omitted
137
138# Unsupported target "test_parse_stream" with type "test" omitted
139
140# Unsupported target "test_pat" with type "test" omitted
141
142# Unsupported target "test_path" with type "test" omitted
143
144# Unsupported target "test_precedence" with type "test" omitted
145
146# Unsupported target "test_receiver" with type "test" omitted
147
148# Unsupported target "test_round_trip" with type "test" omitted
149
150# Unsupported target "test_shebang" with type "test" omitted
151
152# Unsupported target "test_should_parse" with type "test" omitted
153
154# Unsupported target "test_size" with type "test" omitted
155
156# Unsupported target "test_stmt" with type "test" omitted
157
158# Unsupported target "test_token_trees" with type "test" omitted
159
160# Unsupported target "test_ty" with type "test" omitted
161
162# Unsupported target "test_visibility" with type "test" omitted
163
164# Unsupported target "zzz_stable" with type "test" omitted