fork/rules_rust

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

UebelAndreUpdated crate_universe dependencies (#1591)ca567826

0.11.0
1.4 KiB47 linesraw
1load("//crate_universe/private:crate.bzl", "crate")
2load("//crate_universe/private:crates_vendor.bzl", "crates_vendor")
3
4package(default_visibility = ["//visibility:public"])
5
6exports_files([
7    "Cargo.Bazel.lock",
8    "cargo-bazel-lock.json",
9])
10
11crates_vendor(
12    name = "crates_vendor",
13    annotations = {
14        "cargo_metadata": [crate.annotation(
15            shallow_since = "1663068201 +0200",
16        )],
17        "libgit2-sys": [crate.annotation(
18            gen_build_script = False,
19            deps = ["@libgit2"],
20        )],
21        "libz-sys": [crate.annotation(
22            gen_build_script = False,
23            deps = ["@zlib"],
24        )],
25    },
26    cargo_lockfile = "@rules_rust//crate_universe/3rdparty:Cargo.Bazel.lock",
27    manifests = [
28        "@rules_rust//crate_universe:Cargo.toml",
29        "@rules_rust//crate_universe/tools/cross_installer:Cargo.toml",
30        "@rules_rust//crate_universe/tools/urls_generator:Cargo.toml",
31    ],
32    mode = "remote",
33    # Short for 'crate universe index'. Keep this short to reduce the risk to
34    # bump into absolute path length issues on Windows. See:
35    # https://github.com/bazelbuild/rules_rust/issues/1120
36    repository_name = "cui",
37    tags = ["manual"],
38    vendor_path = "crates",
39)
40
41filegroup(
42    name = "bzl_srcs",
43    srcs = glob(["*.bzl"]) + [
44        "//crate_universe/3rdparty/crates:crates.bzl",
45        "//crate_universe/3rdparty/crates:defs.bzl",
46    ],
47)