blob: 9df6a5593e26a6ed763e0e0e11878df9cf507495 [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
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:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT"
29])
30
31# Generated Targets
32
33rust_library(
34 name = "clap",
35 srcs = glob(["**/*.rs"]),
36 aliases = {
37 },
38 crate_features = [
39 "ansi_term",
40 "atty",
41 "color",
42 "default",
43 "strsim",
44 "suggestions",
45 "vec_map",
46 ],
47 crate_root = "src/lib.rs",
48 crate_type = "lib",
49 data = [],
50 edition = "2015",
51 rustc_flags = [
52 "--cap-lints=allow",
53 ],
54 tags = [
55 "cargo-raze",
56 "manual",
57 ],
58 version = "2.33.3",
59 # buildifier: leave-alone
60 deps = [
61 "@raze__atty__0_2_14//:atty",
62 "@raze__bitflags__1_2_1//:bitflags",
63 "@raze__strsim__0_8_0//:strsim",
64 "@raze__textwrap__0_11_0//:textwrap",
65 "@raze__unicode_width__0_1_8//:unicode_width",
66 "@raze__vec_map__0_8_2//:vec_map",
67 ] + selects.with_or({
68 # cfg(not(windows))
69 (
70 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
71 ): [
72 "@raze__ansi_term__0_11_0//:ansi_term",
73 ],
74 "//conditions:default": [],
75 }),
76)