fork/rules_rust

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

UebelAndreAdded support for Rust 1.61.0 to crate_universe (#1348)87eb807e

0.5.0
4.9 KiB186 linesraw
1###############################################################################
2# @generated
3# This file is auto-generated by the cargo-bazel tool.
4#
5# DO NOT MODIFY: Local changes may be replaced in future executions.
6###############################################################################
7
8load(
9    "@bazel_skylib//lib:selects.bzl",
10    "selects",
11)
12
13# buildifier: disable=bzl-visibility
14load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
15load(
16    "@rules_rust//rust:defs.bzl",
17    "rust_binary",
18    "rust_library",
19)
20
21package(default_visibility = ["//visibility:public"])
22
23# licenses([
24#     "TODO",  # MIT OR Apache-2.0
25# ])
26
27rust_library(
28    name = "clap",
29    srcs = glob(
30        include = [
31            "**/*.rs",
32        ],
33        exclude = [
34        ],
35    ),
36    aliases = selects.with_or({
37        "//conditions:default": {
38        },
39    }),
40    compile_data = glob(["**"]) + select_with_or({
41        "//conditions:default": [
42        ],
43    }),
44    crate_features = [
45        "atty",
46        "clap_derive",
47        "color",
48        "default",
49        "derive",
50        "env",
51        "lazy_static",
52        "std",
53        "strsim",
54        "suggestions",
55        "termcolor",
56    ],
57    crate_root = "src/lib.rs",
58    data = select_with_or({
59        "//conditions:default": [
60        ],
61    }),
62    edition = "2018",
63    proc_macro_deps = [
64    ] + select_with_or({
65        "//conditions:default": [
66            "@crate_universe_crate_index__clap_derive-3.1.18//:clap_derive",
67        ],
68    }),
69    rustc_env = {
70    },
71    rustc_env_files = select_with_or({
72        "//conditions:default": [
73        ],
74    }),
75    rustc_flags = [
76        # In most cases, warnings in 3rd party crates are not interesting as
77        # they're out of the control of consumers. The flag here silences
78        # warnings. For more details see:
79        # https://doc.rust-lang.org/rustc/lints/levels.html
80        "--cap-lints=allow",
81    ] + select_with_or({
82        "//conditions:default": [
83        ],
84    }),
85    tags = [
86        "cargo-bazel",
87        "manual",
88        "noclippy",
89        "norustfmt",
90    ],
91    version = "3.1.18",
92    deps = [
93    ] + select_with_or({
94        "//conditions:default": [
95            "@crate_universe_crate_index__atty-0.2.14//:atty",
96            "@crate_universe_crate_index__bitflags-1.3.2//:bitflags",
97            "@crate_universe_crate_index__clap_lex-0.2.0//:clap_lex",
98            "@crate_universe_crate_index__indexmap-1.8.1//:indexmap",
99            "@crate_universe_crate_index__lazy_static-1.4.0//:lazy_static",
100            "@crate_universe_crate_index__strsim-0.10.0//:strsim",
101            "@crate_universe_crate_index__termcolor-1.1.3//:termcolor",
102            "@crate_universe_crate_index__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(["**"]) + select_with_or({
121        "//conditions:default": [
122        ],
123    }),
124    crate_features = [
125        "atty",
126        "clap_derive",
127        "color",
128        "default",
129        "derive",
130        "env",
131        "lazy_static",
132        "std",
133        "strsim",
134        "suggestions",
135        "termcolor",
136    ],
137    crate_root = "src/bin/stdio-fixture.rs",
138    data = select_with_or({
139        "//conditions:default": [
140        ],
141    }),
142    edition = "2018",
143    proc_macro_deps = [
144    ] + select_with_or({
145        "//conditions:default": [
146            "@crate_universe_crate_index__clap_derive-3.1.18//:clap_derive",
147        ],
148    }),
149    rustc_env = {
150    },
151    rustc_env_files = select_with_or({
152        "//conditions:default": [
153        ],
154    }),
155    rustc_flags = [
156        # In most cases, warnings in 3rd party crates are not interesting as
157        # they're out of the control of consumers. The flag here silences
158        # warnings. For more details see:
159        # https://doc.rust-lang.org/rustc/lints/levels.html
160        "--cap-lints=allow",
161    ] + select_with_or({
162        "//conditions:default": [
163        ],
164    }),
165    tags = [
166        "cargo-bazel",
167        "manual",
168        "noclippy",
169        "norustfmt",
170    ],
171    version = "3.1.18",
172    deps = [
173        ":clap",
174    ] + select_with_or({
175        "//conditions:default": [
176            "@crate_universe_crate_index__atty-0.2.14//:atty",
177            "@crate_universe_crate_index__bitflags-1.3.2//:bitflags",
178            "@crate_universe_crate_index__clap_lex-0.2.0//:clap_lex",
179            "@crate_universe_crate_index__indexmap-1.8.1//:indexmap",
180            "@crate_universe_crate_index__lazy_static-1.4.0//:lazy_static",
181            "@crate_universe_crate_index__strsim-0.10.0//:strsim",
182            "@crate_universe_crate_index__termcolor-1.1.3//:termcolor",
183            "@crate_universe_crate_index__textwrap-0.15.0//:textwrap",
184        ],
185    }),
186)