fork/rules_rust

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

UebelAndreUpdated crate_universe version (to `0.3.0`) and dependencies (#1409)d3197a65

0.6.0
4.8 KiB180 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    ],
82    tags = [
83        "cargo-bazel",
84        "manual",
85        "noclippy",
86        "norustfmt",
87    ],
88    version = "3.1.18",
89    deps = [
90    ] + select_with_or({
91        "//conditions:default": [
92            "@crate_universe_crate_index__atty-0.2.14//:atty",
93            "@crate_universe_crate_index__bitflags-1.3.2//:bitflags",
94            "@crate_universe_crate_index__clap_lex-0.2.0//:clap_lex",
95            "@crate_universe_crate_index__indexmap-1.8.2//:indexmap",
96            "@crate_universe_crate_index__lazy_static-1.4.0//:lazy_static",
97            "@crate_universe_crate_index__strsim-0.10.0//:strsim",
98            "@crate_universe_crate_index__termcolor-1.1.3//:termcolor",
99            "@crate_universe_crate_index__textwrap-0.15.0//:textwrap",
100        ],
101    }),
102)
103
104rust_binary(
105    name = "stdio-fixture__bin",
106    srcs = glob(
107        include = [
108            "**/*.rs",
109        ],
110        exclude = [
111        ],
112    ),
113    aliases = selects.with_or({
114        "//conditions:default": {
115        },
116    }),
117    compile_data = glob(["**"]) + select_with_or({
118        "//conditions:default": [
119        ],
120    }),
121    crate_features = [
122        "atty",
123        "clap_derive",
124        "color",
125        "default",
126        "derive",
127        "env",
128        "lazy_static",
129        "std",
130        "strsim",
131        "suggestions",
132        "termcolor",
133    ],
134    crate_root = "src/bin/stdio-fixture.rs",
135    data = select_with_or({
136        "//conditions:default": [
137        ],
138    }),
139    edition = "2018",
140    proc_macro_deps = [
141    ] + select_with_or({
142        "//conditions:default": [
143            "@crate_universe_crate_index__clap_derive-3.1.18//:clap_derive",
144        ],
145    }),
146    rustc_env = {
147    },
148    rustc_env_files = select_with_or({
149        "//conditions:default": [
150        ],
151    }),
152    rustc_flags = [
153        # In most cases, warnings in 3rd party crates are not interesting as
154        # they're out of the control of consumers. The flag here silences
155        # warnings. For more details see:
156        # https://doc.rust-lang.org/rustc/lints/levels.html
157        "--cap-lints=allow",
158    ],
159    tags = [
160        "cargo-bazel",
161        "manual",
162        "noclippy",
163        "norustfmt",
164    ],
165    version = "3.1.18",
166    deps = [
167        ":clap",
168    ] + select_with_or({
169        "//conditions:default": [
170            "@crate_universe_crate_index__atty-0.2.14//:atty",
171            "@crate_universe_crate_index__bitflags-1.3.2//:bitflags",
172            "@crate_universe_crate_index__clap_lex-0.2.0//:clap_lex",
173            "@crate_universe_crate_index__indexmap-1.8.2//:indexmap",
174            "@crate_universe_crate_index__lazy_static-1.4.0//:lazy_static",
175            "@crate_universe_crate_index__strsim-0.10.0//:strsim",
176            "@crate_universe_crate_index__termcolor-1.1.3//:termcolor",
177            "@crate_universe_crate_index__textwrap-0.15.0//:textwrap",
178        ],
179    }),
180)