v0.12.0
Published at Mar 21 2024 22:20 UTC

This release introduces an experimental new feature: an updater which allows your users to install new releases without having to go download a new installer themselves. It also includes a few other bugfixes and improvements.

Features

cargo-dist updater

The new cargo-dist updater, axoupdater, provides a way for your users to easily upgrade your software without needing to check your website for new versions. If you enable the new install-updater = true option in cargo-dist, users who install your software via the shell or PowerShell installers will receive a standalone updater program alongside your program itself. Running this program will check for updates and, if necessary, install the new version for them. In addition, axoupdater provides a Rust library with all of its functionality exposed so that you can choose to integrate the updater functionality into your own program directly.

For more information, see the cargo-dist documentation or consult the axoupdater repository and documentation.

Homebrew cask dependencies

Homebrew cask dependencies can now be installed.

PowerShell installer tests

We now run PowerShell installers end to end in cargo-dist's own tests.

Invoke rustup target add for additional forms of cross-compiling

We now run rustup target add unconditionally when cross-compiling; before, this was limited to macOS or for musl Linux. This is primarily useful for targeting Windows ARM, but may be useful for other cross-compilation targets in the future.

Allow overriding install path in shell and PowerShell installers

Although some installer configuration allows setting the installation path, there was previously no way to force the installer to install to a location of the user's choosing. We've added a feature to do so via the new CARGO_DIST_FORCE_INSTALL_DIR environment variable.

This is primarily intended for cargo-dist's internal use, and is used by the updater to ensure that new releases are installed in the same location as the previous version; other users may find it useful.

Fixes

Install cargo-dist 0.12.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0/cargo-dist-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0/cargo-dist-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install axodotdev/homebrew-tap/cargo-dist

Download cargo-dist 0.12.0

File Platform Checksum
cargo-dist-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
cargo-dist-x86_64-apple-darwin.tar.xz Intel macOS checksum
cargo-dist-x86_64-pc-windows-msvc.zip x64 Windows checksum
cargo-dist-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
cargo-dist-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
cargo-dist-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
cargo-dist-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum
v0.12.0-prerelease.4 Prerelease
Published at Mar 13 2024 21:52 UTC

Nothing Yet!

Install cargo-dist 0.12.0-prerelease.4

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.4/cargo-dist-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.4/cargo-dist-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install axodotdev/homebrew-tap/cargo-dist

Download cargo-dist 0.12.0-prerelease.4

File Platform Checksum
cargo-dist-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
cargo-dist-x86_64-apple-darwin.tar.xz Intel macOS checksum
cargo-dist-x86_64-pc-windows-msvc.zip x64 Windows checksum
cargo-dist-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
cargo-dist-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
cargo-dist-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
cargo-dist-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum
v0.12.0-prerelease.3 Prerelease
Published at Mar 13 2024 14:13 UTC

Nothing Yet!

Install cargo-dist 0.12.0-prerelease.3

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.3/cargo-dist-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.3/cargo-dist-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install axodotdev/homebrew-tap/cargo-dist

Download cargo-dist 0.12.0-prerelease.3

File Platform Checksum
cargo-dist-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
cargo-dist-x86_64-apple-darwin.tar.xz Intel macOS checksum
cargo-dist-x86_64-pc-windows-msvc.zip x64 Windows checksum
cargo-dist-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
cargo-dist-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
cargo-dist-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
cargo-dist-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum
v0.12.0-prerelease.2 Prerelease
Published at Mar 12 2024 19:32 UTC

Nothing Yet!

Install cargo-dist 0.12.0-prerelease.2

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.2/cargo-dist-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.2/cargo-dist-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install axodotdev/homebrew-tap/cargo-dist

Download cargo-dist 0.12.0-prerelease.2

File Platform Checksum
cargo-dist-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
cargo-dist-x86_64-apple-darwin.tar.xz Intel macOS checksum
cargo-dist-x86_64-pc-windows-msvc.zip x64 Windows checksum
cargo-dist-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
cargo-dist-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
cargo-dist-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
cargo-dist-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum
v0.12.0-prerelease.1 Prerelease
Published at Mar 6 2024 00:18 UTC

Nothing Yet!

Install cargo-dist 0.12.0-prerelease.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.1/cargo-dist-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.1/cargo-dist-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install axodotdev/homebrew-tap/cargo-dist

Download cargo-dist 0.12.0-prerelease.1

File Platform Checksum
cargo-dist-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
cargo-dist-x86_64-apple-darwin.tar.xz Intel macOS checksum
cargo-dist-x86_64-pc-windows-msvc.zip x64 Windows checksum
cargo-dist-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
cargo-dist-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
cargo-dist-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
cargo-dist-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum