fork/rules_rust

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

Joseph RyanRemove ios/android/wasm support for gen_rust_project depsd8ea6b8c

rust-analyzer
2.1 KiB91 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 @//tools/rust_analyzer/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15#     "TODO",  # Apache-2.0 OR MIT
16# ])
17
18rust_library(
19    name = "indexmap",
20    srcs = glob(["**/*.rs"]),
21    compile_data = glob(
22        include = ["**"],
23        exclude = [
24            "**/* *",
25            "BUILD",
26            "BUILD.bazel",
27            "WORKSPACE",
28            "WORKSPACE.bazel",
29        ],
30    ),
31    crate_features = [
32        "std",
33    ],
34    crate_root = "src/lib.rs",
35    edition = "2021",
36    rustc_flags = ["--cap-lints=allow"],
37    tags = [
38        "cargo-bazel",
39        "crate-name=indexmap",
40        "manual",
41        "noclippy",
42        "norustfmt",
43    ],
44    version = "1.9.2",
45    deps = [
46        "@rules_rust_rust_analyzer__hashbrown-0.12.3//:hashbrown",
47        "@rules_rust_rust_analyzer__indexmap-1.9.2//:build_script_build",
48    ],
49)
50
51cargo_build_script(
52    name = "indexmap_build_script",
53    srcs = glob(["**/*.rs"]),
54    crate_features = [
55        "std",
56    ],
57    crate_name = "build_script_build",
58    crate_root = "build.rs",
59    data = glob(
60        include = ["**"],
61        exclude = [
62            "**/* *",
63            "BUILD",
64            "BUILD.bazel",
65            "WORKSPACE",
66            "WORKSPACE.bazel",
67        ],
68    ),
69    edition = "2021",
70    rustc_flags = [
71        "--cap-lints=allow",
72    ],
73    tags = [
74        "cargo-bazel",
75        "crate-name=indexmap",
76        "manual",
77        "noclippy",
78        "norustfmt",
79    ],
80    version = "1.9.2",
81    visibility = ["//visibility:private"],
82    deps = [
83        "@rules_rust_rust_analyzer__autocfg-1.1.0//:autocfg",
84    ],
85)
86
87alias(
88    name = "build_script_build",
89    actual = "indexmap_build_script",
90    tags = ["manual"],
91)