| workspace(name = "rules_rust_docs") |
| |
| local_repository( |
| name = "rules_rust", |
| path = "..", |
| ) |
| |
| load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") |
| |
| rules_rust_dependencies() |
| |
| rust_register_toolchains() |
| |
| load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") |
| |
| crate_universe_dependencies() |
| |
| load("@rules_rust//proto/prost:repositories.bzl", "rust_prost_dependencies") |
| |
| rust_prost_dependencies() |
| |
| load("@rules_rust//proto/prost:transitive_repositories.bzl", "rust_prost_transitive_repositories") |
| |
| rust_prost_transitive_repositories() |
| |
| load("@rules_rust//proto/protobuf:repositories.bzl", "rust_proto_protobuf_dependencies") |
| |
| rust_proto_protobuf_dependencies() |
| |
| load( |
| "@rules_rust//wasm_bindgen:repositories.bzl", |
| "rust_wasm_bindgen_dependencies", |
| "rust_wasm_bindgen_register_toolchains", |
| ) |
| |
| rust_wasm_bindgen_dependencies() |
| |
| rust_wasm_bindgen_register_toolchains() |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| http_archive( |
| name = "io_bazel_stardoc", |
| patches = [ |
| # Pull in https://github.com/bazelbuild/stardoc/pull/143 |
| "//:stardoc-attr-default-wrappers.patch", |
| ], |
| sha256 = "dfbc364aaec143df5e6c52faf1f1166775a5b4408243f445f44b661cfdc3134f", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.6/stardoc-0.5.6.tar.gz", |
| "https://github.com/bazelbuild/stardoc/releases/download/0.5.6/stardoc-0.5.6.tar.gz", |
| ], |
| ) |
| |
| load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") |
| |
| stardoc_repositories() |