mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Add metadata for cargo-binstall
(#4458)
This commit is contained in:
parent
4c22ffa612
commit
8c3002897a
@ -85,3 +85,13 @@ vendor-openssl = ["openssl/vendored"]
|
|||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user