|
| 1 | +"""bazelbuild/rules_rust""" |
| 2 | + |
| 3 | +module( |
| 4 | + name = "rules_rust", |
| 5 | + version = "0.36.2", |
| 6 | +) |
| 7 | + |
| 8 | +bazel_dep( |
| 9 | + name = "bazel_skylib", |
| 10 | + version = "1.5.0", |
| 11 | +) |
| 12 | +bazel_dep( |
| 13 | + name = "platforms", |
| 14 | + version = "0.0.8", |
| 15 | +) |
| 16 | +bazel_dep( |
| 17 | + name = "rules_cc", |
| 18 | + version = "0.0.9", |
| 19 | +) |
| 20 | +bazel_dep( |
| 21 | + name = "rules_proto", |
| 22 | + version = "5.3.0-21.7", |
| 23 | +) |
| 24 | +bazel_dep( |
| 25 | + name = "apple_support", |
| 26 | + version = "1.11.1", |
| 27 | + repo_name = "build_bazel_apple_support", |
| 28 | +) |
| 29 | +bazel_dep( |
| 30 | + name = "protobuf", |
| 31 | + version = "21.7", |
| 32 | + repo_name = "com_google_protobuf", |
| 33 | +) |
| 34 | + |
| 35 | +internal_deps = use_extension("//rust/private:extensions.bzl", "internal_deps") |
| 36 | +use_repo( |
| 37 | + internal_deps, |
| 38 | + "bazelci_rules", |
| 39 | + "cargo_bazel.buildifier-darwin-amd64", |
| 40 | + "cargo_bazel.buildifier-darwin-arm64", |
| 41 | + "cargo_bazel.buildifier-linux-amd64", |
| 42 | + "cargo_bazel.buildifier-linux-arm64", |
| 43 | + "cargo_bazel.buildifier-windows-amd64.exe", |
| 44 | + "com_google_googleapis", |
| 45 | + "cui", |
| 46 | + "cui__anyhow-1.0.75", |
| 47 | + "cui__cargo-lock-9.0.0", |
| 48 | + "cui__cargo-platform-0.1.4", |
| 49 | + "cui__cargo_metadata-0.18.1", |
| 50 | + "cui__cargo_toml-0.17.1", |
| 51 | + "cui__cfg-expr-0.15.5", |
| 52 | + "cui__clap-4.3.11", |
| 53 | + "cui__crates-index-2.2.0", |
| 54 | + "cui__hex-0.4.3", |
| 55 | + "cui__indoc-2.0.4", |
| 56 | + "cui__itertools-0.12.0", |
| 57 | + "cui__maplit-1.0.2", |
| 58 | + "cui__normpath-1.1.1", |
| 59 | + "cui__pathdiff-0.2.1", |
| 60 | + "cui__regex-1.10.2", |
| 61 | + "cui__semver-1.0.20", |
| 62 | + "cui__serde-1.0.190", |
| 63 | + "cui__serde_json-1.0.108", |
| 64 | + "cui__serde_starlark-0.1.14", |
| 65 | + "cui__sha2-0.10.8", |
| 66 | + "cui__spectral-0.6.0", |
| 67 | + "cui__tempfile-3.8.1", |
| 68 | + "cui__tera-1.19.1", |
| 69 | + "cui__textwrap-0.16.0", |
| 70 | + "cui__toml-0.8.6", |
| 71 | + "cui__tracing-0.1.40", |
| 72 | + "cui__tracing-subscriber-0.3.17", |
| 73 | + "generated_inputs_in_external_repo", |
| 74 | + "libc", |
| 75 | + "llvm-raw", |
| 76 | + "rrra__anyhow-1.0.71", |
| 77 | + "rrra__clap-4.3.11", |
| 78 | + "rrra__env_logger-0.10.0", |
| 79 | + "rrra__itertools-0.11.0", |
| 80 | + "rrra__log-0.4.19", |
| 81 | + "rrra__serde-1.0.171", |
| 82 | + "rrra__serde_json-1.0.102", |
| 83 | + "rules_rust_bindgen__bindgen-0.69.1", |
| 84 | + "rules_rust_bindgen__bindgen-cli-0.69.1", |
| 85 | + "rules_rust_bindgen__clang-sys-1.6.1", |
| 86 | + "rules_rust_bindgen__clap-4.3.3", |
| 87 | + "rules_rust_bindgen__clap_complete-4.3.1", |
| 88 | + "rules_rust_bindgen__env_logger-0.10.0", |
| 89 | + "rules_rust_prost", |
| 90 | + "rules_rust_prost__h2-0.3.19", |
| 91 | + "rules_rust_prost__heck", |
| 92 | + "rules_rust_prost__prost-0.11.9", |
| 93 | + "rules_rust_prost__prost-types-0.11.9", |
| 94 | + "rules_rust_prost__protoc-gen-prost-0.2.2", |
| 95 | + "rules_rust_prost__protoc-gen-tonic-0.2.2", |
| 96 | + "rules_rust_prost__tokio-1.28.2", |
| 97 | + "rules_rust_prost__tokio-stream-0.1.14", |
| 98 | + "rules_rust_prost__tonic-0.9.2", |
| 99 | + "rules_rust_test_load_arbitrary_tool", |
| 100 | + "rules_rust_tinyjson", |
| 101 | + "rules_rust_toolchain_test_target_json", |
| 102 | + "rules_rust_util_import__aho-corasick-0.7.15", |
| 103 | + "rules_rust_util_import__lazy_static-1.4.0", |
| 104 | + "rules_rust_util_import__proc-macro2-1.0.33", |
| 105 | + "rules_rust_util_import__quickcheck-1.0.3", |
| 106 | + "rules_rust_util_import__quote-1.0.10", |
| 107 | + "rules_rust_util_import__syn-1.0.82", |
| 108 | + "rules_rust_wasm_bindgen__anyhow-1.0.71", |
| 109 | + "rules_rust_wasm_bindgen__assert_cmd-1.0.8", |
| 110 | + "rules_rust_wasm_bindgen__diff-0.1.13", |
| 111 | + "rules_rust_wasm_bindgen__docopt-1.1.1", |
| 112 | + "rules_rust_wasm_bindgen__env_logger-0.8.4", |
| 113 | + "rules_rust_wasm_bindgen__log-0.4.19", |
| 114 | + "rules_rust_wasm_bindgen__predicates-1.0.8", |
| 115 | + "rules_rust_wasm_bindgen__rayon-1.7.0", |
| 116 | + "rules_rust_wasm_bindgen__rouille-3.6.2", |
| 117 | + "rules_rust_wasm_bindgen__serde-1.0.171", |
| 118 | + "rules_rust_wasm_bindgen__serde_derive-1.0.171", |
| 119 | + "rules_rust_wasm_bindgen__serde_json-1.0.102", |
| 120 | + "rules_rust_wasm_bindgen__tempfile-3.6.0", |
| 121 | + "rules_rust_wasm_bindgen__ureq-2.8.0", |
| 122 | + "rules_rust_wasm_bindgen__walrus-0.20.3", |
| 123 | + "rules_rust_wasm_bindgen__wasm-bindgen-0.2.89", |
| 124 | + "rules_rust_wasm_bindgen__wasm-bindgen-cli-support-0.2.89", |
| 125 | + "rules_rust_wasm_bindgen__wasm-bindgen-shared-0.2.89", |
| 126 | + "rules_rust_wasm_bindgen__wasmparser-0.102.0", |
| 127 | + "rules_rust_wasm_bindgen__wasmprinter-0.2.60", |
| 128 | + "rules_rust_wasm_bindgen_cli", |
| 129 | +) |
| 130 | + |
| 131 | +rust = use_extension("//rust:extensions.bzl", "rust") |
| 132 | +rust.toolchain(edition = "2021") |
| 133 | +use_repo(rust, "rust_toolchains") |
| 134 | + |
| 135 | +register_toolchains( |
| 136 | + "@rust_toolchains//:all", |
| 137 | +) |
| 138 | + |
| 139 | +use_repo(rust, "rust_host_tools") |
| 140 | + |
| 141 | +cargo_bazel_bootstrap = use_extension("//crate_universe/private/module_extensions:cargo_bazel_bootstrap.bzl", "cargo_bazel_bootstrap") |
| 142 | +use_repo(cargo_bazel_bootstrap, "cargo_bazel_bootstrap") |
0 commit comments