From 54ede987e296f0fc0b43f3f75d496577fad36a9c Mon Sep 17 00:00:00 2001 From: "Oleg V. Kozlyuk" Date: Thu, 23 Jul 2026 14:40:31 +0200 Subject: [PATCH] Support rafn (#1935) --- .github/.cspell/project-dictionary.txt | 1 + TOOLS.md | 1 + manifests/rafn.json | 70 ++++++++++++++++++++++++++ tools/ci/tool-list.sh | 1 + tools/codegen/base/rafn.json | 16 ++++++ 5 files changed, 89 insertions(+) create mode 100644 manifests/rafn.json create mode 100644 tools/codegen/base/rafn.json diff --git a/.github/.cspell/project-dictionary.txt b/.github/.cspell/project-dictionary.txt index 81993dca..5a155fc2 100644 --- a/.github/.cspell/project-dictionary.txt +++ b/.github/.cspell/project-dictionary.txt @@ -33,6 +33,7 @@ pluginconf ppcle prek quickinstall +rafn rdme sccache SHASUMS diff --git a/TOOLS.md b/TOOLS.md index b3385ed3..c472dc7b 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -88,6 +88,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**prek**](https://github.com/j178/prek) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/j178/prek/releases) | Linux, macOS, Windows | [MIT](https://github.com/j178/prek/blob/master/LICENSE) | | | [**protoc**](https://github.com/protocolbuffers/protobuf) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/protocolbuffers/protobuf/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/protocolbuffers/protobuf/blob/main/LICENSE) | | | [**protoc-gen-connect-openapi**](https://github.com/sudorandom/protoc-gen-connect-openapi) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/sudorandom/protoc-gen-connect-openapi/releases) | Linux, macOS, Windows | [MIT](https://github.com/sudorandom/protoc-gen-connect-openapi/blob/main/LICENSE) | | +| [**rafn**](https://github.com/voron-software/rafn) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/voron-software/rafn/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/voron-software/rafn/blob/HEAD/LICENSE) | | | [**rclone**](https://github.com/rclone/rclone) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/rclone/rclone/releases) | Linux, macOS, Windows | [MIT](https://github.com/rclone/rclone/blob/master/COPYING) | | | [**release-plz**](https://release-plz.dev/) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/release-plz/release-plz/releases) | Linux, macOS, Windows | [MIT](https://github.com/release-plz/release-plz/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/release-plz/release-plz/blob/main/LICENSE-APACHE) | | | [**rust**](https://rust-lang.org) | `$CARGO_HOME/bin` | rustup | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/rust-lang/rust/blob/main/COPYRIGHT) | | diff --git a/manifests/rafn.json b/manifests/rafn.json new file mode 100644 index 00000000..cc69c495 --- /dev/null +++ b/manifests/rafn.json @@ -0,0 +1,70 @@ +{ + "rust_crate": "rafn", + "template": { + "x86_64_linux_gnu": { + "url": "https://github.com/voron-software/rafn/releases/download/v${version}/rafn-x86_64-unknown-linux-gnu.tar.gz" + }, + "x86_64_macos": { + "url": "https://github.com/voron-software/rafn/releases/download/v${version}/rafn-x86_64-apple-darwin.tar.gz" + }, + "x86_64_windows": { + "url": "https://github.com/voron-software/rafn/releases/download/v${version}/rafn-x86_64-pc-windows-msvc.zip" + }, + "aarch64_linux_gnu": { + "url": "https://github.com/voron-software/rafn/releases/download/v${version}/rafn-aarch64-unknown-linux-gnu.tar.gz" + }, + "aarch64_macos": { + "url": "https://github.com/voron-software/rafn/releases/download/v${version}/rafn-aarch64-apple-darwin.tar.gz" + } + }, + "latest": { + "version": "0.1.2" + }, + "0.1": { + "version": "0.1.2" + }, + "0.1.2": { + "x86_64_linux_gnu": { + "etag": "0x8DECFB90F255451", + "hash": "9024f2ebe428c728b1b2530ef5387de301c63eb168c2baee6218413cb10e87c1" + }, + "x86_64_macos": { + "etag": "0x8DECFB90F23F64D", + "hash": "2eb716fba3393171154b82380872c7f4d78a6e87199df823a5d47055800e2420" + }, + "x86_64_windows": { + "etag": "0x8DECFB90F1BC22A", + "hash": "3550dbd12c1ea01c446602910f3883d2082408d1db767266bb7f840f71ee6ea8" + }, + "aarch64_linux_gnu": { + "etag": "0x8DECFB90F241D46", + "hash": "e978f88d99d136d7f4015ab81906ef2240700cee65e0c94da52583e1e31bb11a" + }, + "aarch64_macos": { + "etag": "0x8DECFB90F266491", + "hash": "b1b6915d579e39f7500d935ae838b4ac561f03f2bf0f0a8612abb393425cc135" + } + }, + "0.1.1": { + "x86_64_linux_gnu": { + "etag": "0x8DEB33A24C981E2", + "hash": "5e98f38b73b9fe9f5603322aff3dd3968a42724020eb94619d2c250f48992c65" + }, + "x86_64_macos": { + "etag": "0x8DEB33A24D88C1E", + "hash": "abea382747951e749de2c1dc1ba4d3025eda9669d0670a8b23e8dd99686da3a7" + }, + "x86_64_windows": { + "etag": "0x8DEB33A24C67806", + "hash": "7a615a3a9731a01b9af64677461cfe3340edf712cf7551fc5412da57b1533191" + }, + "aarch64_linux_gnu": { + "etag": "0x8DEB33A24C62A3F", + "hash": "b0fc095bfeaff9cc39e1807a3d9820de3e108c5d701dda927aef382be89f3461" + }, + "aarch64_macos": { + "etag": "0x8DEB33A24C21043", + "hash": "6d979467d6ada1bf295c1ffb3dfbeb227162899a7c041bb56946a3db92e18587" + } + } +} diff --git a/tools/ci/tool-list.sh b/tools/ci/tool-list.sh index d16ba395..cad42d89 100755 --- a/tools/ci/tool-list.sh +++ b/tools/ci/tool-list.sh @@ -51,6 +51,7 @@ glibc_pre_2_27_incompat=( glibc_pre_2_17_incompat=( "${glibc_pre_2_27_incompat[@]}" deepsource # https://github.com/DeepSourceCorp/cli/issues/245 + rafn # built on ubuntu-24.04, requires GLIBC_2.17+ rust ) musl_incompat=( diff --git a/tools/codegen/base/rafn.json b/tools/codegen/base/rafn.json new file mode 100644 index 00000000..cfaab649 --- /dev/null +++ b/tools/codegen/base/rafn.json @@ -0,0 +1,16 @@ +{ + "repository": "https://github.com/voron-software/rafn", + "license_markdown": "[Apache-2.0](https://github.com/voron-software/rafn/blob/HEAD/LICENSE)", + "tag_prefix": "v", + "rust_crate": "${package}", + "asset_name": "${package}-${rust_target}.tar.gz", + "platform": { + "x86_64_linux_gnu": {}, + "aarch64_linux_gnu": {}, + "x86_64_macos": {}, + "aarch64_macos": {}, + "x86_64_windows": { + "asset_name": "${package}-${rust_target}.zip" + } + } +}