fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

Chris FredricksonAdd new `import` macro prototype. (#1142)2f5253fb

0.8.0
3.8 KiB157 linesraw
1"""
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:defs.bzl",
14    "rust_binary",
15    "rust_library",
16    "rust_proc_macro",
17    "rust_test",
18)
19
20package(default_visibility = [
21    # Public for visibility by "@raze__crate__version//" targets.
22    #
23    # Prefer access through "//util/import/raze", 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        "parsing",
50        "printing",
51        "proc-macro",
52        "quote",
53    ],
54    crate_root = "build.rs",
55    data = glob(["**"]),
56    edition = "2018",
57    rustc_flags = [
58        "--cap-lints=allow",
59    ],
60    tags = [
61        "cargo-raze",
62        "manual",
63    ],
64    version = "1.0.82",
65    visibility = ["//visibility:private"],
66    deps = [
67    ],
68)
69
70# Unsupported target "file" with type "bench" omitted
71
72# Unsupported target "rust" with type "bench" omitted
73
74rust_library(
75    name = "syn",
76    srcs = glob(["**/*.rs"]),
77    crate_features = [
78        "clone-impls",
79        "default",
80        "derive",
81        "parsing",
82        "printing",
83        "proc-macro",
84        "quote",
85    ],
86    crate_root = "src/lib.rs",
87    data = [],
88    edition = "2018",
89    rustc_flags = [
90        "--cap-lints=allow",
91    ],
92    tags = [
93        "cargo-raze",
94        "crate-name=syn",
95        "manual",
96    ],
97    version = "1.0.82",
98    # buildifier: leave-alone
99    deps = [
100        ":syn_build_script",
101        "@rules_rust_util_import__proc_macro2__1_0_33//:proc_macro2",
102        "@rules_rust_util_import__quote__1_0_10//:quote",
103        "@rules_rust_util_import__unicode_xid__0_2_2//:unicode_xid",
104    ],
105)
106
107# Unsupported target "test_asyncness" with type "test" omitted
108
109# Unsupported target "test_attribute" with type "test" omitted
110
111# Unsupported target "test_derive_input" with type "test" omitted
112
113# Unsupported target "test_expr" with type "test" omitted
114
115# Unsupported target "test_generics" with type "test" omitted
116
117# Unsupported target "test_grouping" with type "test" omitted
118
119# Unsupported target "test_ident" with type "test" omitted
120
121# Unsupported target "test_item" with type "test" omitted
122
123# Unsupported target "test_iterators" with type "test" omitted
124
125# Unsupported target "test_lit" with type "test" omitted
126
127# Unsupported target "test_meta" with type "test" omitted
128
129# Unsupported target "test_parse_buffer" with type "test" omitted
130
131# Unsupported target "test_parse_stream" with type "test" omitted
132
133# Unsupported target "test_pat" with type "test" omitted
134
135# Unsupported target "test_path" with type "test" omitted
136
137# Unsupported target "test_precedence" with type "test" omitted
138
139# Unsupported target "test_receiver" with type "test" omitted
140
141# Unsupported target "test_round_trip" with type "test" omitted
142
143# Unsupported target "test_shebang" with type "test" omitted
144
145# Unsupported target "test_should_parse" with type "test" omitted
146
147# Unsupported target "test_size" with type "test" omitted
148
149# Unsupported target "test_stmt" with type "test" omitted
150
151# Unsupported target "test_token_trees" with type "test" omitted
152
153# Unsupported target "test_ty" with type "test" omitted
154
155# Unsupported target "test_visibility" with type "test" omitted
156
157# Unsupported target "zzz_stable" with type "test" omitted