Jiahao XU
31a88f4124
cargo fmt crate_version_source.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 01:06:37 +10:00
Jiahao XU
563daa2bdd
Fix lifetime of CratesToml<'::add_crate
API
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 01:00:17 +10:00
Jiahao XU
cf3e7f4113
Fix lifetime of CrateToml::add_crate
API
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 00:50:12 +10:00
Jiahao XU
01d5dbf234
Fix crate_version_source.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 00:48:25 +10:00
Jiahao XU
8f13d324c4
Fix <Source as Display>::fmt
impl for Source::Sprase
...
Add `/` to the end of the url if it doesn't have one
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 00:44:19 +10:00
Jiahao XU
2d7feab356
Refactor: Extract new fn CratesToml::add_crate
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 00:34:24 +10:00
Jiahao XU
742ab8c1e0
Fix fmt in cargo_crates_v1.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 01:10:01 +10:00
Jiahao XU
769ba9276b
Fix fmt in binstalk-registry/src/lib.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:43:32 +10:00
Jiahao XU
f5a4b70be4
Fix fmt in cargo_crates_v1.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:42:09 +10:00
Jiahao XU
c929883e47
Fix unused variable in Registry::crate_source
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:41:06 +10:00
Jiahao XU
ce87169b26
Fix Registry::url
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:34:57 +10:00
Jiahao XU
a356179804
Fix typing in cargo_crates_v1.rs and optimize append_to_file
...
Use `Vec::reserve_exact ` in `append_to_file` to avoid unnecessary allocation
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:17:18 +10:00
Jiahao XU
a2df287683
Optimize CratesToml::append_to_file
...
Bulkify remove
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 01:24:37 +10:00
Jiahao XU
68b9519527
Add support for Source::Sparse
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 01:11:43 +10:00
Jiahao XU
fc32a1ca61
Use `Registry::crate_siouy
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 01:09:25 +10:00
Jiahao XU
b909001d4b
Add Registry::crate_source
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 01:08:03 +10:00
Jiahao XU
85ae0e7cee
Add SourceType::Sparse
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 00:58:01 +10:00
Jiahao XU
c83aa46c3c
Add either v1.15.0 to binstalk-registry
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 00:51:45 +10:00
github-actions[bot]
e8c9cc3599
release: cargo-binstall v1.12.6 ( #2174 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2025-05-31 06:15:47 +00:00
github-actions[bot]
0aa114bfe0
chore: release ( #2164 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-31 03:49:59 +00:00
Jiahao XU
a333bb922d
deps: Upgrade reqwest to 0.12.17 ( #2168 )
...
* Upgrade reqwest to 0.12.18
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Enable bbr and early data for http3
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* fix dep reqwest 0.12.18 does not exist
use reqwest 0.12.17
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix builder
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix setting tls early data
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Add reqwest_unstable as checked-cfg
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-05-28 14:59:21 +00:00
github-actions[bot]
5cbf019d8c
release: cargo-binstall v1.12.5 ( #2156 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2025-05-16 15:46:21 +00:00
github-actions[bot]
205aaa5a4f
chore: release ( #2155 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-16 15:14:11 +00:00
github-actions[bot]
8d438736eb
dep: Upgrade transitive dependencies ( #2154 )
...
* dep: Upgrade transitive dependencies
* Simplify download.rs using io::Error::other
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix utils.rs in io::Error::other
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix typo in download.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Use io::Error::other in errors.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Use TempDir::keep instead of deprecated into_path in entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Use io::Error::other in gh_token.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fmt gh_token.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fmt utils.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>
2025-05-16 13:29:39 +00:00
dependabot[bot]
277269fc8e
build(deps): bump file-format from 0.26.0 to 0.27.0 in the deps group ( #2149 )
...
Bumps the deps group with 1 update: [file-format](https://github.com/mmalecot/file-format ).
Updates `file-format` from 0.26.0 to 0.27.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.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: file-format
dependency-version: 0.27.0
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-05-10 01:49:27 +00:00
github-actions[bot]
13f9d60d53
release: cargo-binstall v1.12.4 ( #2146 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2025-05-07 12:19:04 +00:00
github-actions[bot]
f95e90d82c
chore: release ( #2123 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-07 11:42:02 +00:00
Jiahao XU
1394d1bbda
Fix glibc detection on ubuntu 24.02 ( #2143 )
...
* Fix glibc detection on ubuntu 24.02
On ubuntu 24.02, glibc are installed in:
```
/usr/lib/aarch64-linux-gnu/libc.so.6
/usr/lib/aarch64-linux-gnu/libc.so
```
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Add tests for ubuntu-24.02-arm
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix CI: Add detect-targets-ubuntu-arm-test
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Bump ubuntu-20.04 to ubuntu-22.04
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update outdated comment in detect-targets-ubuntu-arm-test in ci.yml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-05-07 08:43:36 +00:00
github-actions[bot]
63aaa5c193
release: cargo-binstall v1.12.3 ( #2114 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2025-04-06 04:47:09 +00:00
github-actions[bot]
e986d53f05
chore: release ( #2106 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-05 11:02:32 +00:00
Jiahao XU
b49bcb7a16
Fix clippy lints ( #2111 )
...
* Fix indentation of docs in extracted_files.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Optimize parse_header_retry_after
Use next_back instead of last
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix doc indentation in cargo_config.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-04-04 14:14:17 +00:00
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
Jiahao XU
88fd813c05
Use zlib-rs for gitoxide and avoid pulling in zlib-ng ( #2099 )
...
Since we already use zlib-rs there is no point in pulling in zlib-ng
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2025-03-19 14:25:08 +00:00
Jiahao XU
028b24de4d
Fix clippy warnings for detect-targets and binstalk-downloader ( #2098 )
...
binstalk-downloader clippy warning is specific to windows
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2025-03-19 14:19:43 +00:00
dependabot[bot]
bb0d6c1f9c
build(deps): bump windows from 0.60.0 to 0.61.1 in the deps group across 1 directory ( #2097 )
...
build(deps): bump windows in the deps group across 1 directory
Bumps the deps group with 1 update in the / directory: [windows](https://github.com/microsoft/windows-rs ).
Updates `windows` from 0.60.0 to 0.61.1
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
---
updated-dependencies:
- dependency-name: windows
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-19 14:10:25 +00:00
Jiahao XU
ce998d1af4
dep: Bump hickory-resolver to 0.25.1 ( #2096 )
...
* dep: Bump hickory-resolver to 0.25.0
Fix #2089
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix use of hickory-resolver features
And bump hickory-resolver to 0.25.1
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update lockfile and bump transitive dependencies
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix use of hickory-dns updated API
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2025-03-19 13:33:44 +00:00
elsirion
d8ecdcaeec
fix: actually check if lock was acquired ( #2091 )
2025-03-19 09:41:51 +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]
120bca5a45
build(deps): bump the deps group with 2 updates ( #2084 )
...
Bumps the deps group with 2 updates: [async-trait](https://github.com/dtolnay/async-trait ) and [cargo_toml](https://gitlab.com/lib.rs/cargo_toml ).
Updates `async-trait` from 0.1.87 to 0.1.88
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.87...0.1.88 )
Updates `cargo_toml` from 0.21.0 to 0.22.1
- [Commits](https://gitlab.com/lib.rs/cargo_toml/commits/v0.22.1 )
---
updated-dependencies:
- dependency-name: async-trait
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>
2025-03-15 01:25:01 +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
Jiahao XU
92973c1392
Fix detect-targets musl fallback for android and alpine ( #2076 )
...
Android does not have `-unknown-` in target and alpine uses
`-alpine-` instead of `-unknown-`, so the musl fallback must be
taken special care when generating
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2025-03-06 19:56:49 +00:00
Jiahao XU
a8daf8eb3b
Use bzip2/libbz2-rs-sys ( #2071 )
...
Also upgrade rc-zip-sync so that it uses bzip the same major version
v0.5.2 as our crate, so that it doesn't pull in c bzip and rust bzip
at the same time.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2025-03-04 13:20:35 +00:00
dependabot[bot]
d9da8aaba4
build(deps): bump the deps group with 3 updates ( #2072 )
...
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 )
...
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