github-actions[bot]
bf077e1e3a
release: binstalk-downloader v0.10.3 ( #1684 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-05-03 00:19:19 +00:00
Jiahao XU
6ef3b665f4
Fix clippy lint error in 1.78.0 ( #1679 )
...
* Bump msrv of binstalk-downloader to 1.70.0
* Fix trait bound in multiple places
for copy_file_to_mpsc
* Rm super-trait trait bounds for FusedStream
* Bump detect-targets msrv to 1.62.0
* Bump cargo-binstall msrv to 1.70.0
2024-05-02 23:03:12 +00:00
github-actions[bot]
d515e11a8b
release: binstalk-downloader v0.10.2 ( #1675 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-05-02 09:08:24 +00:00
Jiahao XU
fda8cac41a
Bump reqwest to 0.12.4 and enable feature zstd ( #1667 )
...
to support compression using zstd.
Also enable `http2` (which is now enabled by other deps of this crate).
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-04-24 07:32:39 +00:00
dependabot[bot]
f1b7cd4430
build(deps): bump async_zip from 0.0.16 to 0.0.17 in the deps group ( #1659 )
...
* build(deps): bump async_zip from 0.0.16 to 0.0.17 in the deps group
Bumps the deps group with 1 update: [async_zip](https://github.com/Majored/rs-async-zip ).
Updates `async_zip` from 0.0.16 to 0.0.17
- [Release notes](https://github.com/Majored/rs-async-zip/releases )
- [Commits](https://github.com/Majored/rs-async-zip/compare/v0.0.16...v0.0.17 )
---
updated-dependencies:
- dependency-name: async_zip
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix `extract_zip_entry` generic bound
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-04-06 03:38:11 +00:00
Jiahao XU
397fa7200f
Bump dep reqwest in binstalk-downloader from 0.11.26 to 0.12.0 ( #1655 )
...
* Bump dep reqwest in binstalk-downloader from 0.11.26 to 0.12.0
reqwest 0.11.27 is still used in gix, but it will be upgraded in
next gix release.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix feature selection: Forward tls feature to `simple-git`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-04-02 21:26:39 +00:00
github-actions[bot]
a5e534224c
release: binstalk-downloader v0.10.1 ( #1644 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-03-09 03:33:43 +00:00
dependabot[bot]
fda8f98cdf
build(deps): bump the deps group with 2 updates ( #1641 )
...
Bumps the deps group with 2 updates: [reqwest](https://github.com/seanmonstar/reqwest ) and [fs4](https://github.com/al8n/fs4-rs ).
Updates `reqwest` from 0.11.24 to 0.11.25
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.24...v0.11.25 )
Updates `fs4` from 0.8.0 to 0.8.1
- [Release notes](https://github.com/al8n/fs4-rs/releases )
- [Commits](https://github.com/al8n/fs4-rs/commits )
---
updated-dependencies:
- dependency-name: reqwest
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-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-03-09 01:55:36 +00:00
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
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]
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
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
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]
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
dependabot[bot]
f23a619a61
build(deps): bump the deps group with 3 updates ( #1530 )
...
Bumps the deps group with 3 updates: [file-format](https://github.com/mmalecot/file-format ), [home](https://github.com/rust-lang/cargo ) and [thiserror](https://github.com/dtolnay/thiserror ).
Updates `file-format` from 0.22.0 to 0.23.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.22.0...v0.23.0 )
Updates `home` from 0.5.5 to 0.5.9
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cargo/commits )
Updates `thiserror` from 1.0.50 to 1.0.51
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.51 )
---
updated-dependencies:
- dependency-name: file-format
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: home
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>
2023-12-16 01:15:39 +00:00
dependabot[bot]
b2ddd176e3
build(deps): bump the deps group with 2 updates ( #1516 )
...
Bumps the deps group with 2 updates: [tokio](https://github.com/tokio-rs/tokio ) and [gix](https://github.com/Byron/gitoxide ).
Updates `tokio` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.34.0...tokio-1.35.0 )
Updates `gix` from 0.55.2 to 0.56.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.55.2...gix-v0.56.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- 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-09 01:29:41 +00:00
github-actions[bot]
7dfb617c95
release: binstalk-downloader v0.9.5 ( #1505 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-18 04:50:46 +00:00
dependabot[bot]
a62f22050b
build(deps): bump the deps group with 4 updates ( #1502 )
...
Bumps the deps group with 4 updates: [windows](https://github.com/microsoft/windows-rs ), [itertools](https://github.com/rust-itertools/itertools ), [default-net](https://github.com/shellrow/default-net ) and [windows-sys](https://github.com/microsoft/windows-rs ).
Updates `windows` from 0.51.1 to 0.52.0
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.51.1...0.52.0 )
Updates `itertools` from 0.11.0 to 0.12.0
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0 )
Updates `default-net` from 0.20.0 to 0.21.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.20.0...v0.21.0 )
Updates `windows-sys` from 0.48.0 to 0.52.0
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.48.0...0.52.0 )
---
updated-dependencies:
- dependency-name: windows
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: itertools
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
- dependency-name: windows-sys
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-11-18 03:04:12 +00:00
github-actions[bot]
c874f2e0dc
release: binstalk-downloader v0.9.4 ( #1485 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 08:05:41 +00:00
dependabot[bot]
8dff97a0a2
build(deps): bump the deps group with 5 updates ( #1482 )
...
Bumps the deps group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.7` | `4.4.8` |
| [file-format](https://github.com/mmalecot/file-format ) | `0.21.0` | `0.22.0` |
| [command-group](https://github.com/watchexec/command-group ) | `3.0.0` | `4.1.0` |
| [toml_edit](https://github.com/toml-rs/toml ) | `0.20.7` | `0.21.0` |
| [default-net](https://github.com/shellrow/default-net ) | `0.19.0` | `0.20.0` |
Updates `clap` from 4.4.7 to 4.4.8
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.7...v4.4.8 )
Updates `file-format` from 0.21.0 to 0.22.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.21.0...v0.22.0 )
Updates `command-group` from 3.0.0 to 4.1.0
- [Changelog](https://github.com/watchexec/command-group/blob/main/CHANGELOG.md )
- [Commits](https://github.com/watchexec/command-group/compare/v3.0.0...v4.1.0 )
Updates `toml_edit` from 0.20.7 to 0.21.0
- [Commits](https://github.com/toml-rs/toml/compare/v0.20.7...v0.21.0 )
Updates `default-net` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: file-format
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: command-group
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: deps
- dependency-name: toml_edit
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>
2023-11-11 06:32:43 +00:00
dependabot[bot]
3414c4ee83
build(deps): bump the deps group with 3 updates ( #1478 )
...
Bumps the deps group with 3 updates: [command-group](https://github.com/watchexec/command-group ), [default-net](https://github.com/shellrow/default-net ) and [cargo_toml](https://gitlab.com/lib.rs/cargo_toml ).
Updates `command-group` from 2.1.0 to 3.0.0
- [Changelog](https://github.com/watchexec/command-group/blob/main/CHANGELOG.md )
- [Commits](https://github.com/watchexec/command-group/compare/v2.1.0...v3.0.0 )
Updates `default-net` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.18.0...v0.19.0 )
Updates `cargo_toml` from 0.16.3 to 0.17.0
- [Commits](https://gitlab.com/lib.rs/cargo_toml/compare/v0.16.3...v0.17.0 )
---
updated-dependencies:
- dependency-name: command-group
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: deps
- dependency-name: default-net
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>
2023-11-04 01:44:22 +00:00
github-actions[bot]
61748689b3
release: binstalk-downloader v0.9.3 ( #1471 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-22 12:20:39 +00:00
Jiahao XU
8efc19b3c3
dep: Update trust-dns-resolver v0.23.0 => hickory-resolver 0.24.0 ( #1467 )
...
It's renamed to hickory-resolver.
Also enabled new feature `hickory-resolver/dns-over-h3` if `rustls` is
enabled.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-10-20 11:48:46 +00:00
dependabot[bot]
4de2d0f49c
build(deps): bump the deps group with 6 updates ( #1465 )
...
Bumps the deps group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [tracing](https://github.com/tokio-rs/tracing ) | `0.1.37` | `0.1.39` |
| [async-compression](https://github.com/Nullus157/async-compression ) | `0.4.3` | `0.4.4` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.0.27` | `1.0.28` |
| [zstd](https://github.com/gyscos/zstd-rs ) | `0.12.4` | `0.13.0` |
| [default-net](https://github.com/shellrow/default-net ) | `0.17.0` | `0.18.0` |
| [gix](https://github.com/Byron/gitoxide ) | `0.54.1` | `0.55.2` |
Updates `tracing` from 0.1.37 to 0.1.39
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39 )
Updates `async-compression` from 0.4.3 to 0.4.4
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/async-compression-v0.4.3...async-compression-v0.4.4 )
Updates `flate2` from 1.0.27 to 1.0.28
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.27...1.0.28 )
Updates `zstd` from 0.12.4 to 0.13.0
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/compare/v0.12.4...v0.13.0 )
Updates `default-net` from 0.17.0 to 0.18.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.17.0...v0.18.0 )
Updates `gix` from 0.54.1 to 0.55.2
- [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.54.1...gix-v0.55.2 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: async-compression
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: zstd
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
- 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-10-14 10:01:27 +00:00
Félix Saparelli
3cf76cd0a9
Downgrade DNS info! to debug! ( #1454 )
...
* Downgrade DNS info! to debug!
* Update resolver.rs
2023-10-10 05:51:55 +00:00
github-actions[bot]
113e9d40a3
release: binstalk-downloader v0.9.2 ( #1447 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 07:50:55 +00:00
github-actions[bot]
71764ca62c
release: binstalk-types v0.6.1 ( #1446 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 07:08:48 +00:00
Jiahao XU
ceba74870e
Fix clippy errors in cargo v1.73.0 ( #1439 )
...
It actually improves the quality of our code!
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-10-06 12:10:42 +00:00
Sculas
af04e45b5a
feat: logging for DNS resolver (also fixes #1417 ) ( #1436 )
...
* feat: logging for dns resolver
* refactor: fix clippy warnings
* refactor: actually fix clippy warnings
* refactor: apply requested changes
2023-10-05 11:00:07 +00:00
Jiahao XU
a69beccf1a
Bump dep trust-dns-reslver to v0.23.0 ( #1432 )
...
* Bump dep trust-dns-reslver to v0.23.0
Since we no longer enables `reqwest/trust-dns-resolver` anymore, we
don't need to keep this dependency is sync with upstream `reqwest`.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix compilation
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-30 01:12:27 +00:00
github-actions[bot]
4344148566
release: binstalk-downloader v0.9.1 ( #1416 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-27 22:31:01 +00:00
Jiahao XU
b73c253275
Fix GhApiClient
: Accept any auth_token
given ( #1415 )
...
Fixed #1414
There are many different kinds of gh tokens and they can change the
format at anytime, so we can't check it based on its formats.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-27 12:02:42 +00:00
github-actions[bot]
4ec44749f1
release: binstalk-downloader v0.9.0 ( #1387 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 05:32:33 +00:00
github-actions[bot]
d39bb918df
release: binstalk-types v0.6.0 ( #1384 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 02:31:02 +00:00
Félix Saparelli
32beba507b
Initial signing support ( #1345 )
...
* Add CLI options
* Add manifest types
* Thread signature policy through to fetchers
* Thread signing section through from metadata
* Implement signing validation
* Clippy
* Attempt testing
* Yes and
* Why
* fmt
* Update crates/bin/src/args.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/gh_crate_meta.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/bin/src/args.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/signing.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/signing.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/signing.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/signing.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* fixes
* Finish feature
* Document
* Include all fields in the signing.file template
* Readme document
* Review fixes
* Fail on non-utf8 sig
* Thank goodness for tests
* Run test in ci
* Add rsign2 commands
* Log utf8 error
* Update e2e-tests/signing.sh
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `e2e-tests/signing.sh` MacOS CI failure
Move the tls cert creation into `signing.sh` and sleep for 10s to wait
for https server to start.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Refactor e2e-tests-signing files
- Use a tempdir generated by `mktemp` for all certificates-related
files
- Put other checked-in files into `e2e-tests/signing`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fixed `e2e-tests-signing` connection err in MacOS CI
Wait for server to start up by trying to connect to it.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `e2e-tests-signing` passing `-subj` to `openssl` on Windows
Use single quote instead of double quote to avoid automatic expansion
from bash
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `e2e-tests-signing` waiting for server to startup
Remove `timeout` since it is not supported on MacOS.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Try to fix windows CI by setting `MSYS_NO_PATHCONV=1` on `openssl` cmds
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fixed `e2e-tests-signing` on windows
By using double `//` for the value passed to option `-subj`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fixed infinite loop in `signing/wait-for-server` on Windows
Pass `--ssl-revoke-best-effort` to prevent schannel from checking ssl
revocation status.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add cap on retry attempt in `signing/wait-for-server.sh`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Let `singing/server.py` print output to stderr
so that we can see the error message there.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix running `signing/server.py` on MacOS CI
use `python3` since macos-latest still has python2 installed and
`python` is a symlink to `python2` there.
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>
2023-09-23 04:02:56 +00:00
github-actions[bot]
53234e81ab
release: binstalk-downloader v0.8.0 ( #1369 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-17 03:53:11 +00:00
Jiahao XU
9c4e3a6642
Minor refactor for binstalk-downloader
( #1365 )
...
- Mv `resolver.rs` => `remote/resolver.rs`
- Fix clippy warnings in `resolver.rs` on unix
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-17 01:06:15 +00:00
Sculas
6560225c03
fix: use custom DNS resolver ( #1364 )
...
* add DefaultResolver
* style: fmt
* chore: remove unused feature
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* chore: remove unused `ipconfig/computer` feature
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* chore: update `trust-dns-resolver`
* refactor: apply requested changes
* chore: revert `trust-dns-resolver` upgrade
I mistakenly thought `reqwest` already updated to the newest version, but it hasn't! (no release was made yet)
* refactor: cleanup
---------
Co-authored-by: GNQG <my.t.gnq+dev@gmail.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-16 23:51:07 +00:00
dependabot[bot]
e711bcd404
build(deps): bump the deps group with 8 updates ( #1361 )
...
Bumps the deps group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.2` | `4.4.3` |
| [mimalloc](https://github.com/purpleprotocol/mimalloc_rust ) | `0.1.38` | `0.1.39` |
| [vergen](https://github.com/rustyhorde/vergen ) | `8.2.4` | `8.2.5` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.105` | `1.0.107` |
| [async-compression](https://github.com/Nullus157/async-compression ) | `0.4.2` | `0.4.3` |
| [cargo_toml](https://gitlab.com/lib.rs/cargo_toml ) | `0.15.3` | `0.16.0` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.66` | `1.0.67` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.31` | `2.0.33` |
Updates `clap` from 4.4.2 to 4.4.3
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.2...v4.4.3 )
Updates `mimalloc` from 0.1.38 to 0.1.39
- [Release notes](https://github.com/purpleprotocol/mimalloc_rust/releases )
- [Commits](https://github.com/purpleprotocol/mimalloc_rust/compare/v0.1.38...v0.1.39 )
Updates `vergen` from 8.2.4 to 8.2.5
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.4...8.2.5 )
Updates `serde_json` from 1.0.105 to 1.0.107
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.107 )
Updates `async-compression` from 0.4.2 to 0.4.3
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/async-compression-v0.4.2...async-compression-v0.4.3 )
Updates `cargo_toml` from 0.15.3 to 0.16.0
- [Commits](https://gitlab.com/lib.rs/cargo_toml/commits/main )
Updates `proc-macro2` from 1.0.66 to 1.0.67
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.66...1.0.67 )
Updates `syn` from 2.0.31 to 2.0.33
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.31...2.0.33 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: mimalloc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: async-compression
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
- dependency-name: proc-macro2
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 23:11:33 +00:00
Jiahao XU
3e67e3624a
feat: Add more logging to binstalk-{downloader, registry}
( #1340 )
...
for debugging purposes.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-02 09:38:27 +00:00
Jiahao XU
b4b85c6314
Fixed binstalk-downloader docs.rs build ( #1334 )
...
Feature git is removed from binstalk-downloader, however we still enable it on docs.rs build.
2023-09-01 01:18:52 +00:00
Jiahao XU
8a08cdda6f
Fix GitHub token auto discovery ( #1335 )
...
* Fix GitHub token auto discovery
Fixed #1333
- Rm dep `gh-token` since it is broken and we can simply run
`gh auth token` in `cargo-binstall` instead.
- binstalk-downloader: Make sure GitHub token is at least 40B long
and other than the `_`, composes of only alphanumeric characters.
- Warn on failure to read `git/credential` files
- Optimize `try_from_home` to avoid heap allocation of `PathBuf`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix typo and clippy
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Simplify `is_valid_gh_token` & `is_ascii_alphanumeric` impl
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Improve err msg in `get_inner`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Improve err msg of `cargo_binstall::gh_token::get`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-01 01:14:59 +00:00
xd009642
0ca38ab0e3
Fix binstalk-downloader test: duplicated gnu cargo audit ( #1337 )
...
Fix duplicated gnu cargo audit
The gnu cargo audit release was duplicated instead of the gnu and musl
releases both being represented.
2023-08-31 21:40:33 +00:00
github-actions[bot]
94ac906caa
release: binstalk-downloader v0.7.1 ( #1320 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-08-24 05:28:59 +00:00
Jiahao XU
a28b1a8092
dep: Rm unused dep generic-array
in binstalk-downloader
( #1312 )
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-24 01:21:14 +00:00
Jiahao XU
cb9cb0e937
Fix binstalk_downloader::Download
for data-verifier ( #1313 )
...
To make sure the `data_verifier` consumes the entire file and produces
the correct checksum.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-24 00:04:57 +00:00
Jiahao XU
c99b83b720
dep: Bump reqwest to v0.11.19 ( #1308 )
...
Fixed #1292
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-22 13:45:37 +00:00
Jiahao XU
dc77a1ab93
Refactor: Extract new crate simple-git
( #1304 )
...
`binstalk-downloader` contains stuff about http(s) before the
git code is moved into it and now it becomes http and git.
While git indeed uses http stuff, which is why I decided to put
it into binstalk-downloader, it is more than just downloading
since it is stateful (can be cached locally and updated)
where as http is stateless.
Also `binstalk-downloader`'s codegen time now increases
dramatically and it also creates extra dependencies for
binstalk-fetchers, delaying its execution.
The git code also don't use anything from `binstalk-downloader`
at all, it makes sense to be an independent crate.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-19 01:08:55 +00:00
Jiahao XU
146d3f8f43
Fix binstalk-downloader
feature activation ( #1297 )
...
Fix use of `native-tls` and `git`, make sure that `gix` actually uses
`native-tls` in this scenario.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-16 22:34:03 +00:00