diff --git a/README.md b/README.md index 644821176..5a4350e66 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ https://spdx.org/licenses | ---- | -------------------------------- | ------------------------------- | ------------------ | ------- | | [**cargo-binstall**][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-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-careful**](https://github.com/RalfJung/cargo-careful) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/RalfJung/cargo-careful/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/RalfJung/cargo-careful/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/RalfJung/cargo-careful/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-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) | diff --git a/main.sh b/main.sh index 4802eb109..fd077ccbc 100755 --- a/main.sh +++ b/main.sh @@ -557,6 +557,7 @@ for tool in "${tools[@]}"; do info "${tool} installed at $(type -P "${tool}${exe}")" # At least cargo-udeps 0.1.30 and wasm-pack 0.12.0 do not support --version option. case "${tool}" in + cargo-careful) ;; # cargo-careful 0.3.4 does not support neither --version nor --help option. cargo-*) if type -P cargo &>/dev/null; then case "${tool}" in diff --git a/manifests/cargo-careful.json b/manifests/cargo-careful.json new file mode 100644 index 000000000..cf371fa13 --- /dev/null +++ b/manifests/cargo-careful.json @@ -0,0 +1,41 @@ +{ + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/RalfJung/cargo-careful/releases/download/v${version}/cargo-careful.x86_64-unknown-linux-musl" + }, + "x86_64_macos": { + "url": "https://github.com/RalfJung/cargo-careful/releases/download/v${version}/cargo-careful.x86_64-apple-darwin" + }, + "x86_64_windows": { + "url": "https://github.com/RalfJung/cargo-careful/releases/download/v${version}/cargo-careful.exe" + } + }, + "latest": { + "version": "0.3.4" + }, + "0.3": { + "version": "0.3.4" + }, + "0.3.4": { + "x86_64_linux_musl": { + "checksum": "a9cfc7775546bd646a9e9252527c5caa56c429d854c6d8664ab4d63ed87827bd" + }, + "x86_64_macos": { + "checksum": "b29d263648fc287250a413ebf53ddb37310564ac44bfd71c5a35ca8eaddac22f" + }, + "x86_64_windows": { + "checksum": "50cebcb95cda4fa3b4d5010ed6252be92de2748d3f5c00aff3bc6fe5f39c0906" + } + }, + "0.3.3": { + "x86_64_linux_musl": { + "checksum": "bb2b06f4df62110c8ae89a006b548a10a4da36d0f8f3ff67f7417fb51ed96b0a" + }, + "x86_64_macos": { + "checksum": "c396bae85ad4b414976ea6943bdb6fb666e56735ad51255ab615399e40641fec" + }, + "x86_64_windows": { + "checksum": "87b35993b38fc60c069c45d58e79bae6c8f5253ce2459dff6a6b0b629c7aeb4c" + } + } +} diff --git a/tools/codegen/base/cargo-careful.json b/tools/codegen/base/cargo-careful.json new file mode 100644 index 000000000..281b93a58 --- /dev/null +++ b/tools/codegen/base/cargo-careful.json @@ -0,0 +1,12 @@ +{ + "repository": "https://github.com/RalfJung/cargo-careful", + "tag_prefix": "v", + "asset_name": "${package}.${rust_target}", + "platform": { + "x86_64_linux_musl": {}, + "x86_64_macos": {}, + "x86_64_windows": { + "asset_name": "${package}.exe" + } + } +}