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 | ) |
| 16 | load( |
| 17 | "@rules_rust//cargo:defs.bzl", |
| 18 | _cargo_bootstrap_repository = "cargo_bootstrap_repository", |
| 19 | _cargo_build_script = "cargo_build_script", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 20 | _cargo_dep_env = "cargo_dep_env", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 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( |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 31 | "@rules_rust//proto:defs.bzl", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 32 | _rust_grpc_library = "rust_grpc_library", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 33 | _rust_prost_library = "rust_prost_library", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 34 | _rust_proto_library = "rust_proto_library", |
| 35 | ) |
| 36 | load( |
| 37 | "@rules_rust//proto:repositories.bzl", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 38 | _rust_proto_dependencies = "rust_proto_dependencies", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 39 | ) |
| 40 | load( |
| 41 | "@rules_rust//proto:transitive_repositories.bzl", |
| 42 | _rust_proto_transitive_repositories = "rust_proto_transitive_repositories", |
| 43 | ) |
| 44 | load( |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 45 | "@rules_rust//proto/protobuf:toolchain.bzl", |
| 46 | _rust_proto_toolchain = "rust_proto_toolchain", |
| 47 | ) |
| 48 | load( |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 49 | "@rules_rust//rust:defs.bzl", |
| 50 | _capture_clippy_output = "capture_clippy_output", |
| 51 | _error_format = "error_format", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 52 | _extra_rustc_flag = "extra_rustc_flag", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 53 | _extra_rustc_flags = "extra_rustc_flags", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 54 | _rust_analyzer_aspect = "rust_analyzer_aspect", |
| 55 | _rust_binary = "rust_binary", |
| 56 | _rust_clippy = "rust_clippy", |
| 57 | _rust_clippy_aspect = "rust_clippy_aspect", |
| 58 | _rust_doc = "rust_doc", |
| 59 | _rust_doc_test = "rust_doc_test", |
| 60 | _rust_library = "rust_library", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 61 | _rust_library_group = "rust_library_group", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 62 | _rust_proc_macro = "rust_proc_macro", |
| 63 | _rust_shared_library = "rust_shared_library", |
| 64 | _rust_static_library = "rust_static_library", |
| 65 | _rust_test = "rust_test", |
| 66 | _rust_test_suite = "rust_test_suite", |
| 67 | _rustfmt_aspect = "rustfmt_aspect", |
| 68 | _rustfmt_test = "rustfmt_test", |
| 69 | ) |
| 70 | load( |
| 71 | "@rules_rust//rust:repositories.bzl", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 72 | _rules_rust_dependencies = "rules_rust_dependencies", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 73 | _rust_analyzer_toolchain_repository = "rust_analyzer_toolchain_repository", |
| 74 | _rust_analyzer_toolchain_tools_repository = "rust_analyzer_toolchain_tools_repository", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 75 | _rust_register_toolchains = "rust_register_toolchains", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 76 | _rust_repositories = "rust_repositories", |
| 77 | _rust_repository_set = "rust_repository_set", |
| 78 | _rust_toolchain_repository = "rust_toolchain_repository", |
| 79 | _rust_toolchain_repository_proxy = "rust_toolchain_repository_proxy", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 80 | _rust_toolchain_tools_repository = "rust_toolchain_tools_repository", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 81 | _rustfmt_toolchain_repository = "rustfmt_toolchain_repository", |
| 82 | _rustfmt_toolchain_tools_repository = "rustfmt_toolchain_tools_repository", |
| 83 | _toolchain_repository_proxy = "toolchain_repository_proxy", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 84 | ) |
| 85 | load( |
| 86 | "@rules_rust//rust:toolchain.bzl", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 87 | _rust_analyzer_toolchain = "rust_analyzer_toolchain", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 88 | _rust_stdlib_filegroup = "rust_stdlib_filegroup", |
| 89 | _rust_toolchain = "rust_toolchain", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 90 | _rustfmt_toolchain = "rustfmt_toolchain", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 91 | ) |
| 92 | |
| 93 | # buildifier: disable=bzl-visibility |
| 94 | load( |
| 95 | "@rules_rust//rust/private:providers.bzl", |
| 96 | _CrateInfo = "CrateInfo", |
| 97 | _DepInfo = "DepInfo", |
| 98 | _StdLibInfo = "StdLibInfo", |
| 99 | ) |
| 100 | load( |
| 101 | "@rules_rust//rust/settings:incompatible.bzl", |
| 102 | _incompatible_flag = "incompatible_flag", |
| 103 | ) |
| 104 | load( |
| 105 | "@rules_rust//wasm_bindgen:repositories.bzl", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 106 | _rust_wasm_bindgen_dependencies = "rust_wasm_bindgen_dependencies", |
| 107 | _rust_wasm_bindgen_register_toolchains = "rust_wasm_bindgen_register_toolchains", |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 108 | ) |
| 109 | load( |
| 110 | "@rules_rust//wasm_bindgen:wasm_bindgen.bzl", |
| 111 | _rust_wasm_bindgen = "rust_wasm_bindgen", |
| 112 | _rust_wasm_bindgen_toolchain = "rust_wasm_bindgen_toolchain", |
| 113 | ) |
| 114 | |
| 115 | rust_binary = _rust_binary |
| 116 | rust_library = _rust_library |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 117 | rust_library_group = _rust_library_group |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 118 | rust_static_library = _rust_static_library |
| 119 | rust_shared_library = _rust_shared_library |
| 120 | rust_proc_macro = _rust_proc_macro |
| 121 | rust_test = _rust_test |
| 122 | rust_test_suite = _rust_test_suite |
| 123 | rust_doc = _rust_doc |
| 124 | rust_doc_test = _rust_doc_test |
| 125 | |
| 126 | rust_proto_library = _rust_proto_library |
| 127 | rust_grpc_library = _rust_grpc_library |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 128 | rust_prost_library = _rust_prost_library |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 129 | |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 130 | rust_bindgen = _rust_bindgen |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 131 | rust_bindgen_dependencies = _rust_bindgen_dependencies |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 132 | rust_bindgen_library = _rust_bindgen_library |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 133 | rust_bindgen_register_toolchains = _rust_bindgen_register_toolchains |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 134 | rust_bindgen_toolchain = _rust_bindgen_toolchain |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 135 | |
| 136 | rust_toolchain = _rust_toolchain |
| 137 | rust_proto_toolchain = _rust_proto_toolchain |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 138 | rust_proto_dependencies = _rust_proto_dependencies |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 139 | rust_stdlib_filegroup = _rust_stdlib_filegroup |
| 140 | rust_proto_transitive_repositories = _rust_proto_transitive_repositories |
| 141 | |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 142 | cargo_bootstrap_repository = _cargo_bootstrap_repository |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 143 | cargo_build_script = _cargo_build_script |
| 144 | cargo_dep_env = _cargo_dep_env |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 145 | cargo_env = _cargo_env |
| 146 | |
| 147 | rust_wasm_bindgen = _rust_wasm_bindgen |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 148 | rust_wasm_bindgen_dependencies = _rust_wasm_bindgen_dependencies |
| 149 | rust_wasm_bindgen_register_toolchains = _rust_wasm_bindgen_register_toolchains |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 150 | rust_wasm_bindgen_toolchain = _rust_wasm_bindgen_toolchain |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 151 | |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 152 | rules_rust_dependencies = _rules_rust_dependencies |
| 153 | rust_register_toolchains = _rust_register_toolchains |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 154 | rust_repositories = _rust_repositories |
| 155 | rust_repository_set = _rust_repository_set |
| 156 | rust_toolchain_repository = _rust_toolchain_repository |
| 157 | rust_toolchain_repository_proxy = _rust_toolchain_repository_proxy |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 158 | rust_toolchain_tools_repository = _rust_toolchain_tools_repository |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 159 | rustfmt_toolchain_tools_repository = _rustfmt_toolchain_tools_repository |
| 160 | rustfmt_toolchain_repository = _rustfmt_toolchain_repository |
| 161 | rust_analyzer_toolchain_repository = _rust_analyzer_toolchain_repository |
| 162 | rust_analyzer_toolchain_tools_repository = _rust_analyzer_toolchain_tools_repository |
| 163 | toolchain_repository_proxy = _toolchain_repository_proxy |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 164 | |
| 165 | rust_clippy = _rust_clippy |
| 166 | rust_clippy_aspect = _rust_clippy_aspect |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 167 | rust_analyzer_aspect = _rust_analyzer_aspect |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 168 | rust_analyzer_toolchain = _rust_analyzer_toolchain |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 169 | |
| 170 | crate = _crate |
| 171 | crates_repository = _crates_repository |
| 172 | crates_vendor = _crates_vendor |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 173 | crate_universe_dependencies = _crate_universe_dependencies |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 174 | |
| 175 | rustfmt_aspect = _rustfmt_aspect |
| 176 | rustfmt_test = _rustfmt_test |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame] | 177 | rustfmt_toolchain = _rustfmt_toolchain |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 178 | |
| 179 | error_format = _error_format |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 180 | extra_rustc_flag = _extra_rustc_flag |
Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame] | 181 | extra_rustc_flags = _extra_rustc_flags |
| 182 | incompatible_flag = _incompatible_flag |
| 183 | capture_clippy_output = _capture_clippy_output |
| 184 | |
| 185 | CrateInfo = _CrateInfo |
| 186 | DepInfo = _DepInfo |
| 187 | StdLibInfo = _StdLibInfo |