Jiahao XU
|
bcb46cd736
|
Optimize main.rs : Avoid frequent Box::clone
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 17:17:56 +10:00 |
|
Jiahao XU
|
c66d8154eb
|
Print out resolution in optimized path
where confirmation isn't required.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 17:13:06 +10:00 |
|
Jiahao XU
|
f0fb7da99b
|
Refactor main.rs : Extract fn Resolution::print
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 17:11:27 +10:00 |
|
Jiahao XU
|
90059c11cf
|
Optimize: Launch install immediately if confirmation is not required
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 17:09:29 +10:00 |
|
Jiahao XU
|
8ca85382af
|
Refactor: Avoid repeated heap alloc of temp_dir
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 17:00:18 +10:00 |
|
Jiahao XU
|
d514219ee4
|
Refactor main.rs : Extract new fn install
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 16:58:04 +10:00 |
|
Jiahao XU
|
40a872dbe3
|
Avoid Box::clone for targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 16:54:45 +10:00 |
|
Jiahao XU
|
7f11b74f5e
|
Support new feature batch installation!
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 16:46:51 +10:00 |
|
Jiahao XU
|
5e7aab7373
|
Impl helpers::await_task : Handle JoinError
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 16:46:21 +10:00 |
|
Jiahao XU
|
730f7d6c15
|
Refactor main.rs : Simplify install_from_source
Rm arg `opts`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 16:21:03 +10:00 |
|
Jiahao XU
|
d6db552db1
|
Refactor main.rs : Extract new fn resolve
prepare for the new feature batch installation.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 16:16:50 +10:00 |
|
Jiahao XU
|
409f31f0bf
|
derive(Clone) for CrateName
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 16:07:47 +10:00 |
|
Jiahao XU
|
9e1f873bb5
|
derive(Clone) for DesiredTargets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-18 16:05:37 +10:00 |
|
Jiahao XU
|
6de30afd01
|
Merge pull request #214 from ryankurte/dependabot/cargo/serde-1.0.139
Bump serde from 1.0.138 to 1.0.139
|
2022-07-18 15:07:48 +10:00 |
|
Jiahao XU
|
83e90fe229
|
Merge pull request #215 from ryankurte/dependabot/cargo/clap-3.2.12
Bump clap from 3.2.8 to 3.2.12
|
2022-07-18 15:06:43 +10:00 |
|
Jiahao XU
|
2065f2e63c
|
Merge pull request #213 from ryankurte/dependabot/cargo/tokio-1.20.0
Bump tokio from 1.19.2 to 1.20.0
|
2022-07-18 15:05:58 +10:00 |
|
dependabot[bot]
|
ee855264f7
|
Bump clap from 3.2.8 to 3.2.12
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.8 to 3.2.12.
- [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/v3.2.8...v3.2.12)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-07-18 01:30:33 +00:00 |
|
dependabot[bot]
|
d9b30705dc
|
Bump serde from 1.0.138 to 1.0.139
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.138 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.139)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-07-18 01:30:24 +00:00 |
|
dependabot[bot]
|
4ae7f31de4
|
Bump tokio from 1.19.2 to 1.20.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.19.2 to 1.20.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.19.2...tokio-1.20.0)
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-07-18 01:30:13 +00:00 |
|
Jiahao XU
|
66ef2277e0
|
Merge pull request #212 from NobodyXu/speedup-ci
Speedup CI: Build cargo-binstall in debug mode for PR
|
2022-07-14 22:29:47 +10:00 |
|
Jiahao XU
|
9f914a3c84
|
Fix integration test: Copy from debug for PR
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-14 21:41:32 +10:00 |
|
Jiahao XU
|
2936f2c3f1
|
Build cargo-binstall in debug mode for PR
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-14 21:32:59 +10:00 |
|
Jiahao XU
|
a672f00575
|
Merge pull request #210 from NobodyXu/feature/crate-version
Feature: Support specifing versions via `crate_name@req`
|
2022-07-12 19:09:50 +10:00 |
|
Jiahao XU
|
aecc474f29
|
Rm unused BinstallError::VersionWarning
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-12 18:34:20 +10:00 |
|
Jiahao XU
|
c87941211c
|
Treat 1.2.3 as =1.2.3 to match cargo-install
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-12 18:33:31 +10:00 |
|
Jiahao XU
|
e2207f7b59
|
Add diagnostic(help) to DuplicateVersionReq
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-12 17:12:01 +10:00 |
|
Jiahao XU
|
ff0bd4d948
|
Support specifing ver via crate_name@version
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-12 17:08:54 +10:00 |
|
Jiahao XU
|
41961ce218
|
Add new variant BinstallError::DuplicateVersionReq
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-12 17:03:12 +10:00 |
|
Jiahao XU
|
38c8bc8cf2
|
Impl new type helpes::CrateName
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-12 16:47:44 +10:00 |
|
Jiahao XU
|
3b1b59c097
|
Merge pull request #209 from NobodyXu/refactor/confirm
Refactor: Confirm only once and move all confirmations into `entry`
|
2022-07-12 12:43:08 +10:00 |
|
Jiahao XU
|
4a9e04967c
|
Refactor: Mv confirmation from install_from_source to entry
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-11 22:21:11 +10:00 |
|
Jiahao XU
|
8bbc6d0171
|
Rm unused lint allow(clippy::too_many_arguments)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-11 22:19:21 +10:00 |
|
Jiahao XU
|
2d0c4a8c4e
|
Refactor: Extract fn collect_bin_files
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-11 22:18:45 +10:00 |
|
Jiahao XU
|
7a85cae859
|
Refactor: Mv confirm into entry and remove unncessary confirm
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-11 21:49:28 +10:00 |
|
Jiahao XU
|
e4b92a3bb7
|
Merge pull request #208 from ryankurte/dependabot/cargo/miette-5.1.1
Bump miette from 5.1.0 to 5.1.1
|
2022-07-11 12:44:36 +10:00 |
|
dependabot[bot]
|
d1fe2acfdd
|
Bump miette from 5.1.0 to 5.1.1
Bumps [miette](https://github.com/zkat/miette) from 5.1.0 to 5.1.1.
- [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.1.0...miette-derive-v5.1.1)
---
updated-dependencies:
- dependency-name: miette
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-07-11 01:44:00 +00:00 |
|
Jiahao XU
|
114c199e98
|
Merge pull request #207 from NobodyXu/refactor
Refactor: Rm global variable `helpers::Client`
|
2022-07-10 18:23:40 +10:00 |
|
Jiahao XU
|
aa466750b7
|
Rm unused dep once_cell
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-10 18:08:07 +10:00 |
|
Jiahao XU
|
fa63dbe5cf
|
Refactor: Rm global var helpers::CLIENT
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-10 18:07:07 +10:00 |
|
Félix Saparelli
|
3c06c45792
|
Merge pull request #206 from passcod/mimalloc-on-windows
Add mimalloc on feature flag
|
2022-07-07 00:14:31 +12:00 |
|
Félix Saparelli
|
63afa5b791
|
Just hide mimalloc behind a feature, available for all platforms
|
2022-07-06 23:33:51 +12:00 |
|
Félix Saparelli
|
e66dc60867
|
Also use mimalloc on musl
|
2022-07-06 23:31:24 +12:00 |
|
Félix Saparelli
|
57c6125fc1
|
Update Cargo.toml
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-05 23:56:30 +12:00 |
|
Félix Saparelli
|
fe724585ae
|
Use mimalloc on windows
|
2022-07-05 23:10:57 +12:00 |
|
Félix Saparelli
|
3348d3d7a2
|
(cargo-release) version 0.10.0
|
2022-07-05 22:46:43 +12:00 |
|
Félix Saparelli
|
9294b4e4bc
|
Merge pull request #198 from NobodyXu/optimize/reuse-client
|
2022-07-05 22:32:49 +12:00 |
|
Félix Saparelli
|
6605c00552
|
Merge pull request #202 from ryankurte/dependabot/cargo/serde-1.0.138
|
2022-07-05 22:31:44 +12:00 |
|
dependabot[bot]
|
efe04be5a5
|
Bump serde from 1.0.137 to 1.0.138
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-07-05 10:29:38 +00:00 |
|
Félix Saparelli
|
9f48e47179
|
Merge pull request #204 from ryankurte/dependabot/cargo/semver-1.0.12
|
2022-07-05 22:27:42 +12:00 |
|
Félix Saparelli
|
6a127bab86
|
Don’t double up unit tests on PRs
|
2022-07-05 22:18:50 +12:00 |
|