fork/rules_rust

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

Daniel Wagner-HallUse env method recently added to cargo_metadata (#1813)78ca9ba0

rust-analyzer
1.6 KiB63 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("@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        "color",
32        "default",
33        "derive",
34        "env",
35        "error-context",
36        "help",
37        "std",
38        "suggestions",
39        "usage",
40    ],
41    crate_root = "src/lib.rs",
42    edition = "2021",
43    proc_macro_deps = [
44        "@cui__clap_derive-4.0.21//:clap_derive",
45    ],
46    rustc_flags = ["--cap-lints=allow"],
47    tags = [
48        "cargo-bazel",
49        "crate-name=clap",
50        "manual",
51        "noclippy",
52        "norustfmt",
53    ],
54    version = "4.0.32",
55    deps = [
56        "@cui__bitflags-1.3.2//:bitflags",
57        "@cui__clap_lex-0.3.1//:clap_lex",
58        "@cui__is-terminal-0.4.2//:is_terminal",
59        "@cui__once_cell-1.17.0//:once_cell",
60        "@cui__strsim-0.10.0//:strsim",
61        "@cui__termcolor-1.1.3//:termcolor",
62    ],
63)