Jiahao XU
153fd57e34
Fox fmt crates_manifests.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-23 01:22:26 +11:00
Jiahao XU
8ef5856a3b
Fix calling create_if_not_exist in crates_manifests.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-23 01:17:44 +11:00
Jiahao XU
d1eef271fd
Fix typo in crates_manifests.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-23 01:14:56 +11:00
Jiahao XU
5f0edf09cd
Fix fs-lock lib.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-23 01:08:25 +11:00
Jiahao XU
80bc78de09
Fix fs-lock lib.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-23 00:57:01 +11:00
Jiahao XU
090884a70f
Import Path in fs-lock lib.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 23:09:05 +11:00
Jiahao XU
ce65159cc7
Fix fs-lock impl
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 23:08:20 +11:00
Jiahao XU
3e5f41e27e
Set file path for file lock in mod cargo_config
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:57:04 +11:00
Jiahao XU
d224e820be
Set file path for FileLock
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:56:04 +11:00
Jiahao XU
1f4defe042
Refactor mod crates_manifests to use create_if_not_exist
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:51:43 +11:00
Jiahao XU
cee14f9288
Simplify create_if_not_exist
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:50:02 +11:00
Jiahao XU
239116db68
Update create_if_not_exist usage in mod binstall_crates_v1
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:45:44 +11:00
Jiahao XU
90e824d57c
Update create_if_not_exist to return FileLock on successs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:44:17 +11:00
Jiahao XU
644c70819f
Add FileLock::set_file_path
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:24:40 +11:00
Jiahao XU
b2cddb8f9d
Enable fs-lock/tracing in binstalk-manifest
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:14:23 +11:00
Jiahao XU
fb56382274
Add optional logging to FileLock::drop
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 22:10:50 +11:00
Jiahao XU
24c36a51e1
Add optional dependency tracing to fs-lock
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 21:49:05 +11:00
Jiahao XU
395a586265
Fix fs-lock error on nightly ( #2059 )
...
* Fix fs-lock error on nightly
Since File::*lock* API is stablised on 1.87, it overrides fs4::fs_std::FileExt
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix other fs-lock method
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix unit-tests when no test is run
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-22 10:21:02 +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]
2c624c26f4
dep: Upgrade transitive dependencies ( #2050 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-02-14 07:48:22 +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]
8c130934bf
dep: Upgrade transitive dependencies ( #2043 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-02-11 10:20:00 +00:00
Jiahao XU
9b8ba9902d
Upgrade hickory-resolver to 0.25.0-alpha.5 ( #2038 )
...
* Upgrade hickory-resolver to 0.25.0-alpha.5
Update dependencies
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix compilation for hickory-resolver
Cleanup use of removed feature
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix resolver.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Pin hickory-resolver to avoid breakage
Cargo considers 0.25.0-alpha.* to be compatible while they can contain breaking changes between alpha versions.
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-02-11 09:54:04 +00:00
github-actions[bot]
7918038770
dep: Upgrade transitive dependencies ( #2039 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-02-08 10:45:39 +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
Félix Saparelli
8dd91862fb
feat(downloader): allow remote::Client to be customised ( #2035 )
...
This is for usage outside of binstall itself.
Sometimes it's useful to be able to specify more reqwest options, such as doing custom DNS resolution. This leaves the existing API identical but adds a couple methods that make it possible to construct a client with custom options.
Signed-off-by: Félix Saparelli <felix@passcod.name>
2025-02-04 11:30:31 +00:00
dependabot[bot]
f68f769899
build(deps): bump openssl from 0.10.69 to 0.10.70 in the cargo group ( #2034 )
...
Bumps the cargo group with 1 update: [openssl](https://github.com/sfackler/rust-openssl ).
Updates `openssl` from 0.10.69 to 0.10.70
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.69...openssl-v0.10.70 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 20:25:43 +00:00
github-actions[bot]
38b5ccd8fe
dep: Upgrade transitive dependencies ( #2033 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-01-31 06:46:28 +00:00
github-actions[bot]
2b6f5de5d2
dep: Upgrade transitive dependencies ( #2030 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-01-24 07:01:51 +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]
4c9e82a8ad
dep: Upgrade transitive dependencies ( #2028 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-01-19 02:22:20 +00:00
github-actions[bot]
18b803e946
dep: Upgrade transitive dependencies ( #2026 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-01-17 07:04:51 +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
github-actions[bot]
4e1592c8c6
dep: Upgrade transitive dependencies ( #2021 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-01-13 11:32:23 +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]
f15549e0c7
dep: Upgrade transitive dependencies ( #2013 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-01-10 10:43:37 +00:00
Jiahao XU
67b2c6aada
Fix creating PR in upgrade-transitive-deps.yml ( #2012 )
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-01-10 06:55: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
dependabot[bot]
b491e5e81d
build(deps): bump the deps group with 2 updates ( #2010 )
...
Bumps the deps group with 2 updates: [itertools](https://github.com/rust-itertools/itertools ) and [async-trait](https://github.com/dtolnay/async-trait ).
Updates `itertools` from 0.13.0 to 0.14.0
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.13.0...v0.14.0 )
Updates `async-trait` from 0.1.83 to 0.1.84
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.83...0.1.84 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: async-trait
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-04 01:46:19 +00:00