fork/rules_rust

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

David TolnayMake loads from @rules_rust//rust:defs.bzl come out on one line (#1753)a31490d9

rust-analyzer
1.5 KiB58 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("@rules_rust//rust:defs.bzl", "rust_library")
10
11package(default_visibility = ["//visibility:public"])
12
13# licenses([
14#     "TODO",  # MIT OR Apache-2.0
15# ])
16
17rust_library(
18    name = "clap",
19    srcs = glob(["**/*.rs"]),
20    compile_data = glob(
21        include = ["**"],
22        exclude = [
23            "**/* *",
24            "BUILD",
25            "BUILD.bazel",
26            "WORKSPACE",
27            "WORKSPACE.bazel",
28        ],
29    ),
30    crate_features = [
31        "atty",
32        "color",
33        "default",
34        "std",
35        "strsim",
36        "suggestions",
37        "termcolor",
38    ],
39    crate_root = "src/lib.rs",
40    edition = "2021",
41    rustc_flags = ["--cap-lints=allow"],
42    tags = [
43        "cargo-bazel",
44        "manual",
45        "noclippy",
46        "norustfmt",
47    ],
48    version = "3.2.23",
49    deps = [
50        "@rules_rust_bindgen__atty-0.2.14//:atty",
51        "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
52        "@rules_rust_bindgen__clap_lex-0.2.4//:clap_lex",
53        "@rules_rust_bindgen__indexmap-1.9.2//:indexmap",
54        "@rules_rust_bindgen__strsim-0.10.0//:strsim",
55        "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
56        "@rules_rust_bindgen__textwrap-0.16.0//:textwrap",
57    ],
58)