xref: /aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/defs.bzl (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1*d4726bddSHONG Yifan"""Crate Universe rules"""
2*d4726bddSHONG Yifan
3*d4726bddSHONG Yifanload(
4*d4726bddSHONG Yifan    "//crate_universe/private:crate.bzl",
5*d4726bddSHONG Yifan    _crate = "crate",
6*d4726bddSHONG Yifan)
7*d4726bddSHONG Yifanload(
8*d4726bddSHONG Yifan    "//crate_universe/private:crates_repository.bzl",
9*d4726bddSHONG Yifan    _crates_repository = "crates_repository",
10*d4726bddSHONG Yifan)
11*d4726bddSHONG Yifanload(
12*d4726bddSHONG Yifan    "//crate_universe/private:crates_vendor.bzl",
13*d4726bddSHONG Yifan    _crates_vendor = "crates_vendor",
14*d4726bddSHONG Yifan)
15*d4726bddSHONG Yifanload(
16*d4726bddSHONG Yifan    "//crate_universe/private:generate_utils.bzl",
17*d4726bddSHONG Yifan    _render_config = "render_config",
18*d4726bddSHONG Yifan)
19*d4726bddSHONG Yifanload(
20*d4726bddSHONG Yifan    "//crate_universe/private:splicing_utils.bzl",
21*d4726bddSHONG Yifan    _splicing_config = "splicing_config",
22*d4726bddSHONG Yifan)
23*d4726bddSHONG Yifan
24*d4726bddSHONG Yifan# Rules
25*d4726bddSHONG Yifancrates_repository = _crates_repository
26*d4726bddSHONG Yifancrates_vendor = _crates_vendor
27*d4726bddSHONG Yifan
28*d4726bddSHONG Yifan# Utility Macros
29*d4726bddSHONG Yifancrate = _crate
30*d4726bddSHONG Yifanrender_config = _render_config
31*d4726bddSHONG Yifansplicing_config = _splicing_config
32