Commit graph

779 commits

Author SHA1 Message Date
dependabot[bot]
5dea671585
build(deps): bump the deps group with 2 updates (#1633)
Bumps the deps group with 2 updates: [windows](https://github.com/microsoft/windows-rs) and [default-net](https://github.com/shellrow/default-net).


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

Updates `default-net` from 0.21.0 to 0.22.0
- [Release notes](https://github.com/shellrow/default-net/releases)
- [Commits](https://github.com/shellrow/default-net/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: windows
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: default-net
  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>
2024-02-24 01:58:35 +00:00
Ilkka Poutanen
6dd4a155fb
Typo fix (#1631) 2024-02-23 11:21:05 +00:00
Jiahao XU
1928e2ccb3
Refactor: Mv leon and leon-macros into another repo (#1628)
* Refactor: Mv leon and leon-macros into another repo

It's moved to https://github.com/cargo-bins/leon

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

* Fix CI: Rm `cargo-hack` check for `leon`

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

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-02-20 13:16:47 +00:00
github-actions[bot]
0c219ebf51
release: cargo-binstall v1.6.3 (#1624)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-13 09:05:03 +00:00
github-actions[bot]
83442b013e
release: binstalk v0.22.0 (#1622)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-13 07:14:29 +00:00
github-actions[bot]
22dabf1497
release: binstalk-registry v0.7.0 (#1620)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 13:17:36 +00:00
github-actions[bot]
1c95c73a38
release: binstalk-manifests v0.13.0 (#1619)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 12:24:16 +00:00
github-actions[bot]
1d783172e3
release: binstalk-fetchers v0.4.0 (#1618)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 11:20:24 +00:00
github-actions[bot]
4cde7f075d
release: binstalk-bins v0.4.0 (#1617)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 10:27:28 +00:00
github-actions[bot]
e8934cdc8a
release: leon-macros v1.0.1 (#1616)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 09:50:11 +00:00
github-actions[bot]
5a8af0fb99
release: leon v3.0.0 (#1613)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 04:31:10 +00:00
dependabot[bot]
42215f774a
build(deps): bump the deps group with 5 updates (#1612)
* build(deps): bump the deps group with 5 updates

Bumps the deps group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [file-format](https://github.com/mmalecot/file-format) | `0.23.0` | `0.24.0` |
| [miette](https://github.com/zkat/miette) | `5.10.0` | `7.0.0` |
| [supports-color](https://github.com/zkat/supports-color) | `2.1.0` | `3.0.0` |
| [simple-git](https://github.com/cargo-bins/simple-git) | `0.2.2` | `0.2.3` |
| [toml_edit](https://github.com/toml-rs/toml) | `0.21.1` | `0.22.4` |


Updates `file-format` from 0.23.0 to 0.24.0
- [Release notes](https://github.com/mmalecot/file-format/releases)
- [Changelog](https://github.com/mmalecot/file-format/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mmalecot/file-format/compare/v0.23.0...v0.24.0)

Updates `miette` from 5.10.0 to 7.0.0
- [Release notes](https://github.com/zkat/miette/releases)
- [Changelog](https://github.com/zkat/miette/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zkat/miette/compare/miette-derive-v5.10.0...miette-derive-v7.0.0)

Updates `supports-color` from 2.1.0 to 3.0.0
- [Release notes](https://github.com/zkat/supports-color/releases)
- [Changelog](https://github.com/zkat/supports-color/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zkat/supports-color/compare/v2.1.0...v3.0.0)

Updates `simple-git` from 0.2.2 to 0.2.3
- [Commits](https://github.com/cargo-bins/simple-git/commits)

Updates `toml_edit` from 0.21.1 to 0.22.4
- [Commits](https://github.com/toml-rs/toml/compare/v0.21.1...v0.22.4)

---
updated-dependencies:
- dependency-name: file-format
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: miette
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: deps
- dependency-name: supports-color
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: deps
- dependency-name: simple-git
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
...

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

* Fix compilation of `leon` when feature `cli` is enabled

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-02-11 12:55:47 +00:00
Jiahao XU
c450f442cb
Refactor: Move simple-git into a new repo (#1611)
Moved to https://github.com/cargo-bins/simple-git

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-02-09 05:38:28 +00:00
github-actions[bot]
3f271cce2b
release: cargo-binstall v1.6.2 (#1608)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-04 01:50:56 +00:00
github-actions[bot]
1f49dcaa28
release: binstalk v0.21.0 (#1606)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 15:03:04 +00:00
github-actions[bot]
f8bb014705
release: binstalk-registry v0.6.0 (#1605)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 14:03:24 +00:00
github-actions[bot]
9e57c9cd71
release: binstalk-manifests v0.12.0 (#1602)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 12:59:58 +00:00
github-actions[bot]
290ebbb7e9
release: binstalk-bins v0.3.0 (#1603)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 11:55:48 +00:00
github-actions[bot]
3e52d2d0f4
release: binstalk-fetchers v0.3.0 (#1601)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 10:56:08 +00:00
github-actions[bot]
4ff5700c64
release: binstalk-downloader v0.10.0 (#1600)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 09:44:13 +00:00
github-actions[bot]
42f2eb834e
release: cargo-toml-workspace v5.0.0 (#1599)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 07:25:52 +00:00
github-actions[bot]
23a7890db2
release: binstalk-types v0.7.0 (#1598)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 03:52:00 +00:00
dependabot[bot]
923c317bd4
build(deps): bump the deps group with 3 updates (#1596)
Bumps the deps group with 3 updates: [strum](https://github.com/Peternator7/strum), [strum_macros](https://github.com/Peternator7/strum) and [cargo_toml](https://gitlab.com/lib.rs/cargo_toml).


Updates `strum` from 0.25.0 to 0.26.1
- [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.26.1)

Updates `strum_macros` from 0.25.3 to 0.26.1
- [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.26.1)

Updates `cargo_toml` from 0.18.0 to 0.19.1
- [Commits](https://gitlab.com/lib.rs/cargo_toml/commits/main)

---
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
- dependency-name: cargo_toml
  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>
2024-02-03 02:47:42 +00:00
Jiahao XU
6dc2a0a823
Fix: Load system-wide native cert on rustls (#1589)
* Fix: Load system-wide native cert on rustls

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

* Update `Cargo.lock`

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

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-31 14:28:34 +00:00
github-actions[bot]
a7c691873d
release: cargo-binstall v1.6.1 (#1586)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-21 09:12:02 +00:00
Jiahao XU
01ddf00b54
Fix Unmatched checksum error (#1585)
Fixed #1575

Always consume the stream if a `data_verifier` is provided in
`binstalk_download::Download`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-21 06:50:20 +00:00
github-actions[bot]
7f70a4e8ee
release: simple-git v0.2.2 (#1584)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-21 00:19:23 +00:00
Jiahao XU
70ebed3702
Update <simple_git::GitUrl as Display>::fmt impl (#1582)
Forward it to `<gix::Url as Display>::fmt` now that `gix::Url`
implements `Display`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-20 16:42:49 +00:00
Jiahao XU
32b73b1ee9
Update crates.io description for cargo-binstall (#1583)
Since the one on GitHub has changed.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-20 14:46:34 +00:00
dependabot[bot]
412d42001a
build(deps): bump the deps group with 1 update (#1581)
Bumps the deps group with 1 update: [gix](https://github.com/Byron/gitoxide).


Updates `gix` from 0.57.1 to 0.58.0
- [Release notes](https://github.com/Byron/gitoxide/releases)
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.57.1...gix-v0.58.0)

---
updated-dependencies:
- dependency-name: gix
  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>
2024-01-20 09:00:04 +00:00
github-actions[bot]
7fc0a333e3
release: binstalk v0.20.1 (#1580)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-20 08:06:39 +00:00
github-actions[bot]
0c74d017f9
release: detect-targets v0.1.15 (#1579)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-20 06:16:31 +00:00
FlareFlo
857a2caf34
Fix missing spaces in error log (#1577) 2024-01-19 02:20:37 +00:00
Jiahao XU
8befa3d649
Fix detect-targets on android targets (#1576)
* Fix detect-targets on android targets

By enabling linux fallback on Android.

Also add CI regression test for aarch64-linux-android target.

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

* Fix CI: Add job `detect-targets-android-check` as required for merging

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

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-15 23:02:40 +00:00
Félix Saparelli
d02776c7fc
detect-target: fallback on targets we don't explicitly have support for (#1574)
See #1573
2024-01-14 11:59:24 +00:00
github-actions[bot]
7d25079422
release: cargo-binstall v1.6.0 (#1571)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 09:44:33 +00:00
github-actions[bot]
b497939ec6
release: binstalk v0.20.0 (#1570)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 08:28:22 +00:00
github-actions[bot]
8313dea231
release: binstalk-registry v0.5.0 (#1569)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 06:42:42 +00:00
github-actions[bot]
338b043354
release: cargo-toml-workspace v4.0.0 (#1568)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 04:54:16 +00:00
dependabot[bot]
69c5c3714c
build(deps): bump the deps group with 2 updates (#1567)
Bumps the deps group with 2 updates: [vergen](https://github.com/rustyhorde/vergen) and [cargo_toml](https://gitlab.com/lib.rs/cargo_toml).


Updates `vergen` from 8.2.6 to 8.2.7
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.6...8.2.7)

Updates `cargo_toml` from 0.17.2 to 0.18.0
- [Commits](https://gitlab.com/lib.rs/cargo_toml/commits/v0.18.0)

---
updated-dependencies:
- dependency-name: vergen
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: cargo_toml
  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>
2024-01-13 03:11:53 +00:00
Jiahao XU
c08b8d232a
feat: Impl new option --continue-on-failure (#1559)
* feat: Impl new option `--continue-on-failure`

Resolve #1548

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

* Add new e2e-tests continue-on-failure

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

* Rm dup line ion `e2e-tests/live.sh`

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

* Fix shellcheck

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

* Fix `BinstallError::crate_errors` if `errors.len()` is 1

In that case, it should return `Some(Self::CrateContext(_))` instead of
`Some(Self::Errors(_))`

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

* Add more tests to `e2e-tests/continue-on-failure.sh`

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

* Propagate crate errors on `confirm()` err

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

* Test having two errors in `e2e-tests/continue-on-failure.sh`

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

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-08 12:09:45 +00:00
github-actions[bot]
763885b3a5
release: cargo-binstall v1.5.0 (#1558)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-07 00:46:33 +00:00
github-actions[bot]
5341d050b9
release: simple-git v0.2.1 (#1557)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-06 13:07:50 +00:00
Dustin Blackman
b14f78b982
feat: Add strategies environment variable (#1555) 2024-01-06 12:39:54 +00:00
dependabot[bot]
dca22b6548
build(deps): bump the deps group with 1 update (#1556)
Bumps the deps group with 1 update: [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource).


Updates `embed-resource` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases)
- [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: embed-resource
  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-01-06 03:20:08 +00:00
dependabot[bot]
cfb41882a2
build(deps): bump the deps group with 1 update (#1550)
Bumps the deps group with 1 update: [gix](https://github.com/Byron/gitoxide).


Updates `gix` from 0.56.0 to 0.57.0
- [Release notes](https://github.com/Byron/gitoxide/releases)
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.56.0...gix-v0.57.0)

---
updated-dependencies:
- dependency-name: gix
  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>
2023-12-30 02:23:48 +00:00
github-actions[bot]
b48410fbe8
release: cargo-binstall v1.4.9 (#1546)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-26 11:04:59 +00:00
github-actions[bot]
c014531bc4
release: binstalk-downloader v0.9.6 (#1545)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-26 08:36:48 +00:00
dependabot[bot]
2c23023069
build(deps): bump the deps group with 4 updates (#1542)
* build(deps): bump the deps group with 4 updates

Bumps the deps group with 4 updates: [thiserror](https://github.com/dtolnay/thiserror), [async_zip](https://github.com/Majored/rs-async-zip), [futures-util](https://github.com/rust-lang/futures-rs) and [syn](https://github.com/dtolnay/syn).


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

Updates `async_zip` from 0.0.15 to 0.0.16
- [Release notes](https://github.com/Majored/rs-async-zip/releases)
- [Commits](https://github.com/Majored/rs-async-zip/commits/v0.0.16)

Updates `futures-util` from 0.3.29 to 0.3.30
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30)

Updates `syn` from 2.0.42 to 2.0.43
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.42...2.0.43)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: async_zip
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: futures-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
...

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

* Fix compilation of `extract_zip_entry`: Relax generic bound

Use `futures_io::AsyncRead`, which is the most relaxed bound possible.

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

* ENable feature `async_zip/deflate64`

New compression algorithm introduced

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

* Update transitive deps

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-12-26 07:01:59 +00:00
github-actions[bot]
ef85500736
release: cargo-binstall v1.4.8 (#1532)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-16 04:40:00 +00:00