summaryrefslogtreecommitdiff
path: root/crates/typst-cli/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-cli/Cargo.toml')
-rw-r--r--crates/typst-cli/Cargo.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/crates/typst-cli/Cargo.toml b/crates/typst-cli/Cargo.toml
index 25bcabf0..1bfd7358 100644
--- a/crates/typst-cli/Cargo.toml
+++ b/crates/typst-cli/Cargo.toml
@@ -85,3 +85,13 @@ vendor-openssl = ["openssl/vendored"]
[lints]
workspace = true
+
+# The following metadata is used by `cargo-binstall`, and should be synchronized
+# with `.github/workflows/release.yml`.
+[package.metadata.binstall]
+pkg-url = "{ repo }/releases/download/v{ version }/typst-{ target }{ archive-suffix }"
+bin-dir = "typst-{ target }/typst{ binary-ext }"
+pkg-fmt = "txz"
+
+[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
+pkg-fmt = "zip"