Support similarity-rs (#2017)

This commit is contained in:
Max Azatian
2026-10-28 22:06:51 +09:00
committed by GitHub
parent 645d1ab48b
commit 73284604a3
4 changed files with 44 additions and 0 deletions
+1
View File
@@ -97,6 +97,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho
| [**sccache**](https://github.com/mozilla/sccache) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/mozilla/sccache/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/mozilla/sccache/blob/main/LICENSE) | |
| [**shellcheck**](https://www.shellcheck.net) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/koalaman/shellcheck/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/koalaman/shellcheck/blob/master/LICENSE) | |
| [**shfmt**](https://github.com/mvdan/sh) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/mvdan/sh/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/mvdan/sh/blob/master/LICENSE) | |
| [**similarity-rs**](https://github.com/mizchi/similarity) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/mizchi/similarity/releases) | Linux, macOS | [MIT](https://github.com/mizchi/similarity/blob/main/LICENSE) | |
| [**syft**](https://github.com/anchore/syft) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/anchore/syft/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE) | |
| [**taplo**](https://github.com/tamasfe/taplo) (alias: `taplo-cli`) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/tamasfe/taplo/releases) | Linux, macOS, Windows | [MIT](https://github.com/tamasfe/taplo/blob/master/LICENSE) | |
| [**tombi**](https://tombi-toml.github.io/tombi/) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/tombi-toml/tombi/releases) | Linux, macOS, Windows | [MIT](https://github.com/tombi-toml/tombi/blob/main/LICENSE) | |
+29
View File
@@ -0,0 +1,29 @@
{
"rust_crate": "similarity-rs",
"template": {
"x86_64_linux_gnu": {
"url": "https://github.com/mizchi/similarity/releases/download/v${version}/similarity-v${version}-x86_64-unknown-linux-gnu.tar.gz",
"bin": "similarity-v${version}-x86_64-unknown-linux-gnu/similarity-rs"
},
"aarch64_macos": {
"url": "https://github.com/mizchi/similarity/releases/download/v${version}/similarity-v${version}-aarch64-apple-darwin.tar.gz",
"bin": "similarity-v${version}-aarch64-apple-darwin/similarity-rs"
}
},
"latest": {
"version": "0.5.0"
},
"0.5": {
"version": "0.5.0"
},
"0.5.0": {
"x86_64_linux_gnu": {
"etag": "0x8DE97D292B71A6B",
"hash": "2afda6201b6afb1ee36c1ce51b95a538ec99310c79f661905536d917470a406a"
},
"aarch64_macos": {
"etag": "0x8DE97D2929D94A7",
"hash": "d5a6abcf915b87061857c23a1934883a99b93970a66c627cc8b7f3286c0ba916"
}
}
}
+1
View File
@@ -25,6 +25,7 @@ glibc_pre_2_34_incompat=(
cargo-sort
cargo-vet
espup
similarity-rs
wait-for-them
xbuild
)
+13
View File
@@ -0,0 +1,13 @@
{
"repository": "https://github.com/mizchi/similarity",
"license_markdown": "[MIT](https://github.com/mizchi/similarity/blob/main/LICENSE)",
"tag_prefix": "v",
"version_range": ">= 0.5.0",
"rust_crate": "${package}",
"asset_name": "similarity-v${version}-${rust_target}.tar.gz",
"bin": "similarity-v${version}-${rust_target}/${package}${exe}",
"platform": {
"x86_64_linux_gnu": {},
"aarch64_macos": {}
}
}