|
1 | 1 | workspace(name = "rules_rust_prost") |
2 | | - |
3 | | -# Users of `rules_rust` will commonly be unable to load it |
4 | | -# using a `local_repository`. Instead, to setup the rules, |
5 | | -# please see https://bazelbuild.github.io/rules_rust/#setup |
6 | | -local_repository( |
7 | | - name = "rules_rust", |
8 | | - path = "../..", |
9 | | -) |
10 | | - |
11 | | -load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") |
12 | | - |
13 | | -rules_rust_dependencies() |
14 | | - |
15 | | -rust_register_toolchains() |
16 | | - |
17 | | -load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") |
18 | | - |
19 | | -crate_universe_dependencies(bootstrap = True) |
20 | | - |
21 | | -load("@rules_rust//tools/rust_analyzer:deps.bzl", "rust_analyzer_dependencies") |
22 | | - |
23 | | -rust_analyzer_dependencies() |
24 | | - |
25 | | -# buildifier: disable=bzl-visibility |
26 | | -load("//private:repositories.bzl", "rust_prost_dependencies", "rust_prost_register_toolchains") |
27 | | - |
28 | | -rust_prost_dependencies() |
29 | | - |
30 | | -rust_prost_register_toolchains() |
31 | | - |
32 | | -load("//:transitive_repositories.bzl", "rust_prost_transitive_repositories") |
33 | | - |
34 | | -rust_prost_transitive_repositories() |
35 | | - |
36 | | -# Needed by protobuf |
37 | | -load("@rules_python//python:repositories.bzl", "py_repositories") |
38 | | - |
39 | | -py_repositories() |
40 | | - |
41 | | -# buildifier: disable=bzl-visibility |
42 | | -load("//private/tests:deps.bzl", "prost_test_deps") |
43 | | - |
44 | | -prost_test_deps() |
45 | | - |
46 | | -# buildifier: disable=bzl-visibility |
47 | | -load("//private/tests:deps_transitive.bzl", "prost_test_transitive_deps") |
48 | | - |
49 | | -prost_test_transitive_deps() |
50 | | - |
51 | | -load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") |
52 | | - |
53 | | -bazel_skylib_workspace() |
54 | | - |
55 | | -# --- end stardoc |
56 | | - |
57 | | -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
58 | | - |
59 | | -http_archive( |
60 | | - name = "bazel_ci_rules", |
61 | | - sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e", |
62 | | - strip_prefix = "bazelci_rules-1.0.0", |
63 | | - url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz", |
64 | | -) |
65 | | - |
66 | | -# To run with RBE on Bazel CI, uncomment the following lines. |
67 | | -# |
68 | | -# load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") |
69 | | -# rbe_preconfig(name = "buildkite_config", toolchain = "ubuntu2004-bazel-java11") |
70 | | - |
71 | | -http_archive( |
72 | | - name = "rules_testing", |
73 | | - sha256 = "02c62574631876a4e3b02a1820cb51167bb9cdcdea2381b2fa9d9b8b11c407c4", |
74 | | - strip_prefix = "rules_testing-0.6.0", |
75 | | - url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz", |
76 | | -) |
0 commit comments