diff --git a/CHANGELOG.md b/CHANGELOG.md index b88b09469..110f1b200 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com - Support `sccache`. ([#390](https://github.com/taiki-e/install-action/pull/390)) +- Support `cargo-fuzz`. ([#352](https://github.com/taiki-e/install-action/pull/352)) + ## [2.27.15] - 2024-03-02 - Support `biome` on x86_64/aarch64 Linux (musl). diff --git a/README.md b/README.md index d352372bd..6055fafc6 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ https://spdx.org/licenses | [**cargo-deny**](https://github.com/EmbarkStudios/cargo-deny) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/EmbarkStudios/cargo-deny/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/EmbarkStudios/cargo-deny/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/EmbarkStudios/cargo-deny/blob/HEAD/LICENSE-MIT) | | [**cargo-dinghy**](https://github.com/sonos/dinghy) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sonos/dinghy/releases) | Linux, macOS | [Apache-2.0](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-MIT) | | [**cargo-export**](https://github.com/bazhenov/cargo-export) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bazhenov/cargo-export/releases) | Linux, macOS, Windows | [MIT](https://github.com/bazhenov/cargo-export/blob/HEAD/LICENSE) | +| [**cargo-fuzz**](https://github.com/rust-fuzz/cargo-fuzz) | `$CARGO_HOME/bin` | [GitHub Release](https://github.com/rust-fuzz/cargo-fuzz/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rust-fuzz/cargo-fuzz/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-fuzz/cargo-fuzz/blob/HEAD/LICENSE-MIT) | | [**cargo-hack**](https://github.com/taiki-e/cargo-hack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-hack/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-hack/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-hack/blob/HEAD/LICENSE-MIT) | | [**cargo-llvm-cov**](https://github.com/taiki-e/cargo-llvm-cov) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-llvm-cov/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-llvm-cov/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-llvm-cov/blob/HEAD/LICENSE-MIT) | | [**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/HEAD/LICENSE.md) | diff --git a/manifests/cargo-fuzz.json b/manifests/cargo-fuzz.json new file mode 100644 index 000000000..cf8294794 --- /dev/null +++ b/manifests/cargo-fuzz.json @@ -0,0 +1,67 @@ +{ + "rust_crate": "cargo-fuzz", + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/rust-fuzz/cargo-fuzz/releases/download/${version}/cargo-fuzz-${version}-x86_64-unknown-linux-musl.tar.gz" + }, + "x86_64_macos": { + "url": "https://github.com/rust-fuzz/cargo-fuzz/releases/download/${version}/cargo-fuzz-${version}-x86_64-apple-darwin.tar.gz" + }, + "x86_64_windows": { + "url": "https://github.com/rust-fuzz/cargo-fuzz/releases/download/${version}/cargo-fuzz-${version}-x86_64-pc-windows-msvc.zip" + } + }, + "latest": { + "version": "0.11.2" + }, + "0.12": { + "version": "0.12.0" + }, + "0.12.0": { + "x86_64_linux_musl": { + "checksum": "e5f38ce96c36e05c43b76fc00bf22537c944edc71e0f0e869ca18a6ab40e8efa" + }, + "x86_64_macos": { + "checksum": "f28dece7bceefe9069632b677111f157b5c62c7b006c665d191bf562d9b56f8e" + }, + "x86_64_windows": { + "checksum": "70ddcf1d31a40b8563e501d15ec676b9e81d7bad9e346a19afe8bb45286a0a52" + } + }, + "0.11": { + "version": "0.11.2" + }, + "0.11.4": { + "x86_64_linux_musl": { + "checksum": "c185905364d5cd32a3e6e32ef10d5f22ae999df13d569041465762ea05245cfb" + }, + "x86_64_macos": { + "checksum": "0cf9c6d7a8b3de49eb8a518951aa8a7ad0733244294d075af5bc6486ac5bb2f2" + }, + "x86_64_windows": { + "checksum": "0826605d7dd15433e2c779053b04588759ce648b4843efe6c29c466001af62d4" + } + }, + "0.11.3": { + "x86_64_linux_musl": { + "checksum": "b1fce2bad4352e6d0a2271b091715a31099830ee351792f70a7f19fb3a171d1a" + }, + "x86_64_macos": { + "checksum": "29d2609b2ab24385b729befeccd015501eb6bd6331c88e2026f19894d33364b2" + }, + "x86_64_windows": { + "checksum": "6d34045c3d3ac31f5454b5745985544c5fbfb4d4e3231a4a5be17c94e3b12e86" + } + }, + "0.11.2": { + "x86_64_linux_musl": { + "checksum": "0f5b5bce0b9ee8ed9dcf3f4699038c5178db9f536df7909a7e1cae8039f5626b" + }, + "x86_64_macos": { + "checksum": "70f0cba45bd015eefe2e6e4b07d5a9e4b3e9eb90e637a2773c7a30ec1792602f" + }, + "x86_64_windows": { + "checksum": "1867b415541f81265189daeed13d1cab16186641d9cb3c447b2a86c7ea002309" + } + } +} diff --git a/tools/codegen/base/cargo-fuzz.json b/tools/codegen/base/cargo-fuzz.json new file mode 100644 index 000000000..d910fb7a1 --- /dev/null +++ b/tools/codegen/base/cargo-fuzz.json @@ -0,0 +1,14 @@ +{ + "repository": "https://github.com/rust-fuzz/cargo-fuzz", + "tag_prefix": "", + "rust_crate": "${package}", + "broken": ["0.11.3", "0.11.4", "0.12.0"], + "asset_name": "${package}-${version}-${rust_target}.tar.gz", + "platform": { + "x86_64_linux_musl": {}, + "x86_64_macos": {}, + "x86_64_windows": { + "asset_name": "${package}-${version}-${rust_target}.zip" + } + } +}