blob: c5dca7a0a1d409893950be6ddf84f052d3a6d7b4 [file] [log] [blame]
local_repository(
name = "rules_rust",
path = "../../",
)
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
rules_rust_dependencies()
rust_register_toolchains(
edition = "2018",
)
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
crate_universe_dependencies(bootstrap = True)
###############################################################################
# V E N D O R R E M O T E M A N I F E S T S
###############################################################################
load(
"//vendor_remote_manifests/crates:crates.bzl",
crates_vendor_manifests_repositories = "crate_repositories",
)
crates_vendor_manifests_repositories()
###############################################################################
# V E N D O R R E M O T E P A C K A G E S
###############################################################################
load(
"//vendor_remote_pkgs/crates:crates.bzl",
crates_vendor_packages_repositories = "crate_repositories",
)
crates_vendor_packages_repositories()
###############################################################################
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Used for Bazel CI
http_archive(
name = "bazelci_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",
)
load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")
# Creates a default toolchain config for RBE.
# Use this as is if you are using the rbe_ubuntu16_04 container,
# otherwise refer to RBE docs.
rbe_preconfig(
name = "buildkite_config",
toolchain = "ubuntu1804-bazel-java11",
)