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
2.1 KiB87 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//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",  # MIT
16# ])
17
18rust_library(
19    name = "generic_array",
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 = ["more_lengths"],
32    crate_root = "src/lib.rs",
33    edition = "2015",
34    rustc_flags = ["--cap-lints=allow"],
35    tags = [
36        "cargo-bazel",
37        "crate-name=generic-array",
38        "manual",
39        "noclippy",
40        "norustfmt",
41    ],
42    version = "0.14.6",
43    deps = [
44        "@cui__generic-array-0.14.6//:build_script_build",
45        "@cui__typenum-1.16.0//:typenum",
46    ],
47)
48
49cargo_build_script(
50    name = "generic-array_build_script",
51    srcs = glob(["**/*.rs"]),
52    crate_features = ["more_lengths"],
53    crate_name = "build_script_build",
54    crate_root = "build.rs",
55    data = glob(
56        include = ["**"],
57        exclude = [
58            "**/* *",
59            "BUILD",
60            "BUILD.bazel",
61            "WORKSPACE",
62            "WORKSPACE.bazel",
63        ],
64    ),
65    edition = "2015",
66    rustc_flags = [
67        "--cap-lints=allow",
68    ],
69    tags = [
70        "cargo-bazel",
71        "crate-name=generic-array",
72        "manual",
73        "noclippy",
74        "norustfmt",
75    ],
76    version = "0.14.6",
77    visibility = ["//visibility:private"],
78    deps = [
79        "@cui__version_check-0.9.4//:version_check",
80    ],
81)
82
83alias(
84    name = "build_script_build",
85    actual = "generic-array_build_script",
86    tags = ["manual"],
87)