blob: 9da855da063e10f71e2cc411b451b60136982596 [file] [log] [blame]
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",
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",
],
)