| 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:repositories.bzl", "rust_proto_repositories") |
| |
| rust_proto_repositories() |
| |
| load("@rules_rust//proto:transitive_repositories.bzl", "rust_proto_transitive_repositories") |
| |
| rust_proto_transitive_repositories() |
| |
| 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 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz", |
| "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz", |
| ], |
| ) |
| |
| load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") |
| |
| stardoc_repositories() |