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
2.0 KiB85 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//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 = ["std"],
32    crate_root = "src/lib.rs",
33    edition = "2021",
34    rustc_flags = ["--cap-lints=allow"],
35    tags = [
36        "cargo-bazel",
37        "manual",
38        "noclippy",
39        "norustfmt",
40    ],
41    version = "1.9.2",
42    deps = [
43        "@rules_rust_bindgen__hashbrown-0.12.3//:hashbrown",
44        "@rules_rust_bindgen__indexmap-1.9.2//:build_script_build",
45    ],
46)
47
48cargo_build_script(
49    name = "indexmap_build_script",
50    srcs = glob(["**/*.rs"]),
51    crate_features = ["std"],
52    crate_name = "build_script_build",
53    crate_root = "build.rs",
54    data = glob(
55        include = ["**"],
56        exclude = [
57            "**/* *",
58            "BUILD",
59            "BUILD.bazel",
60            "WORKSPACE",
61            "WORKSPACE.bazel",
62        ],
63    ),
64    edition = "2021",
65    rustc_flags = [
66        "--cap-lints=allow",
67    ],
68    tags = [
69        "cargo-bazel",
70        "manual",
71        "noclippy",
72        "norustfmt",
73    ],
74    version = "1.9.2",
75    visibility = ["//visibility:private"],
76    deps = [
77        "@rules_rust_bindgen__autocfg-1.1.0//:autocfg",
78    ],
79)
80
81alias(
82    name = "build_script_build",
83    actual = "indexmap_build_script",
84    tags = ["manual"],
85)