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.
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 can now be installed.
We now run PowerShell installers end to end in cargo-dist's own tests.
rustup target add
for additional forms of cross-compilingWe 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.
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.
curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0/cargo-dist-installer.sh | sh
powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0/cargo-dist-installer.ps1 | iex"
brew install axodotdev/homebrew-tap/cargo-dist
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 |
Nothing Yet!
curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.4/cargo-dist-installer.sh | sh
powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.4/cargo-dist-installer.ps1 | iex"
brew install axodotdev/homebrew-tap/cargo-dist
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 |
Nothing Yet!
curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.3/cargo-dist-installer.sh | sh
powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.3/cargo-dist-installer.ps1 | iex"
brew install axodotdev/homebrew-tap/cargo-dist
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 |
Nothing Yet!
curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.2/cargo-dist-installer.sh | sh
powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.2/cargo-dist-installer.ps1 | iex"
brew install axodotdev/homebrew-tap/cargo-dist
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 |
Nothing Yet!
curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.1/cargo-dist-installer.sh | sh
powershell -c "irm https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.12.0-prerelease.1/cargo-dist-installer.ps1 | iex"
brew install axodotdev/homebrew-tap/cargo-dist
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 |