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 = { "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/3rdparty:Cargo.Bazel.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", ], )