2021-01-27 10:30:05 +00:00
|
|
|
workspace(name = "rules_rust")
|
2018-07-18 01:33:03 +00:00
|
|
|
|
2022-01-27 17:55:48 +00:00
|
|
|
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
|
2020-10-13 22:35:53 +00:00
|
|
|
|
2022-01-27 17:55:48 +00:00
|
|
|
rules_rust_dependencies()
|
|
|
|
|
2022-07-21 16:58:55 +00:00
|
|
|
rust_register_toolchains()
|
2020-10-13 22:35:53 +00:00
|
|
|
|
2022-03-21 23:48:20 +00:00
|
|
|
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
|
2022-03-03 14:49:27 +00:00
|
|
|
|
2022-03-21 23:48:20 +00:00
|
|
|
crate_universe_dependencies(bootstrap = True)
|
2022-03-03 14:49:27 +00:00
|
|
|
|
2024-05-09 14:33:10 +00:00
|
|
|
load("//crate_universe/tools/cross_installer:cross_installer_deps.bzl", "cross_installer_deps")
|
|
|
|
|
|
|
|
cross_installer_deps()
|
|
|
|
|
2023-07-05 15:27:50 +00:00
|
|
|
# buildifier: disable=bzl-visibility
|
|
|
|
load("@rules_rust//proto/prost/private:repositories.bzl", "rust_prost_dependencies", "rust_prost_register_toolchains")
|
2020-09-09 19:15:01 +00:00
|
|
|
|
2023-07-05 15:27:50 +00:00
|
|
|
rust_prost_dependencies()
|
2023-06-30 19:16:49 +00:00
|
|
|
|
2023-07-05 15:27:50 +00:00
|
|
|
rust_prost_register_toolchains()
|
2018-11-13 18:27:19 +00:00
|
|
|
|
2023-07-05 15:27:50 +00:00
|
|
|
load("@rules_rust//proto/prost:transitive_repositories.bzl", "rust_prost_transitive_repositories")
|
2021-08-10 12:33:50 +00:00
|
|
|
|
2023-07-05 15:27:50 +00:00
|
|
|
rust_prost_transitive_repositories()
|
2021-08-10 12:33:50 +00:00
|
|
|
|
2023-07-05 15:27:50 +00:00
|
|
|
load("@rules_rust//proto/protobuf:repositories.bzl", "rust_proto_protobuf_dependencies", "rust_proto_protobuf_register_toolchains")
|
|
|
|
|
|
|
|
rust_proto_protobuf_dependencies()
|
|
|
|
|
|
|
|
rust_proto_protobuf_register_toolchains()
|
|
|
|
|
|
|
|
load("@rules_rust//proto/protobuf:transitive_repositories.bzl", "rust_proto_protobuf_transitive_repositories")
|
|
|
|
|
|
|
|
rust_proto_protobuf_transitive_repositories()
|
2023-06-30 19:16:49 +00:00
|
|
|
|
2022-05-23 14:33:51 +00:00
|
|
|
load("@rules_rust//bindgen:repositories.bzl", "rust_bindgen_dependencies", "rust_bindgen_register_toolchains")
|
2020-09-09 19:15:01 +00:00
|
|
|
|
2022-05-23 14:33:51 +00:00
|
|
|
rust_bindgen_dependencies()
|
|
|
|
|
|
|
|
rust_bindgen_register_toolchains()
|
2019-02-06 01:59:45 +00:00
|
|
|
|
2023-06-13 11:52:39 +00:00
|
|
|
load("@rules_rust//bindgen:transitive_repositories.bzl", "rust_bindgen_transitive_dependencies")
|
|
|
|
|
|
|
|
rust_bindgen_transitive_dependencies()
|
|
|
|
|
2022-07-18 15:39:40 +00:00
|
|
|
load("@rules_rust//tools/rust_analyzer:deps.bzl", "rust_analyzer_dependencies")
|
2021-02-16 14:20:15 +00:00
|
|
|
|
2022-07-18 15:39:40 +00:00
|
|
|
rust_analyzer_dependencies()
|
2021-02-16 14:20:15 +00:00
|
|
|
|
2021-01-27 10:30:05 +00:00
|
|
|
load("@rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories")
|
2017-02-10 18:42:41 +00:00
|
|
|
|
2020-09-09 19:15:01 +00:00
|
|
|
rust_wasm_bindgen_repositories()
|
2017-02-10 18:42:41 +00:00
|
|
|
|
2020-12-03 08:56:19 +00:00
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
2020-09-24 12:38:34 +00:00
|
|
|
|
2020-12-03 08:56:19 +00:00
|
|
|
bazel_skylib_workspace()
|
2020-09-24 12:38:34 +00:00
|
|
|
|
2021-06-24 15:34:12 +00:00
|
|
|
load("//test:deps.bzl", "rules_rust_test_deps")
|
2021-01-21 14:05:17 +00:00
|
|
|
|
2021-06-24 15:34:12 +00:00
|
|
|
rules_rust_test_deps()
|
2021-01-21 14:05:17 +00:00
|
|
|
|
2023-07-05 14:20:52 +00:00
|
|
|
load("//test:deps_transitive.bzl", "rules_rust_test_deps_transitive")
|
|
|
|
|
|
|
|
rules_rust_test_deps_transitive()
|
|
|
|
|
2020-01-13 20:33:31 +00:00
|
|
|
# --- end stardoc
|
2018-08-08 22:52:34 +00:00
|
|
|
|
2020-09-24 12:38:34 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
2018-08-08 22:52:34 +00:00
|
|
|
http_archive(
|
2024-06-06 10:28:40 +00:00
|
|
|
name = "bazel_ci_rules",
|
2021-09-29 08:04:09 +00:00
|
|
|
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",
|
2018-08-08 22:52:34 +00:00
|
|
|
)
|
2018-10-22 08:25:21 +00:00
|
|
|
|
2021-09-29 08:04:09 +00:00
|
|
|
# To run with RBE on Bazel CI, uncomment the following lines.
|
|
|
|
#
|
2024-06-06 10:28:40 +00:00
|
|
|
# load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig")
|
2023-10-19 13:12:21 +00:00
|
|
|
# rbe_preconfig(name = "buildkite_config", toolchain = "ubuntu2004-bazel-java11")
|
2024-02-19 17:08:36 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "rules_testing",
|
2024-02-23 15:58:54 +00:00
|
|
|
sha256 = "02c62574631876a4e3b02a1820cb51167bb9cdcdea2381b2fa9d9b8b11c407c4",
|
|
|
|
strip_prefix = "rules_testing-0.6.0",
|
|
|
|
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz",
|
2024-02-19 17:08:36 +00:00
|
|
|
)
|
2024-06-20 15:47:56 +00:00
|
|
|
|
|
|
|
load("//test/3rdparty/crates:crates.bzl", test_crate_repositories = "crate_repositories")
|
|
|
|
|
|
|
|
test_crate_repositories()
|