blob: 935b2e59d6b3d6fbae0df28196ff3da3bc017e11 [file] [log] [blame]
load("//crate_universe/private:crate.bzl", "crate")
load("//crate_universe/private:crates_vendor.bzl", "crates_vendor")
package(default_visibility = ["//visibility:public"])
exports_files([
"Cargo.Bazel.lock",
"cargo-bazel-lock.json",
])
crates_vendor(
name = "crates_vendor",
annotations = {
"cargo_metadata": [crate.annotation(
shallow_since = "1663068201 +0200",
)],
"libgit2-sys": [crate.annotation(
gen_build_script = False,
deps = ["@libgit2"],
)],
"libz-sys": [crate.annotation(
gen_build_script = False,
deps = ["@zlib"],
)],
},
cargo_lockfile = "@rules_rust//crate_universe:Cargo.lock",
manifests = [
"@rules_rust//crate_universe:Cargo.toml",
"@rules_rust//crate_universe/tools/cross_installer:Cargo.toml",
"@rules_rust//crate_universe/tools/urls_generator:Cargo.toml",
],
mode = "remote",
# Short for 'crate universe index'. Keep this short to reduce the risk to
# bump into absolute path length issues on Windows. See:
# https://github.com/bazelbuild/rules_rust/issues/1120
repository_name = "cui",
tags = ["manual"],
vendor_path = "crates",
)
filegroup(
name = "bzl_srcs",
srcs = glob(["*.bzl"]) + [
"//crate_universe/3rdparty/crates:crates.bzl",
"//crate_universe/3rdparty/crates:defs.bzl",
],
)