fork/rules_rust

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

David TolnayRegenerate BUILD files using serde_starlark renderer (#1746)d6e30035

rust-analyzer
4.7 KiB172 linesraw
1###############################################################################
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 @//bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load(
11    "@rules_rust//rust:defs.bzl",
12    "rust_binary",
13    "rust_library",
14)
15
16package(default_visibility = ["//visibility:public"])
17
18# licenses([
19#     "TODO",  # BSD-3-Clause
20# ])
21
22rust_library(
23    name = "bindgen",
24    srcs = glob(["**/*.rs"]),
25    compile_data = glob(
26        include = ["**"],
27        exclude = [
28            "**/* *",
29            "BUILD",
30            "BUILD.bazel",
31            "WORKSPACE",
32            "WORKSPACE.bazel",
33        ],
34    ),
35    crate_features = [
36        "clap",
37        "default",
38        "env_logger",
39        "log",
40        "logging",
41        "runtime",
42        "which",
43        "which-rustfmt",
44    ],
45    crate_root = "src/lib.rs",
46    edition = "2018",
47    rustc_flags = ["--cap-lints=allow"],
48    tags = [
49        "cargo-bazel",
50        "manual",
51        "noclippy",
52        "norustfmt",
53    ],
54    version = "0.60.1",
55    deps = [
56        "@rules_rust_bindgen__bindgen-0.60.1//:build_script_build",
57        "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
58        "@rules_rust_bindgen__cexpr-0.6.0//:cexpr",
59        "@rules_rust_bindgen__clang-sys-1.4.0//:clang_sys",
60        "@rules_rust_bindgen__clap-3.2.23//:clap",
61        "@rules_rust_bindgen__env_logger-0.9.3//:env_logger",
62        "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
63        "@rules_rust_bindgen__lazycell-1.3.0//:lazycell",
64        "@rules_rust_bindgen__log-0.4.17//:log",
65        "@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while",
66        "@rules_rust_bindgen__proc-macro2-1.0.49//:proc_macro2",
67        "@rules_rust_bindgen__quote-1.0.23//:quote",
68        "@rules_rust_bindgen__regex-1.7.0//:regex",
69        "@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash",
70        "@rules_rust_bindgen__shlex-1.1.0//:shlex",
71        "@rules_rust_bindgen__which-4.3.0//:which",
72    ],
73)
74
75rust_binary(
76    name = "bindgen__bin",
77    srcs = glob(["**/*.rs"]),
78    compile_data = glob(
79        include = ["**"],
80        exclude = [
81            "**/* *",
82            "BUILD",
83            "BUILD.bazel",
84            "WORKSPACE",
85            "WORKSPACE.bazel",
86        ],
87    ),
88    crate_features = [
89        "clap",
90        "default",
91        "env_logger",
92        "log",
93        "logging",
94        "runtime",
95        "which",
96        "which-rustfmt",
97    ],
98    crate_root = "src/main.rs",
99    edition = "2018",
100    rustc_flags = ["--cap-lints=allow"],
101    tags = [
102        "cargo-bazel",
103        "manual",
104        "noclippy",
105        "norustfmt",
106    ],
107    version = "0.60.1",
108    deps = [
109        ":bindgen",
110        "@rules_rust_bindgen__bindgen-0.60.1//:build_script_build",
111        "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
112        "@rules_rust_bindgen__cexpr-0.6.0//:cexpr",
113        "@rules_rust_bindgen__clang-sys-1.4.0//:clang_sys",
114        "@rules_rust_bindgen__clap-3.2.23//:clap",
115        "@rules_rust_bindgen__env_logger-0.9.3//:env_logger",
116        "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
117        "@rules_rust_bindgen__lazycell-1.3.0//:lazycell",
118        "@rules_rust_bindgen__log-0.4.17//:log",
119        "@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while",
120        "@rules_rust_bindgen__proc-macro2-1.0.49//:proc_macro2",
121        "@rules_rust_bindgen__quote-1.0.23//:quote",
122        "@rules_rust_bindgen__regex-1.7.0//:regex",
123        "@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash",
124        "@rules_rust_bindgen__shlex-1.1.0//:shlex",
125        "@rules_rust_bindgen__which-4.3.0//:which",
126    ],
127)
128
129cargo_build_script(
130    name = "bindgen_build_script",
131    srcs = glob(["**/*.rs"]),
132    crate_features = [
133        "clap",
134        "default",
135        "env_logger",
136        "log",
137        "logging",
138        "runtime",
139        "which",
140        "which-rustfmt",
141    ],
142    crate_name = "build_script_build",
143    crate_root = "build.rs",
144    data = glob(
145        include = ["**"],
146        exclude = [
147            "**/* *",
148            "BUILD",
149            "BUILD.bazel",
150            "WORKSPACE",
151            "WORKSPACE.bazel",
152        ],
153    ),
154    edition = "2018",
155    rustc_flags = [
156        "--cap-lints=allow",
157    ],
158    tags = [
159        "cargo-bazel",
160        "manual",
161        "noclippy",
162        "norustfmt",
163    ],
164    version = "0.60.1",
165    visibility = ["//visibility:private"],
166)
167
168alias(
169    name = "build_script_build",
170    actual = "bindgen_build_script",
171    tags = ["manual"],
172)