cargo-dist
cargo-dist copied to clipboard
📦 shippable application packaging
This would make locked down or security-focused projects happier. I'm.... not entirely sure if there's like, legal implications... but cargo-vendor exists so I guess it's fine? Mozilla did this for...
I need to set `rustflags = ["--cfg", "tokio_unstable"]` or `export RUSTFLAGS="--cfg tokio_unstable"` as part of my build, but can't figure out how to get release.yml to pick it up. When...
Because we initially regarded the CARGO_HOME structure as "overkill" the `~/some/path` and `$MY_ENV_VAR/some/path` installdir strategies do not make a separate `bin/` subfolder, which limits the scalability of the approach somewhat,...
When we fetch axoupdater during the build, we should retry a few times on failure in case the issue is a transient network blip. Given how common these are on...
In the powershell installer we load, edit, and save the registry value storing (part of) the user's PATH. In testing in CI I noticed that the value of `$env:UserProfile` (one...
This is punted on in the current version, pending some evaluation of the options. There are ~~three~~ four options I know: * [cross-rs](https://github.com/cross-rs/cross) (established, based on docker) * [cargo-zigbuild](https://github.com/rust-cross/cargo-zigbuild) (new...
Context: The current logic for `add_install_dir_to_path` will write to the first file name in the list given to it if none of the files exist: https://github.com/axodotdev/cargo-dist/blob/b9c9a515f50af6ceeb2e012bef847829cdeb7893/cargo-dist/templates/installer/installer.sh.j2#L465-L472 `add_install_dir_to_path` is called three...
I've got [a project](https://github.com/Michael-F-Bryan/wit-lsp) with multiple different components, `wit-language-server`, `tree-sitter-wit`, `wit-compiler`, and `vscode-plugin`. When I'm ready to cut a release, I'll merge a Release PR (in this case, https://github.com/Michael-F-Bryan/wit-lsp/pull/2) and...
It's not clear if this is intentional behaviour or not, but the condition for the `host` GitHub Actions job does not depend on the outcome of any custom build jobs:...
While we test cargo-dist's GitHub CI regularly in every PR, it would be nice to get a full runtest going on periodically. We could have a separate repository with a...