diff --git a/TOOLS.md b/TOOLS.md index 39a2f3ce..89ed4718 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -13,6 +13,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | ---- | -------------------------------- | ------------------------------- | ------------------ | ------- | | [**biome**](https://biomejs.dev) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/biomejs/biome/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/biomejs/biome/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/biomejs/biome/blob/main/LICENSE-MIT) | | [**cargo-audit**](https://github.com/rustsec/rustsec/tree/HEAD/cargo-audit) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustsec/rustsec/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-APACHE) OR [MIT](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-MIT) | +| [**cargo-auditable**](https://github.com/rust-secure-code/cargo-auditable) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-secure-code/cargo-auditable/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-MIT) | | [**cargo-binstall**](https://github.com/cargo-bins/cargo-binstall) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/cargo-bins/cargo-binstall/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE) | | [**cargo-careful**](https://github.com/RalfJung/cargo-careful) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/RalfJung/cargo-careful/releases) | Linux, macOS, Windows | [MIT](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-APACHE) | | [**cargo-cyclonedx**](https://github.com/CycloneDX/cyclonedx-rust-cargo) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/CycloneDX/cyclonedx-rust-cargo/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/CycloneDX/cyclonedx-rust-cargo/blob/main/LICENSE) | diff --git a/main.sh b/main.sh index 0d0067fa..9bcd64ad 100755 --- a/main.sh +++ b/main.sh @@ -790,7 +790,7 @@ for tool in "${tools[@]}"; do # wait-for-them up to 0.4.0 does not support --version flag. biome | cargo-machete | wait-for-them) rx "${tool_bin_stem}" --version || true ;; # these packages support neither --version nor --help flag. - cargo-careful | wasm-bindgen-test-runner) ;; + cargo-auditable | cargo-careful | wasm-bindgen-test-runner) ;; # wasm2es6js does not support --version flag and --help flag doesn't contains version info. wasm2es6js) ;; # cargo-zigbuild has no --version flag on `cargo zigbuild` subcommand. diff --git a/manifests/cargo-auditable.json b/manifests/cargo-auditable.json new file mode 100644 index 00000000..c0b420cb --- /dev/null +++ b/manifests/cargo-auditable.json @@ -0,0 +1,64 @@ +{ + "rust_crate": "cargo-auditable", + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/rust-secure-code/cargo-auditable/releases/download/v${version}/cargo-auditable-x86_64-unknown-linux-musl.tar.xz", + "bin": "cargo-auditable-x86_64-unknown-linux-musl/cargo-auditable" + }, + "x86_64_macos": { + "url": "https://github.com/rust-secure-code/cargo-auditable/releases/download/v${version}/cargo-auditable-x86_64-apple-darwin.tar.xz", + "bin": "cargo-auditable-x86_64-apple-darwin/cargo-auditable" + }, + "x86_64_windows": { + "url": "https://github.com/rust-secure-code/cargo-auditable/releases/download/v${version}/cargo-auditable-x86_64-pc-windows-msvc.zip", + "bin": "cargo-auditable.exe" + }, + "aarch64_macos": { + "url": "https://github.com/rust-secure-code/cargo-auditable/releases/download/v${version}/cargo-auditable-aarch64-apple-darwin.tar.xz", + "bin": "cargo-auditable-aarch64-apple-darwin/cargo-auditable" + } + }, + "license_markdown": "[Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-MIT)", + "latest": { + "version": "0.6.5" + }, + "0.6": { + "version": "0.6.5" + }, + "0.6.5": { + "x86_64_linux_musl": { + "etag": "0x8DD026635663221", + "checksum": "1c8f1079d49ec7d29c134ed5e833c56552391db2eb8968a5a8e3cffebb160454" + }, + "x86_64_macos": { + "etag": "0x8DD0266371D1878", + "checksum": "6b7f9ae0eb0a70ab01fe37f776e901f86f22a270491944db1f169b6cc2a6162c" + }, + "x86_64_windows": { + "etag": "0x8DD026636A97BCE", + "checksum": "4aa3d953cb90c177a46e5c70cbb4050e2e06d756cfd14a0d6fd28daf7d38967b" + }, + "aarch64_macos": { + "etag": "0x8DD02663824ADB8", + "checksum": "635fe55a50e6dbb65caa1e45b5703c75a1a00a5dadddf40862c7e91012b06f94" + } + }, + "0.6.4": { + "x86_64_linux_musl": { + "etag": "0x8DC7C39FA3B2719", + "checksum": "e75d161e101be7f501e71e9dddd3f0c823e6776a45f884340ad42ec268321ea3" + }, + "x86_64_macos": { + "etag": "0x8DC7C39FB75C7E7", + "checksum": "02572f75d434ea03da5eac8b82230e4b3b9e2974549e22092bccb1ef92ac28ef" + }, + "x86_64_windows": { + "etag": "0x8DC7C39FB1638FE", + "checksum": "ea452ae7d3dbc2dd1f747861245be8fd6740da12b351f65c59a212df370b144c" + }, + "aarch64_macos": { + "etag": "0x8DC7C39FC410D14", + "checksum": "02e0faa19a9e9ceee43f83b2b557c536624a0c868307b9b2b3a5f617ef3b7cfb" + } + } +} diff --git a/tools/codegen/base/cargo-auditable.json b/tools/codegen/base/cargo-auditable.json new file mode 100644 index 00000000..4c9793e1 --- /dev/null +++ b/tools/codegen/base/cargo-auditable.json @@ -0,0 +1,17 @@ +{ + "repository": "https://github.com/rust-secure-code/cargo-auditable", + "license_markdown": "[Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-MIT)", + "tag_prefix": "v", + "rust_crate": "${package}", + "asset_name": "${package}-${rust_target}.tar.xz", + "bin": "${package}-${rust_target}/${package}${exe}", + "platform": { + "x86_64_linux_musl": {}, + "x86_64_macos": {}, + "x86_64_windows": { + "asset_name": "${package}-${rust_target}.zip", + "bin": "${package}${exe}" + }, + "aarch64_macos": {} + } +}