Add cargo-auditable (#741)

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
This commit is contained in:
simonsan
2024-11-19 20:43:47 +01:00
committed by GitHub
parent fe7bfc78d7
commit 6662e50b58
4 changed files with 83 additions and 1 deletions

View File

@@ -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) |

View File

@@ -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.

64
manifests/cargo-auditable.json generated Normal file
View File

@@ -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"
}
}
}

View File

@@ -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": {}
}
}