Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 1 | """This module provides a single place for all aspects, rules, and macros that are meant |
| 2 | to have stardoc generated documentation. |
| 3 | """ |
| 4 | |
| 5 | load( |
| 6 | "@rules_rust//bindgen:bindgen.bzl", |
| 7 | _rust_bindgen = "rust_bindgen", |
| 8 | _rust_bindgen_library = "rust_bindgen_library", |
| 9 | _rust_bindgen_toolchain = "rust_bindgen_toolchain", |
| 10 | ) |
| 11 | load( |
| 12 | "@rules_rust//bindgen:repositories.bzl", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 13 | _rust_bindgen_dependencies = "rust_bindgen_dependencies", |
| 14 | _rust_bindgen_register_toolchains = "rust_bindgen_register_toolchains", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 15 | _rust_bindgen_repositories = "rust_bindgen_repositories", |
| 16 | ) |
| 17 | load( |
| 18 | "@rules_rust//cargo:defs.bzl", |
| 19 | _cargo_bootstrap_repository = "cargo_bootstrap_repository", |
| 20 | _cargo_build_script = "cargo_build_script", |
| 21 | _cargo_env = "cargo_env", |
| 22 | ) |
| 23 | load( |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 24 | "@rules_rust//crate_universe:docs.bzl", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 25 | _crate = "crate", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 26 | _crate_universe_dependencies = "crate_universe_dependencies", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 27 | _crates_repository = "crates_repository", |
| 28 | _crates_vendor = "crates_vendor", |
| 29 | ) |
| 30 | load( |
| 31 | "@rules_rust//proto:proto.bzl", |
| 32 | _rust_grpc_library = "rust_grpc_library", |
| 33 | _rust_proto_library = "rust_proto_library", |
| 34 | ) |
| 35 | load( |
| 36 | "@rules_rust//proto:repositories.bzl", |
| 37 | _rust_proto_repositories = "rust_proto_repositories", |
| 38 | ) |
| 39 | load( |
| 40 | "@rules_rust//proto:toolchain.bzl", |
| 41 | _rust_proto_toolchain = "rust_proto_toolchain", |
| 42 | ) |
| 43 | load( |
| 44 | "@rules_rust//proto:transitive_repositories.bzl", |
| 45 | _rust_proto_transitive_repositories = "rust_proto_transitive_repositories", |
| 46 | ) |
| 47 | load( |
| 48 | "@rules_rust//rust:defs.bzl", |
| 49 | _capture_clippy_output = "capture_clippy_output", |
| 50 | _error_format = "error_format", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 51 | _extra_rustc_flag = "extra_rustc_flag", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 52 | _extra_rustc_flags = "extra_rustc_flags", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 53 | _rust_analyzer_aspect = "rust_analyzer_aspect", |
| 54 | _rust_binary = "rust_binary", |
| 55 | _rust_clippy = "rust_clippy", |
| 56 | _rust_clippy_aspect = "rust_clippy_aspect", |
| 57 | _rust_doc = "rust_doc", |
| 58 | _rust_doc_test = "rust_doc_test", |
| 59 | _rust_library = "rust_library", |
| 60 | _rust_proc_macro = "rust_proc_macro", |
| 61 | _rust_shared_library = "rust_shared_library", |
| 62 | _rust_static_library = "rust_static_library", |
| 63 | _rust_test = "rust_test", |
| 64 | _rust_test_suite = "rust_test_suite", |
| 65 | _rustfmt_aspect = "rustfmt_aspect", |
| 66 | _rustfmt_test = "rustfmt_test", |
| 67 | ) |
| 68 | load( |
| 69 | "@rules_rust//rust:repositories.bzl", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 70 | _rules_rust_dependencies = "rules_rust_dependencies", |
| 71 | _rust_register_toolchains = "rust_register_toolchains", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 72 | _rust_repositories = "rust_repositories", |
| 73 | _rust_repository_set = "rust_repository_set", |
| 74 | _rust_toolchain_repository = "rust_toolchain_repository", |
| 75 | _rust_toolchain_repository_proxy = "rust_toolchain_repository_proxy", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 76 | _rust_toolchain_tools_repository = "rust_toolchain_tools_repository", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 77 | ) |
| 78 | load( |
| 79 | "@rules_rust//rust:toolchain.bzl", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 80 | _rust_analyzer_toolchain = "rust_analyzer_toolchain", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 81 | _rust_stdlib_filegroup = "rust_stdlib_filegroup", |
| 82 | _rust_toolchain = "rust_toolchain", |
| 83 | ) |
| 84 | |
| 85 | # buildifier: disable=bzl-visibility |
| 86 | load( |
| 87 | "@rules_rust//rust/private:providers.bzl", |
| 88 | _CrateInfo = "CrateInfo", |
| 89 | _DepInfo = "DepInfo", |
| 90 | _StdLibInfo = "StdLibInfo", |
| 91 | ) |
| 92 | load( |
| 93 | "@rules_rust//rust/settings:incompatible.bzl", |
| 94 | _incompatible_flag = "incompatible_flag", |
| 95 | ) |
| 96 | load( |
| 97 | "@rules_rust//wasm_bindgen:repositories.bzl", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 98 | _rust_wasm_bindgen_dependencies = "rust_wasm_bindgen_dependencies", |
| 99 | _rust_wasm_bindgen_register_toolchains = "rust_wasm_bindgen_register_toolchains", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 100 | ) |
| 101 | load( |
| 102 | "@rules_rust//wasm_bindgen:wasm_bindgen.bzl", |
| 103 | _rust_wasm_bindgen = "rust_wasm_bindgen", |
| 104 | _rust_wasm_bindgen_toolchain = "rust_wasm_bindgen_toolchain", |
| 105 | ) |
| 106 | |
| 107 | rust_binary = _rust_binary |
| 108 | rust_library = _rust_library |
| 109 | rust_static_library = _rust_static_library |
| 110 | rust_shared_library = _rust_shared_library |
| 111 | rust_proc_macro = _rust_proc_macro |
| 112 | rust_test = _rust_test |
| 113 | rust_test_suite = _rust_test_suite |
| 114 | rust_doc = _rust_doc |
| 115 | rust_doc_test = _rust_doc_test |
| 116 | |
| 117 | rust_proto_library = _rust_proto_library |
| 118 | rust_grpc_library = _rust_grpc_library |
| 119 | |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 120 | rust_bindgen = _rust_bindgen |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 121 | rust_bindgen_dependencies = _rust_bindgen_dependencies |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 122 | rust_bindgen_library = _rust_bindgen_library |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 123 | rust_bindgen_register_toolchains = _rust_bindgen_register_toolchains |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 124 | rust_bindgen_repositories = _rust_bindgen_repositories |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 125 | rust_bindgen_toolchain = _rust_bindgen_toolchain |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 126 | |
| 127 | rust_toolchain = _rust_toolchain |
| 128 | rust_proto_toolchain = _rust_proto_toolchain |
| 129 | rust_proto_repositories = _rust_proto_repositories |
| 130 | rust_stdlib_filegroup = _rust_stdlib_filegroup |
| 131 | rust_proto_transitive_repositories = _rust_proto_transitive_repositories |
| 132 | |
| 133 | cargo_build_script = _cargo_build_script |
| 134 | cargo_bootstrap_repository = _cargo_bootstrap_repository |
| 135 | cargo_env = _cargo_env |
| 136 | |
| 137 | rust_wasm_bindgen = _rust_wasm_bindgen |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 138 | rust_wasm_bindgen_dependencies = _rust_wasm_bindgen_dependencies |
| 139 | rust_wasm_bindgen_register_toolchains = _rust_wasm_bindgen_register_toolchains |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 140 | rust_wasm_bindgen_toolchain = _rust_wasm_bindgen_toolchain |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 141 | |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 142 | rules_rust_dependencies = _rules_rust_dependencies |
| 143 | rust_register_toolchains = _rust_register_toolchains |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 144 | rust_repositories = _rust_repositories |
| 145 | rust_repository_set = _rust_repository_set |
| 146 | rust_toolchain_repository = _rust_toolchain_repository |
| 147 | rust_toolchain_repository_proxy = _rust_toolchain_repository_proxy |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 148 | rust_toolchain_tools_repository = _rust_toolchain_tools_repository |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 149 | |
| 150 | rust_clippy = _rust_clippy |
| 151 | rust_clippy_aspect = _rust_clippy_aspect |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 152 | rust_analyzer_aspect = _rust_analyzer_aspect |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 153 | rust_analyzer_toolchain = _rust_analyzer_toolchain |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 154 | |
| 155 | crate = _crate |
| 156 | crates_repository = _crates_repository |
| 157 | crates_vendor = _crates_vendor |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 158 | crate_universe_dependencies = _crate_universe_dependencies |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 159 | |
| 160 | rustfmt_aspect = _rustfmt_aspect |
| 161 | rustfmt_test = _rustfmt_test |
| 162 | |
| 163 | error_format = _error_format |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame^] | 164 | extra_rustc_flag = _extra_rustc_flag |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 165 | extra_rustc_flags = _extra_rustc_flags |
| 166 | incompatible_flag = _incompatible_flag |
| 167 | capture_clippy_output = _capture_clippy_output |
| 168 | |
| 169 | CrateInfo = _CrateInfo |
| 170 | DepInfo = _DepInfo |
| 171 | StdLibInfo = _StdLibInfo |