fork/rules_rust

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

UebelAndreUpdated crate_universe dependencies (#1591)ca567826

0.11.0
4.4 KiB189 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 //crate_universe/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        "color",
55        "default",
56        "derive",
57        "env",
58        "error-context",
59        "help",
60        "std",
61        "suggestions",
62        "usage",
63    ],
64    crate_root = "src/lib.rs",
65    data = select_with_or({
66        "//conditions:default": [
67        ],
68    }),
69    edition = "2021",
70    proc_macro_deps = [
71    ] + select_with_or({
72        "//conditions:default": [
73            "@cui__clap_derive-4.0.13//:clap_derive",
74        ],
75    }),
76    rustc_env = {
77    },
78    rustc_env_files = select_with_or({
79        "//conditions:default": [
80        ],
81    }),
82    rustc_flags = [
83        # In most cases, warnings in 3rd party crates are not interesting as
84        # they're out of the control of consumers. The flag here silences
85        # warnings. For more details see:
86        # https://doc.rust-lang.org/rustc/lints/levels.html
87        "--cap-lints=allow",
88    ],
89    tags = [
90        "cargo-bazel",
91        "manual",
92        "noclippy",
93        "norustfmt",
94    ],
95    version = "4.0.13",
96    deps = [
97    ] + select_with_or({
98        "//conditions:default": [
99            "@cui__atty-0.2.14//:atty",
100            "@cui__bitflags-1.3.2//:bitflags",
101            "@cui__clap_lex-0.3.0//:clap_lex",
102            "@cui__once_cell-1.15.0//:once_cell",
103            "@cui__strsim-0.10.0//:strsim",
104            "@cui__termcolor-1.1.3//:termcolor",
105        ],
106    }),
107)
108
109rust_binary(
110    name = "stdio-fixture__bin",
111    srcs = glob(
112        include = [
113            "**/*.rs",
114        ],
115        exclude = [
116        ],
117    ),
118    aliases = selects.with_or({
119        "//conditions:default": {
120        },
121    }),
122    compile_data = glob(
123        include = ["**"],
124        exclude = [
125            "BUILD",
126            "BUILD.bazel",
127            "WORKSPACE",
128            "WORKSPACE.bazel",
129        ],
130    ) + select_with_or({
131        "//conditions:default": [
132        ],
133    }),
134    crate_features = [
135        "color",
136        "default",
137        "derive",
138        "env",
139        "error-context",
140        "help",
141        "std",
142        "suggestions",
143        "usage",
144    ],
145    crate_root = "src/bin/stdio-fixture.rs",
146    data = select_with_or({
147        "//conditions:default": [
148        ],
149    }),
150    edition = "2021",
151    proc_macro_deps = [
152    ] + select_with_or({
153        "//conditions:default": [
154            "@cui__clap_derive-4.0.13//:clap_derive",
155        ],
156    }),
157    rustc_env = {
158    },
159    rustc_env_files = select_with_or({
160        "//conditions:default": [
161        ],
162    }),
163    rustc_flags = [
164        # In most cases, warnings in 3rd party crates are not interesting as
165        # they're out of the control of consumers. The flag here silences
166        # warnings. For more details see:
167        # https://doc.rust-lang.org/rustc/lints/levels.html
168        "--cap-lints=allow",
169    ],
170    tags = [
171        "cargo-bazel",
172        "manual",
173        "noclippy",
174        "norustfmt",
175    ],
176    version = "4.0.13",
177    deps = [
178        ":clap",
179    ] + select_with_or({
180        "//conditions:default": [
181            "@cui__atty-0.2.14//:atty",
182            "@cui__bitflags-1.3.2//:bitflags",
183            "@cui__clap_lex-0.3.0//:clap_lex",
184            "@cui__once_cell-1.15.0//:once_cell",
185            "@cui__strsim-0.10.0//:strsim",
186            "@cui__termcolor-1.1.3//:termcolor",
187        ],
188    }),
189)