Add metadata for cargo-binstall (#1073)

This commit is contained in:
Orhun Parmaksız 2023-05-20 23:34:00 +02:00 committed by GitHub
parent 6ecfde971b
commit 6a356bf87d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,3 +87,9 @@ check_example_domains = ["lychee-lib/check_example_domains"]
name = "cli"
path = "tests/cli.rs"
required-features = ["check_example_domains"]
# metadata for cargo-binstall to get the right artifacts
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"