-
Notifications
You must be signed in to change notification settings - Fork 440
/
MODULE.bazel
155 lines (143 loc) · 3.65 KB
/
MODULE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
"""bazelbuild/rules_rust"""
module(
name = "rules_rust",
version = "0.56.0",
)
###############################################################################
## Core
###############################################################################
bazel_dep(
name = "bazel_features",
version = "1.21.0",
)
bazel_dep(
name = "bazel_skylib",
version = "1.7.1",
)
bazel_dep(
name = "platforms",
version = "0.0.10",
)
bazel_dep(
name = "rules_cc",
version = "0.0.17",
)
bazel_dep(
name = "rules_license",
version = "1.0.0",
)
bazel_dep(
name = "rules_shell",
version = "0.3.0",
)
bazel_dep(
name = "apple_support",
version = "1.17.1",
repo_name = "build_bazel_apple_support",
)
internal_deps = use_extension("//rust/private:internal_extensions.bzl", "i")
use_repo(
internal_deps,
"rrra__anyhow-1.0.71",
"rrra__clap-4.3.11",
"rrra__env_logger-0.10.0",
"rrra__itertools-0.11.0",
"rrra__log-0.4.19",
"rrra__serde-1.0.171",
"rrra__serde_json-1.0.102",
"rules_rust_tinyjson",
)
rust = use_extension("//rust:extensions.bzl", "rust")
rust.toolchain(edition = "2021")
use_repo(rust, "rust_toolchains")
register_toolchains(
"@rust_toolchains//:all",
)
rust_host_tools = use_extension("//rust:extensions.bzl", "rust_host_tools")
use_repo(rust_host_tools, "rust_host_tools")
rust_test = use_extension("//test:test_extensions.bzl", "rust_test", dev_dependency = True)
use_repo(
rust_test,
"buildkite_config",
"generated_inputs_in_external_repo",
"libc",
"rtra",
"rtra__serde-1.0.216",
"rtra__serde_json-1.0.133",
"rules_rust_test_load_arbitrary_tool",
"rules_rust_toolchain_test_target_json",
)
bazel_dep(
name = "rules_python",
version = "0.40.0",
dev_dependency = True,
)
bazel_dep(
name = "rules_testing",
version = "0.7.0",
dev_dependency = True,
)
bazel_dep(
name = "bazel_ci_rules",
version = "1.0.0",
dev_dependency = True,
)
###############################################################################
## Crate Universe
###############################################################################
crate_universe_internal_deps = use_extension(
"//crate_universe/private:internal_extensions.bzl",
"cu",
)
use_repo(
crate_universe_internal_deps,
"cargo_bazel.buildifier-darwin-amd64",
"cargo_bazel.buildifier-darwin-arm64",
"cargo_bazel.buildifier-linux-amd64",
"cargo_bazel.buildifier-linux-arm64",
"cargo_bazel.buildifier-linux-s390x",
"cargo_bazel.buildifier-windows-amd64.exe",
"cargo_bazel_bootstrap",
"cui",
"cui__anyhow-1.0.89",
"cui__camino-1.1.9",
"cui__cargo-lock-10.0.1",
"cui__cargo-platform-0.1.9",
"cui__cargo_metadata-0.19.1",
"cui__cargo_toml-0.20.5",
"cui__cfg-expr-0.17.2",
"cui__clap-4.3.11",
"cui__crates-index-3.3.0",
"cui__hex-0.4.3",
"cui__indoc-2.0.5",
"cui__itertools-0.13.0",
"cui__maplit-1.0.2",
"cui__normpath-1.3.0",
"cui__once_cell-1.20.2",
"cui__pathdiff-0.2.3",
"cui__regex-1.11.0",
"cui__semver-1.0.23",
"cui__serde-1.0.210",
"cui__serde_json-1.0.129",
"cui__serde_starlark-0.1.16",
"cui__sha2-0.10.8",
"cui__spdx-0.10.7",
"cui__tempfile-3.14.0",
"cui__tera-1.19.1",
"cui__textwrap-0.16.1",
"cui__toml-0.8.19",
"cui__tracing-0.1.40",
"cui__tracing-subscriber-0.3.18",
"cui__url-2.5.2",
"cui__walkdir-2.5.0",
)
crate_universe_internal_dev_deps = use_extension(
"//crate_universe/private:internal_extensions.bzl",
"cu_dev",
dev_dependency = True,
)
use_repo(
crate_universe_internal_dev_deps,
"cross_rs",
"cross_rs_host_bin",
)