fork/rules_rust

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

UebelAndreRegenerated `cargo-raze` outputs with v0.15.0 (#1184)5e6ad9f6

0.5.0
4.4 KiB165 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 "//bindgen/raze", which limits external
24    # visibility to explicit Cargo.toml dependencies.
25    "//visibility:public",
26])
27
28licenses([
29    "notice",  # BSD-3-Clause from expression "BSD-3-Clause"
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 = "bindgen_build_script",
42    srcs = glob(["**/*.rs"]),
43    build_script_env = {
44    },
45    crate_features = [
46        "clap",
47        "default",
48        "env_logger",
49        "log",
50        "logging",
51        "runtime",
52        "which",
53        "which-rustfmt",
54    ],
55    crate_root = "build.rs",
56    data = glob(["**"]),
57    edition = "2018",
58    rustc_flags = [
59        "--cap-lints=allow",
60    ],
61    tags = [
62        "cargo-raze",
63        "manual",
64    ],
65    version = "0.58.1",
66    visibility = ["//visibility:private"],
67    deps = [
68        "@rules_rust_bindgen__clang_sys__1_2_0//:clang_sys",
69    ],
70)
71
72rust_binary(
73    # Prefix bin name to disambiguate from (probable) collision with lib name
74    # N.B.: The exact form of this is subject to change.
75    name = "cargo_bin_bindgen",
76    srcs = glob(["**/*.rs"]),
77    crate_features = [
78        "clap",
79        "default",
80        "env_logger",
81        "log",
82        "logging",
83        "runtime",
84        "which",
85        "which-rustfmt",
86    ],
87    crate_root = "src/main.rs",
88    data = [],
89    edition = "2018",
90    rustc_flags = [
91        "--cap-lints=allow",
92    ],
93    tags = [
94        "cargo-raze",
95        "crate-name=bindgen",
96        "manual",
97    ],
98    version = "0.58.1",
99    # buildifier: leave-alone
100    deps = [
101        ":bindgen",
102        ":bindgen_build_script",
103        "@rules_rust_bindgen__bitflags__1_2_1//:bitflags",
104        "@rules_rust_bindgen__cexpr__0_4_0//:cexpr",
105        "@rules_rust_bindgen__clang_sys__1_2_0//:clang_sys",
106        "@rules_rust_bindgen__clap__2_33_3//:clap",
107        "@rules_rust_bindgen__env_logger__0_8_3//:env_logger",
108        "@rules_rust_bindgen__lazy_static__1_4_0//:lazy_static",
109        "@rules_rust_bindgen__lazycell__1_3_0//:lazycell",
110        "@rules_rust_bindgen__log__0_4_14//:log",
111        "@rules_rust_bindgen__peeking_take_while__0_1_2//:peeking_take_while",
112        "@rules_rust_bindgen__proc_macro2__1_0_26//:proc_macro2",
113        "@rules_rust_bindgen__quote__1_0_9//:quote",
114        "@rules_rust_bindgen__regex__1_5_4//:regex",
115        "@rules_rust_bindgen__rustc_hash__1_1_0//:rustc_hash",
116        "@rules_rust_bindgen__shlex__1_0_0//:shlex",
117        "@rules_rust_bindgen__which__3_1_1//:which",
118    ],
119)
120
121rust_library(
122    name = "bindgen",
123    srcs = glob(["**/*.rs"]),
124    crate_features = [
125        "clap",
126        "default",
127        "env_logger",
128        "log",
129        "logging",
130        "runtime",
131        "which",
132        "which-rustfmt",
133    ],
134    crate_root = "src/lib.rs",
135    data = [],
136    edition = "2018",
137    rustc_flags = [
138        "--cap-lints=allow",
139    ],
140    tags = [
141        "cargo-raze",
142        "crate-name=bindgen",
143        "manual",
144    ],
145    version = "0.58.1",
146    # buildifier: leave-alone
147    deps = [
148        ":bindgen_build_script",
149        "@rules_rust_bindgen__bitflags__1_2_1//:bitflags",
150        "@rules_rust_bindgen__cexpr__0_4_0//:cexpr",
151        "@rules_rust_bindgen__clang_sys__1_2_0//:clang_sys",
152        "@rules_rust_bindgen__clap__2_33_3//:clap",
153        "@rules_rust_bindgen__env_logger__0_8_3//:env_logger",
154        "@rules_rust_bindgen__lazy_static__1_4_0//:lazy_static",
155        "@rules_rust_bindgen__lazycell__1_3_0//:lazycell",
156        "@rules_rust_bindgen__log__0_4_14//:log",
157        "@rules_rust_bindgen__peeking_take_while__0_1_2//:peeking_take_while",
158        "@rules_rust_bindgen__proc_macro2__1_0_26//:proc_macro2",
159        "@rules_rust_bindgen__quote__1_0_9//:quote",
160        "@rules_rust_bindgen__regex__1_5_4//:regex",
161        "@rules_rust_bindgen__rustc_hash__1_1_0//:rustc_hash",
162        "@rules_rust_bindgen__shlex__1_0_0//:shlex",
163        "@rules_rust_bindgen__which__3_1_1//:which",
164    ],
165)