blob: 350ae68ccbf87b32baa886911a9e78d34d7a7b39 [file] [log] [blame] [edit]
workspace(name = "rules_rust")
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
rules_rust_dependencies()
rust_register_toolchains()
load("@rules_rust//rust:repositories_transitive.bzl", "rules_rust_transitive_dependencies")
rules_rust_transitive_dependencies()
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
crate_universe_dependencies(bootstrap = True)
load("//crate_universe/tools/cross_installer:cross_installer_deps.bzl", "cross_installer_deps")
cross_installer_deps()
load("@rules_rust//cargo:deps.bzl", "cargo_dependencies")
cargo_dependencies()
load("@rules_rust//tools/rust_analyzer:deps.bzl", "rust_analyzer_dependencies")
rust_analyzer_dependencies()
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
load("//test:deps.bzl", "rules_rust_test_deps")
rules_rust_test_deps()
load("//test:deps_transitive.bzl", "rules_rust_test_deps_transitive")
rules_rust_test_deps_transitive()
# --- end stardoc
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_ci_rules",
sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e",
strip_prefix = "bazelci_rules-1.0.0",
url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
)
# To run with RBE on Bazel CI, uncomment the following lines.
#
# load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig")
# rbe_preconfig(name = "buildkite_config", toolchain = "ubuntu2004-bazel-java11")