Commit graph

437 commits

Author SHA1 Message Date
github-actions[bot]
b9bf440070
release: cargo-binstall v1.12.2 (#2101)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-03-20 14:03:34 +00:00
github-actions[bot]
08cf94c5bf
chore: release (#2095)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-19 15:24:05 +00:00
github-actions[bot]
89e5015914
release: cargo-binstall v1.12.1 (#2085)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-03-15 06:13:23 +00:00
github-actions[bot]
e2ef5918cf
chore: release (#2080)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-15 03:38:12 +00:00
dependabot[bot]
ed23038614
build(deps): bump tokio from 1.43.0 to 1.44.0 in the deps group (#2079)
Bumps the deps group with 1 update: [tokio](https://github.com/tokio-rs/tokio).


Updates `tokio` from 1.43.0 to 1.44.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-08 02:18:01 +00:00
github-actions[bot]
acd08f1845
release: cargo-binstall v1.12.0 (#2078)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-03-07 14:58:55 +00:00
github-actions[bot]
b243c176fe
chore: release (#2073)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-07 13:49:46 +00:00
Jiahao XU
268efdf6e6
feat: Use CARGO_BUILD_TARGET as fallback for --target (#2075)
* feat: Use `CARGO_BUILD_TARGET` as fallback for `--target`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix e2e-tests: Unset CARGO_BUILD_TARGET before running e2e-tests

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2025-03-07 13:18:15 +00:00
dependabot[bot]
d9da8aaba4
build(deps): bump the deps group with 3 updates (#2072)
Some checks failed
Release-plz / Release-plz (push) Has been cancelled
* build(deps): bump the deps group with 3 updates

Bumps the deps group with 3 updates: [compact_str](https://github.com/ParkMyCar/compact_str), [bzip2](https://github.com/trifectatechfoundation/bzip2-rs) and [fs4](https://github.com/al8n/fs4-rs).


Updates `compact_str` from 0.8.1 to 0.9.0
- [Changelog](https://github.com/ParkMyCar/compact_str/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ParkMyCar/compact_str/compare/v0.8.1...v0.9.0)

Updates `bzip2` from 0.5.1 to 0.5.2
- [Release notes](https://github.com/trifectatechfoundation/bzip2-rs/releases)
- [Commits](https://github.com/trifectatechfoundation/bzip2-rs/compare/v0.5.1...v0.5.2)

Updates `fs4` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/al8n/fs4-rs/releases)
- [Changelog](https://github.com/al8n/fs4-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/al8n/fs4-rs/commits)

---
updated-dependencies:
- dependency-name: compact_str
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: bzip2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: fs4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix use of fs4::fs_std::FileExt::try_lock*

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-03-01 07:11:06 +00:00
github-actions[bot]
a799bb428c
release: cargo-binstall v1.11.2 (#2069)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-02-28 13:01:26 +00:00
github-actions[bot]
708a489062
chore: release (#2067)
Some checks are pending
Release-plz / Release-plz (push) Waiting to run
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-28 11:55:33 +00:00
Jiahao XU
712ad730a6
Use flate2/zlib-rs for dev/release build (#2068)
* Add feature zlib-rs to binstalk-downloader

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Add feature zlib-rs to binstalk

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Add feature zlib-rs to cargo-binstall

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Enable zlib-rs for CI build pipeline

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

---------

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-28 09:08:34 +00:00
github-actions[bot]
6010abb1da
release: cargo-binstall v1.11.1 (#2065)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-02-23 01:37:27 +00:00
github-actions[bot]
f71ab715ab
chore: release (#2061)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-22 15:38:19 +00:00
github-actions[bot]
ac0e34cc77
release: cargo-binstall v1.11.0 (#2053)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-02-15 09:20:04 +00:00
github-actions[bot]
cdc492db98
chore: release (#2051)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-15 08:22:41 +00:00
Josh McKinney
95a9818565
feat: add color and wrapping to help text (#2052)
* feat: add color to help text

Uses the same coloring that cargo uses to make it easier to skim read the help

* fix: wrap help text

* fix: shorten value placeholders in help text

* fix: docs for override help text
2025-02-15 07:40:19 +00:00
github-actions[bot]
c175bb02c4
release: cargo-binstall v1.10.23 (#2048)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-02-12 00:21:51 +00:00
github-actions[bot]
8a18d5f024
chore: release (#2040)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-11 16:10:36 +00:00
dependabot[bot]
04a243ff8f
build(deps): bump the deps group with 2 updates (#2044)
Bumps the deps group with 2 updates: [strum](https://github.com/Peternator7/strum) and [strum_macros](https://github.com/Peternator7/strum).


Updates `strum` from 0.26.3 to 0.27.0
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.0)

Updates `strum_macros` from 0.26.4 to 0.27.0
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits/v0.27.0)

---
updated-dependencies:
- dependency-name: strum
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: strum_macros
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 11:03:28 +00:00
github-actions[bot]
a3f88b5cbf
chore: release (#2031)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-04 21:30:08 +00:00
github-actions[bot]
639cca9737
release: cargo-binstall v1.10.22 (#2029)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-01-19 06:37:17 +00:00
github-actions[bot]
bd6f0c6b14
chore: release (#2027)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-19 02:58:41 +00:00
github-actions[bot]
aa7d47ed36
release: cargo-binstall v1.10.21 (#2024)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-01-13 14:12:56 +00:00
github-actions[bot]
9d2dbb3dff
chore: release (#2023)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-13 13:41:19 +00:00
dependabot[bot]
33a38e49e6
build(deps): bump dirs from 5.0.1 to 6.0.0 in the deps group (#2022)
Bumps the deps group with 1 update: [dirs](https://github.com/soc/dirs-rs).


Updates `dirs` from 5.0.1 to 6.0.0
- [Commits](https://github.com/soc/dirs-rs/commits)

---
updated-dependencies:
- dependency-name: dirs
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-13 12:25:42 +00:00
Jiahao XU
9d375f9461
Reduce log version requirements back to 0.4.22 (#2020)
Since new versions are yanked

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-01-12 06:35:47 +00:00
github-actions[bot]
7bcb061e88
release: cargo-binstall v1.10.20 (#2016)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-01-11 06:31:30 +00:00
github-actions[bot]
c6a51aaf3e
chore: release (#2014)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-11 04:00:58 +00:00
dependabot[bot]
fa7478ca78
build(deps): bump the deps group with 3 updates (#2015)
Bumps the deps group with 3 updates: [windows](https://github.com/microsoft/windows-rs), [log](https://github.com/rust-lang/log) and [thiserror](https://github.com/dtolnay/thiserror).


Updates `windows` from 0.58.0 to 0.59.0
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/compare/0.58.0...0.59.0)

Updates `log` from 0.4.22 to 0.4.24
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.22...0.4.24)

Updates `thiserror` from 2.0.10 to 2.0.11
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.10...2.0.11)

---
updated-dependencies:
- dependency-name: windows
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-11 02:20:03 +00:00
github-actions[bot]
1f43e1af11
release: cargo-binstall v1.10.19 (#2011)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2025-01-04 05:18:15 +00:00
github-actions[bot]
158fb2fb14
chore: release (#2009)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-04 02:16:37 +00:00
github-actions[bot]
f43d7fca03
release: cargo-binstall v1.10.18 (#2006)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-12-28 05:20:10 +00:00
github-actions[bot]
f1f4d98da7
chore: release (#2001)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-28 01:33:57 +00:00
github-actions[bot]
9bc0ba964d
release: cargo-binstall v1.10.17 (#1998)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-12-14 07:15:39 +00:00
github-actions[bot]
7604d8d286
chore: release (#1996)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-14 05:14:05 +00:00
github-actions[bot]
b8ce712a75
release: cargo-binstall v1.10.16 (#1994)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-12-07 06:06:30 +00:00
github-actions[bot]
c8e29f204e
chore: release (#1992)
* chore: release

* Apply suggestions from code review

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

---------

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-12-07 04:55:43 +00:00
github-actions[bot]
3e50dfbbc5
release: cargo-binstall v1.10.15 (#1989)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-11-29 11:04:41 +00:00
github-actions[bot]
b78dfd2890
chore: release (#1986)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-29 10:13:39 +00:00
github-actions[bot]
84683f1ff6
dep: Upgrade transitive dependencies (#1985)
* dep: Upgrade transitive dependencies

* Fix clippy lint error in signing.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix must_use warning in bin/build.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix cargo-fmt in bin/ build.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

---------

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-29 08:24:35 +00:00
github-actions[bot]
84ca29d5c1
release: cargo-binstall v1.10.14 (#1982)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-11-23 05:43:50 +00:00
github-actions[bot]
d0e37e3ce9
chore: release (#1980)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-23 03:46:10 +00:00
dependabot[bot]
2f84637d23
build(deps): bump the deps group with 2 updates (#1981)
Bumps the deps group with 2 updates: [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource) and [url](https://github.com/servo/rust-url).


Updates `embed-resource` from 2.5.1 to 3.0.1
- [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases)
- [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v2.5.1...v3.0.1)

Updates `url` from 2.5.3 to 2.5.4
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.5.3...v2.5.4)

---
updated-dependencies:
- dependency-name: embed-resource
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: deps
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-23 02:17:23 +00:00
github-actions[bot]
2417642284
release: cargo-binstall v1.10.13 (#1973)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-11-18 09:44:41 +00:00
github-actions[bot]
10a53e7bfb
chore: release (#1972)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-18 08:29:17 +00:00
Christian Bruckmayer
b1aaafcd75
Use git credential helper (#1871)
* Use git credential helper

* Fix compilation

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Add back `gh auth token` in `gh_token::get`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix confusing `.expect` msg

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-11-18 08:04:34 +00:00
github-actions[bot]
dae59123eb
release: cargo-binstall v1.10.12 (#1968)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-11-09 09:17:15 +00:00
github-actions[bot]
3677ac112d
chore: release (#1965)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-09 07:22:29 +00:00
Jiahao XU
c9d5e6de40
feature: faster self-install without rate limit issue (#1963)
* Add new hidden option `--self-install`

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix typo

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Optimize: Only call `LazyJobserverClient::new` when necessary

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* `--self-install` should include a path to a binary

On windows, we cannot just copy an executable with process running from it, so better to copy it to a temporary location.

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Impl manifest update and basic API of `self_install`

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Add dep atomic-file-install to cargo-binstall

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Impl `self_install`

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Make `--self-install` a boolean flag

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Accept no duration in `MainExit::new`

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Impl self-install mode in main_impl.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Use `--self-install` mode in install-from-binstall-release.sh

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Use `--self-install` in install-from-binstall-release.ps1

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix import in mod entry

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix call of `self_install` in `main_impl`

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix `--self-install` clap doc

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix `entry::self_install`

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Apply suggestions from code review

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix parsing semver number in entry.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix compilation in entry.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* fix entry.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix fmt in bin_util.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix fmt in entry.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Use --self-install if supported in unix install script

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Use --self-install if available in powershell install script

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix install-from-binstall-release.ps1

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fi install-from-binstall-release.ps1

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix install-from-binstall-release.ps1

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Create self-install.sh

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Add e2e-test-self-install to justfile

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix args::parse() for self-install mode

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix args parsing: Do no require positional arg if --self-install is present

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

---------

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-09 06:19:35 +00:00