Skip to content

Commit

Permalink
feat: support for cargo binstall
Browse files Browse the repository at this point in the history
this lets users install the binary directly instead of compiling it
themselves or grabbing the releases manually
  • Loading branch information
Akira committed Apr 24, 2024
1 parent 1f99bcb commit fd8af4a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "markdown-oxide"
version = "0.1.0"
version = "0.0.21"
edition = "2021"
repository = "https://github.com/Feel-ix-343/markdown-oxide"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -25,3 +26,7 @@ shellexpand = "3.1.0"
tokio = { version = "1.34.0", features = ["full"] }
tower-lsp = { git = "https://github.com/Feel-ix-343/tower-lsp" }
walkdir = "2.4.0"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
pkg-fmt = "tgz"

0 comments on commit fd8af4a

Please sign in to comment.