fork/rules_rust

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

UebelAndreImplement rules archive release artifact in github action. (#1501)76360dd3

0.9.0
1.3 KiB44 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        "libgit2-sys": [crate.annotation(
15            gen_build_script = False,
16            deps = ["@libgit2"],
17        )],
18        "libz-sys": [crate.annotation(
19            gen_build_script = False,
20            deps = ["@zlib"],
21        )],
22    },
23    cargo_lockfile = "@rules_rust//crate_universe/3rdparty:Cargo.Bazel.lock",
24    manifests = [
25        "@rules_rust//crate_universe:Cargo.toml",
26        "@rules_rust//crate_universe/tools/cross_installer:Cargo.toml",
27        "@rules_rust//crate_universe/tools/urls_generator:Cargo.toml",
28    ],
29    mode = "remote",
30    # Short for 'crate universe index'. Keep this short to reduce the risk to
31    # bump into absolute path length issues on Windows. See:
32    # https://github.com/bazelbuild/rules_rust/issues/1120
33    repository_name = "cui",
34    tags = ["manual"],
35    vendor_path = "crates",
36)
37
38filegroup(
39    name = "bzl_srcs",
40    srcs = glob(["*.bzl"]) + [
41        "//crate_universe/3rdparty/crates:crates.bzl",
42        "//crate_universe/3rdparty/crates:defs.bzl",
43    ],
44)