Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 1 | """Bzlmod module extensions that are only used internally""" |
2 | |||||
3 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||||
4 | load("//rust/private:repository_utils.bzl", "TINYJSON_KWARGS") | ||||
5 | |||||
6 | def _internal_deps_impl(_module_ctx): | ||||
7 | http_archive(**TINYJSON_KWARGS) | ||||
8 | |||||
9 | internal_deps = module_extension( | ||||
10 | doc = "Dependencies for rules_rust", | ||||
11 | implementation = _internal_deps_impl, | ||||
12 | ) |