load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_typst",
strip_prefix = "rules_typst-0.0.1",
sha256 = "e1b53b0b21116327c6057db07604666ed6705343179dd2213458a171d54782a9",
url = "https://github.com/matte1/rules_typst/archive/refs/tags/v0.0.1.zip",
)
load("@rules_typst//:toolchain.bzl", "typst_aarch64_apple_darwin_deps", "typst_x86_64_unknown_linux_musl_deps")
typst_aarch64_apple_darwin_deps()
typst_x86_64_unknown_linux_musl_deps()
register_toolchains(
"@rules_typst//:typst_macos_toolchain",
"@rules_typst//:typst_linux_toolchain"
)