Félix Saparelli
|
4b00f5f143
|
Split crates and clean up structure of codebase (#294)
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-08-20 11:24:12 +00:00 |
|
Félix Saparelli
|
763d4610e5
|
Don't prompt if there's nothing to do (#293)
Fixes #291
|
2022-08-09 09:09:21 +00:00 |
|
Jiahao XU
|
a271e695a5
|
Ignore if package already up-to-date
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-08-08 19:18:30 +10:00 |
|
Jiahao XU
|
065f62a625
|
Use VersionReq for Options::version_req and update usage of
`CrateName` in `binstall::install`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-08-08 18:05:59 +10:00 |
|
Jiahao XU
|
346bb8ee67
|
Fix binstall::resolve (#266)
|
2022-08-04 11:12:06 +12:00 |
|
Jiahao XU
|
b7cfa0aa64
|
Use CompactString for field Resolution::Fetch::version
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-08-02 22:21:45 +10:00 |
|
Jiahao XU
|
d430c077d4
|
Use CompactString for fields of CrateName
Since most of the time, they are shorter than 24 bytes.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-08-02 22:17:11 +10:00 |
|
Félix Saparelli
|
47fd7c14a6
|
Add -V, clean up errors and help text (#259)
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-30 17:26:52 +12:00 |
|
Jiahao XU
|
6a95bb07e0
|
Add field desired_targets to binstall::Options
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-21 15:05:12 +10:00 |
|
Jiahao XU
|
aa88dce215
|
Add field cli_overrides to binstall::Options
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-21 15:00:01 +10:00 |
|
Jiahao XU
|
f09004b5b7
|
Optimize: Share crates_io_api::AsyncClient
So that the connection pool and the rate limit will be shared.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-21 14:50:51 +10:00 |
|
Jiahao XU
|
6180e9ec3e
|
Add comment in fn resolve
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-21 13:00:58 +10:00 |
|
Jiahao XU
|
5e35604012
|
Refactor: Extract new mod binstall/resolve.rs
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-07-20 17:28:53 +10:00 |
|