axodotdev / cargo-dist

📦 shippable application packaging
https://axodotdev.github.io/cargo-dist/
Apache License 2.0
1.31k stars 56 forks source link

feat: Adds flag to optionally use system certificates when fetching `axoupdater`. #1155

Open mchernicoff opened 1 week ago

mchernicoff commented 1 week ago

Resolves #1154 See that issue for details on why this patch exists.

This adds the "native-certs" Boolean option for cargo-dist config settings in a project's Cargo.toml. If both this setting and "install-updater" are set to true, cargo-dist will fetch axoupdater using native system certs for TLS instead of the reqwest crate's default Mozilla WebPKI certs.