| load("@bazel_skylib//:bzl_library.bzl", "bzl_library") |
| load("//crate_universe:defs.bzl", "crates_vendor") |
| |
| crates_vendor( |
| name = "crates_vendor", |
| cargo_lockfile = "Cargo.lock", |
| manifests = ["Cargo.toml"], |
| mode = "remote", |
| # Short for 'rules_rust rust_analyzer'. 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 = "rrra", |
| tags = ["manual"], |
| ) |
| |
| bzl_library( |
| name = "bzl_lib", |
| srcs = [ |
| "//tools/rust_analyzer/3rdparty/crates:crates.bzl", |
| "//tools/rust_analyzer/3rdparty/crates:defs.bzl", |
| ], |
| visibility = ["//tools/rust_analyzer:__pkg__"], |
| ) |