Jiahao XU
65670224b8
Simplify args::parse
using clap::Arg::conflicts_with
( #1198 )
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-07-11 13:20:51 +00:00
Jiahao XU
9d4694219b
speedup git shallow cloning: Enable gix/max-performance
( #1186 )
...
for targets:
- x86_64-apple-darwin
- aarch64-apple-darwin
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
which will use `zlib-ng` to speedup decompression and use assembly
version for sha1 checksum calculation on supported CPU.
Also enable feature `zlib-ng` on windows and
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-musl
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-07-10 06:18:15 +00:00
Jiahao XU
7dea40a99a
Support --registry
and more options from .cargo/config.toml
( #1195 )
...
Fixed #885
Now we can take advantage of new argument `--registry` and
env overrides:
- `CARGO_REGISTRIES_DEFAULT` if `--registry` is not specified
- `CARGO_REGISTRIES_{registry_name}_INDEX` for the registry index url
We can also read from `.cargo/config.toml` for:
- default registry and registries configurations
- additional CA bundle `http.cainfo`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-07-10 03:37:41 +00:00
Jiahao XU
0813e80438
Fix GPL-3.0 license identifier ( #1192 )
...
Fixed #1189
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-07-07 07:24:05 +00:00
Jiahao XU
01a87ac606
feat: Impl support for alternative registries ( #1184 )
...
Fixed #1168
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-06-30 03:52:40 +00:00
github-actions[bot]
f231f93976
release: cargo-binstall v1.0.0 ( #1179 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-06-27 03:42:37 +00:00
github-actions[bot]
d2e4fef060
release: binstalk v0.13.0 ( #1178 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-06-27 01:52:53 +00:00
github-actions[bot]
beb826e6ae
release: binstalk-manifests v0.6.0 ( #1176 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-06-26 13:44:34 +00:00
Jiahao XU
ca00cbaccc
feat: Support install directly from git repo ( #1162 )
...
Fixed #3
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-06-24 01:01:31 +00:00
Jiahao XU
181b5293e7
dep: Bump strum v0.24.1 => v0.25.0 ( #1159 )
...
Also bump strum_macros v0.24.3 => v0.25.0
[strum and strum_macros v0.25.0 changelog][1]
[1]: https://github.com/Peternator7/strum/blob/master/CHANGELOG.md
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-06-20 00:16:10 +00:00
Jiahao XU
40efe02e34
fix leon
& binstalk-downloader
bug relating to features ( #1153 )
...
- ci: Check feat powerset of leon & binstalk-downloader in `ci.yml`
- fix leon feature `cli`: Enable dep `miette` in feature `cli`
- fix binstalk-downloader when default feature is disabled and no other
tls related feature is enabled (breaking change due to replace of
`tls::Version` with newtype `TLSVersion`).
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-06-19 02:22:09 +00:00
Félix Saparelli
a255e74fc9
Show license and source in long help ( #1149 )
...
* Show license and source in long help
Ref https://github.com/oeb25/binswap/issues/2
* Typo
2023-06-17 10:16:25 +00:00
dependabot[bot]
abf5a8e842
build(deps): bump file-format from 0.16.0 to 0.17.0 ( #1135 )
...
Bumps [file-format](https://github.com/mmalecot/file-format ) from 0.16.0 to 0.17.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.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: file-format
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 02:47:25 +00:00
dependabot[bot]
bf46862140
build(deps): bump once_cell from 1.17.2 to 1.18.0 ( #1127 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 02:29:41 +00:00
Jiahao XU
1432093dcc
feat: Add new cmdline option --no-track
( #1111 )
...
Same as `cargo-install`'s `--no-track`.
It is also passed to `cargo-install` if it is invoked.
Also fixed `fs::atomic_symlink_file` which on Windows could fallback to
non-atomic install if symlinking failed.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-06-03 09:15:18 +00:00
dependabot[bot]
e789064289
Bump once_cell from 1.17.1 to 1.17.2 ( #1106 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.1 to 1.17.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.17.2 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 04:06:18 +00:00
dependabot[bot]
02ca4b6e12
Bump log from 0.4.17 to 0.4.18 ( #1103 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.17 to 0.4.18.
- [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.17...0.4.18 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 04:22:23 +00:00
dependabot[bot]
b23598ed85
Bump tokio from 1.28.1 to 1.28.2 ( #1100 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 03:02:20 +00:00
github-actions[bot]
62ca508e89
release: cargo-binstall v0.23.1 ( #1097 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-05-26 15:57:45 +00:00
github-actions[bot]
47dbc99555
release: binstalk v0.12.1 ( #1096 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-05-26 15:47:43 +00:00
Jiahao XU
f8255b1b81
dep: Downgrade tracing from v0.1.38 => v0.1.37 due to yanking ( #1085 )
...
Fixed #1019
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-05-24 14:27:05 +00:00
dependabot[bot]
d2f792ffae
Bump clap from 4.2.7 to 4.3.0 ( #1076 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.2.7 to 4.3.0.
- [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.2.7...clap_complete-v4.3.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 02:35:41 +00:00
dependabot[bot]
f2ac44757a
Bump miette from 5.8.0 to 5.9.0 ( #1071 )
...
Bumps [miette](https://github.com/zkat/miette ) from 5.8.0 to 5.9.0.
- [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.8.0...miette-derive-v5.9.0 )
---
updated-dependencies:
- dependency-name: miette
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 02:45:22 +00:00
dependabot[bot]
cedcd551c2
Bump gh-token from 0.1.1 to 0.1.2 ( #1056 )
...
Bumps [gh-token](https://github.com/dtolnay/star-history ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/dtolnay/star-history/releases )
- [Commits](https://github.com/dtolnay/star-history/compare/0.1.1...0.1.2 )
---
updated-dependencies:
- dependency-name: gh-token
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 03:26:52 +00:00
dependabot[bot]
aa19ea453a
Bump tracing-core from 0.1.30 to 0.1.31 ( #1049 )
...
Bumps [tracing-core](https://github.com/tokio-rs/tracing ) from 0.1.30 to 0.1.31.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-core-0.1.30...tracing-core-0.1.31 )
---
updated-dependencies:
- dependency-name: tracing-core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 03:54:37 +00:00
dependabot[bot]
62c59beca6
Bump tokio from 1.28.0 to 1.28.1 ( #1042 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.0...tokio-1.28.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 13:37:55 +10:00
dependabot[bot]
f2703e396a
Bump clap from 4.2.5 to 4.2.7 ( #1024 )
2023-05-03 04:10:00 +00:00
dependabot[bot]
2bb1869bc5
Bump dirs from 5.0.0 to 5.0.1 ( #1023 )
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
---
updated-dependencies:
- dependency-name: dirs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 18:25:04 +10:00
dependabot[bot]
56b3360b17
Bump clap from 4.2.4 to 4.2.5 ( #1017 )
2023-04-28 15:27:45 +10:00
Jiahao XU
b1b4394d80
Add & Enable new feat log_max_level_debug
to speedup debug build ( #1016 )
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-26 23:06:16 +10:00
github-actions[bot]
2103fdee2c
release: cargo-binstall v0.23.0 ( #1014 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-04-26 21:12:37 +10:00
github-actions[bot]
8cc1430ca6
release: binstalk v0.12.0 ( #1013 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-04-26 19:57:57 +10:00
github-actions[bot]
1d97b8191d
release: binstalk-manifests v0.5.0 ( #1012 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-04-26 18:44:31 +10:00
dependabot[bot]
e4d88310ed
Bump tracing from 0.1.37 to 0.1.38 ( #1005 )
2023-04-26 04:39:51 +00:00
dependabot[bot]
a47ca44100
Bump tokio from 1.27.0 to 1.28.0 ( #1001 )
2023-04-26 04:09:29 +00:00
dependabot[bot]
815231a426
Bump mimalloc from 0.1.36 to 0.1.37 ( #1004 )
...
Bumps [mimalloc](https://github.com/purpleprotocol/mimalloc_rust ) from 0.1.36 to 0.1.37.
- [Release notes](https://github.com/purpleprotocol/mimalloc_rust/releases )
- [Commits](https://github.com/purpleprotocol/mimalloc_rust/compare/v0.1.36...v0.1.37 )
---
updated-dependencies:
- dependency-name: mimalloc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 13:40:05 +10:00
dependabot[bot]
3e443f3360
Bump tracing-subscriber from 0.3.16 to 0.3.17 ( #995 )
2023-04-24 03:52:17 +00:00
dependabot[bot]
6d9bf0ef21
Bump clap from 4.2.3 to 4.2.4 ( #994 )
2023-04-20 02:25:32 +00:00
dependabot[bot]
3903b1f6e2
Bump clap from 4.2.2 to 4.2.3 ( #992 )
2023-04-19 04:13:01 +00:00
dependabot[bot]
913ec83918
Bump miette from 5.7.0 to 5.8.0 ( #993 )
...
Bumps [miette](https://github.com/zkat/miette ) from 5.7.0 to 5.8.0.
- [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.7.0...miette-derive-v5.8.0 )
---
updated-dependencies:
- dependency-name: miette
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 13:46:25 +10:00
Jiahao XU
5683ca2476
Add new crate leon-macros
that provide template!
with identical syntax as runtime parsing ( #946 )
...
`leon_macros::template!` can parse template at compile-time.
It accepts a utf-8 string literal and uses `leon` internally to parse it, then generate code that evaluates to `Template<'static>`.
- Exclude fuzz from crate leon when publishing
- Impl fn-like proc-macro `leon_macros::template!`
- Add dep `leon-macros` to binstalk
- Use `leon_macros::template!` in `binstalk::fetchers::gh_crate_meta::hosting`
- Add doc for `leon-macros` in `leon`
- Improve `std::fmt::Display` impl for `leon::ParseError`
- Fixed broken infra link in leon
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-17 14:50:58 +10:00
dependabot[bot]
a5bf45abe9
Bump clap from 4.2.1 to 4.2.2 ( #987 )
2023-04-14 02:24:24 +00:00
dependabot[bot]
6c01968ce9
Bump mimalloc from 0.1.35 to 0.1.36 ( #979 )
...
Bumps [mimalloc](https://github.com/purpleprotocol/mimalloc_rust ) from 0.1.35 to 0.1.36.
- [Release notes](https://github.com/purpleprotocol/mimalloc_rust/releases )
- [Commits](https://github.com/purpleprotocol/mimalloc_rust/compare/v0.1.35...v0.1.36 )
---
updated-dependencies:
- dependency-name: mimalloc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 13:04:01 +10:00
dependabot[bot]
363dbc650a
Bump miette from 5.6.0 to 5.7.0 ( #973 )
2023-04-03 03:06:19 +00:00
dependabot[bot]
b3abfab7fd
Bump mimalloc from 0.1.34 to 0.1.35 ( #972 )
2023-04-03 02:39:33 +00:00
dependabot[bot]
6bdfa0ee3c
Bump clap from 4.2.0 to 4.2.1 ( #966 )
2023-03-30 03:21:21 +00:00
dependabot[bot]
f46b0eab18
Bump tempfile from 3.4.0 to 3.5.0 ( #967 )
2023-03-30 02:49:38 +00:00
dependabot[bot]
9a33ec7bd5
Bump embed-resource from 2.0.0 to 2.1.1 ( #965 )
2023-03-30 02:38:11 +00:00
dependabot[bot]
877606ef40
Bump file-format from 0.15.0 to 0.16.0 ( #960 )
2023-03-29 23:11:34 +11:00
dependabot[bot]
57cb1f94ec
Bump clap from 4.1.14 to 4.2.0 ( #961 )
2023-03-29 23:10:55 +11:00