From a4fb6300cb1d6b8e4e44db3300a0b376524e4ca5 Mon Sep 17 00:00:00 2001 From: jgrim Date: Tue, 20 Jan 2026 11:20:19 +0100 Subject: [PATCH] Support cargo-neat (#1404) --- TOOLS.md | 1 + manifests/cargo-neat.json | 54 ++++++++++++++++++++++++++++++ tools/codegen/base/cargo-neat.json | 14 ++++++++ 3 files changed, 69 insertions(+) create mode 100644 manifests/cargo-neat.json create mode 100644 tools/codegen/base/cargo-neat.json diff --git a/TOOLS.md b/TOOLS.md index e41af78f..99f9c1a6 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -31,6 +31,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**cargo-machete**](https://github.com/bnjbvr/cargo-machete) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bnjbvr/cargo-machete/releases) | Linux, macOS, Windows | [MIT](https://github.com/bnjbvr/cargo-machete/blob/main/LICENSE.md) | | [**cargo-make**](https://github.com/sagiegurari/cargo-make) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sagiegurari/cargo-make/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE) | | [**cargo-minimal-versions**](https://github.com/taiki-e/cargo-minimal-versions) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-minimal-versions/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-MIT) | +| [**cargo-neat**](https://github.com/killzoner/cargo-neat) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/killzoner/cargo-neat/releases) | Linux, macOS, Windows | [MIT](https://github.com/killzoner/cargo-neat/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/killzoner/cargo-neat/blob/master/LICENSE-APACHE) | | [**cargo-nextest**](https://github.com/nextest-rs/nextest) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/nextest-rs/nextest/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/nextest-rs/nextest/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/nextest-rs/nextest/blob/main/LICENSE-MIT) | | [**cargo-no-dev-deps**](https://github.com/taiki-e/cargo-no-dev-deps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-no-dev-deps/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-MIT) | | [**cargo-rdme**](https://github.com/orium/cargo-rdme) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/orium/cargo-rdme/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/orium/cargo-rdme/blob/main/LICENSE.md) | diff --git a/manifests/cargo-neat.json b/manifests/cargo-neat.json new file mode 100644 index 00000000..095c2b9b --- /dev/null +++ b/manifests/cargo-neat.json @@ -0,0 +1,54 @@ +{ + "rust_crate": "cargo-neat", + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/killzoner/cargo-neat/releases/download/${version}/cargo-neat-${version}-x86_64-unknown-linux-musl.tar.gz", + "bin": "cargo-neat-${version}-x86_64-unknown-linux-musl/cargo-neat" + }, + "x86_64_macos": { + "url": "https://github.com/killzoner/cargo-neat/releases/download/${version}/cargo-neat-${version}-x86_64-apple-darwin.tar.gz", + "bin": "cargo-neat-${version}-x86_64-apple-darwin/cargo-neat" + }, + "x86_64_windows": { + "url": "https://github.com/killzoner/cargo-neat/releases/download/${version}/cargo-neat-${version}-x86_64-pc-windows-msvc.tar.gz", + "bin": "cargo-neat-${version}-x86_64-pc-windows-msvc/cargo-neat.exe" + }, + "aarch64_linux_musl": { + "url": "https://github.com/killzoner/cargo-neat/releases/download/${version}/cargo-neat-${version}-aarch64-unknown-linux-musl.tar.gz", + "bin": "cargo-neat-${version}-aarch64-unknown-linux-musl/cargo-neat" + }, + "aarch64_macos": { + "url": "https://github.com/killzoner/cargo-neat/releases/download/${version}/cargo-neat-${version}-aarch64-apple-darwin.tar.gz", + "bin": "cargo-neat-${version}-aarch64-apple-darwin/cargo-neat" + } + }, + "license_markdown": "[MIT](https://github.com/killzoner/cargo-neat/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/killzoner/cargo-neat/blob/master/LICENSE-APACHE)", + "latest": { + "version": "0.2.3" + }, + "0.2": { + "version": "0.2.3" + }, + "0.2.3": { + "x86_64_linux_musl": { + "etag": "0x8DE4C5D8F94ED60", + "checksum": "25e5cb704c60141f4806c9abd54a767f41ded08639328a4a8da42b69fc7b7f51" + }, + "x86_64_macos": { + "etag": "0x8DE4C5D6DA53B1E", + "checksum": "508eac6217b37ec9fb8775bb0ce7e91a372c14397d32d50ed67cf543c2c03686" + }, + "x86_64_windows": { + "etag": "0x8DE4C5DC9809A25", + "checksum": "97a3731dafbe1cda77bdef449fdae5bfc2c63ba6b16f5e086db41a69f71e4cc9" + }, + "aarch64_linux_musl": { + "etag": "0x8DE4C5D7C0D64BF", + "checksum": "e7b02db85319553bb64a576ede4c5995f7c2721212ecbcb1331d4b8c6f5b36f2" + }, + "aarch64_macos": { + "etag": "0x8DE4C5D79051512", + "checksum": "b0a5add7f413380b32aa659d08da4f8b3d1e4ea96258951e06fdf5b0b6995aaf" + } + } +} diff --git a/tools/codegen/base/cargo-neat.json b/tools/codegen/base/cargo-neat.json new file mode 100644 index 00000000..132a47b9 --- /dev/null +++ b/tools/codegen/base/cargo-neat.json @@ -0,0 +1,14 @@ +{ + "repository": "https://github.com/killzoner/cargo-neat", + "tag_prefix": "", + "rust_crate": "${package}", + "asset_name": "${package}-${version}-${rust_target}.tar.gz", + "bin": "${package}-${version}-${rust_target}/${package}${exe}", + "platform": { + "x86_64_linux_musl": {}, + "x86_64_macos": {}, + "x86_64_windows": {}, + "aarch64_linux_musl": {}, + "aarch64_macos": {} + } +}