fork/rules_rust

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

UebelAndreUpdated bindgen version (#1470)25baabc2

0.11.0
4.6 KiB185 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(
10    "@bazel_skylib//lib:selects.bzl",
11    "selects",
12)
13
14# buildifier: disable=bzl-visibility
15load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
16load(
17    "@rules_rust//rust:defs.bzl",
18    "rust_binary",
19    "rust_library",
20)
21
22package(default_visibility = ["//visibility:public"])
23
24# licenses([
25#     "TODO",  # MIT OR Apache-2.0
26# ])
27
28rust_library(
29    name = "clap",
30    srcs = glob(
31        include = [
32            "**/*.rs",
33        ],
34        exclude = [
35        ],
36    ),
37    aliases = selects.with_or({
38        "//conditions:default": {
39        },
40    }),
41    compile_data = glob(
42        include = ["**"],
43        exclude = [
44            "BUILD",
45            "BUILD.bazel",
46            "WORKSPACE",
47            "WORKSPACE.bazel",
48        ],
49    ) + select_with_or({
50        "//conditions:default": [
51        ],
52    }),
53    crate_features = [
54        "atty",
55        "color",
56        "default",
57        "std",
58        "strsim",
59        "suggestions",
60        "termcolor",
61    ],
62    crate_root = "src/lib.rs",
63    data = select_with_or({
64        "//conditions:default": [
65        ],
66    }),
67    edition = "2021",
68    proc_macro_deps = [
69    ] + select_with_or({
70        "//conditions:default": [
71        ],
72    }),
73    rustc_env = {
74    },
75    rustc_env_files = select_with_or({
76        "//conditions:default": [
77        ],
78    }),
79    rustc_flags = [
80        # In most cases, warnings in 3rd party crates are not interesting as
81        # they're out of the control of consumers. The flag here silences
82        # warnings. For more details see:
83        # https://doc.rust-lang.org/rustc/lints/levels.html
84        "--cap-lints=allow",
85    ],
86    tags = [
87        "cargo-bazel",
88        "manual",
89        "noclippy",
90        "norustfmt",
91    ],
92    version = "3.2.12",
93    deps = [
94    ] + select_with_or({
95        "//conditions:default": [
96            "@rules_rust_bindgen__atty-0.2.14//:atty",
97            "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
98            "@rules_rust_bindgen__clap_lex-0.2.4//:clap_lex",
99            "@rules_rust_bindgen__indexmap-1.9.1//:indexmap",
100            "@rules_rust_bindgen__strsim-0.10.0//:strsim",
101            "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
102            "@rules_rust_bindgen__textwrap-0.15.0//:textwrap",
103        ],
104    }),
105)
106
107rust_binary(
108    name = "stdio-fixture__bin",
109    srcs = glob(
110        include = [
111            "**/*.rs",
112        ],
113        exclude = [
114        ],
115    ),
116    aliases = selects.with_or({
117        "//conditions:default": {
118        },
119    }),
120    compile_data = glob(
121        include = ["**"],
122        exclude = [
123            "BUILD",
124            "BUILD.bazel",
125            "WORKSPACE",
126            "WORKSPACE.bazel",
127        ],
128    ) + select_with_or({
129        "//conditions:default": [
130        ],
131    }),
132    crate_features = [
133        "atty",
134        "color",
135        "default",
136        "std",
137        "strsim",
138        "suggestions",
139        "termcolor",
140    ],
141    crate_root = "src/bin/stdio-fixture.rs",
142    data = select_with_or({
143        "//conditions:default": [
144        ],
145    }),
146    edition = "2021",
147    proc_macro_deps = [
148    ] + select_with_or({
149        "//conditions:default": [
150        ],
151    }),
152    rustc_env = {
153    },
154    rustc_env_files = select_with_or({
155        "//conditions:default": [
156        ],
157    }),
158    rustc_flags = [
159        # In most cases, warnings in 3rd party crates are not interesting as
160        # they're out of the control of consumers. The flag here silences
161        # warnings. For more details see:
162        # https://doc.rust-lang.org/rustc/lints/levels.html
163        "--cap-lints=allow",
164    ],
165    tags = [
166        "cargo-bazel",
167        "manual",
168        "noclippy",
169        "norustfmt",
170    ],
171    version = "3.2.12",
172    deps = [
173        ":clap",
174    ] + select_with_or({
175        "//conditions:default": [
176            "@rules_rust_bindgen__atty-0.2.14//:atty",
177            "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
178            "@rules_rust_bindgen__clap_lex-0.2.4//:clap_lex",
179            "@rules_rust_bindgen__indexmap-1.9.1//:indexmap",
180            "@rules_rust_bindgen__strsim-0.10.0//:strsim",
181            "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
182            "@rules_rust_bindgen__textwrap-0.15.0//:textwrap",
183        ],
184    }),
185)