dependabot[bot]
52e2368e6c
Bump reqwest from 0.11.16 to 0.11.17 ( #1021 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.16 to 0.11.17.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.16...v0.11.17 )
---
updated-dependencies:
- dependency-name: reqwest
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:27:00 +10:00
dependabot[bot]
ac1808eef6
Bump flate2 from 1.0.25 to 1.0.26 ( #1020 )
...
Bumps [flate2](https://github.com/rust-lang/flate2-rs ) from 1.0.25 to 1.0.26.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/commits )
---
updated-dependencies:
- dependency-name: flate2
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:26:17 +10: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
Jiahao XU
6516805f10
Speedup release-build.yml
: Do not run unit-tests
( #1015 )
...
`cargo-test` cannot share its artifacts with `cargo-build` and vice
versa, plus running `e2e-tests` in release build is enough to find out
potential miscompilation.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-26 19:57:48 +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
github-actions[bot]
f683b4075d
release: binstalk-downloader v0.5.0 ( #1011 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-04-26 18:44:23 +10:00
github-actions[bot]
1a94a36311
release: leon-macros v1.0.0 ( #1009 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-04-26 18:05:14 +10:00
github-actions[bot]
5b0268c768
release: binstalk-types v0.4.0 ( #1008 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-04-26 17:31:21 +10:00
github-actions[bot]
613aae2b1e
release: leon v2.0.0 ( #1007 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-04-26 17:30:24 +10:00
Jiahao XU
d6ec063a5d
Update transitive dependencies ( #1006 )
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-26 16:50:16 +10:00
dependabot[bot]
7ca0edf004
Bump tokio-util from 0.7.7 to 0.7.8 ( #1002 )
2023-04-26 05:43:55 +00: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]
bb68d67df1
Bump home from 0.5.4 to 0.5.5 ( #1003 )
...
Bumps [home](https://github.com/rust-lang/cargo ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/rust-lang/cargo/releases )
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cargo/compare/home-0.5.4...home-0.5.5 )
---
updated-dependencies:
- dependency-name: home
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:28:27 +10:00
Jiahao XU
02fe3d4f27
Fix leon::ValuesFn
: impl for Fn(&str) -> Option<Cow<'static, str>>
( #998 )
...
If we impl it for `<'f> Fn(&str) -> Option<Cow<'f, str>> + 'f`, then it would somehow imply it to `'static` when using it in `benches/values.rs` and `benches/others.rs`, thus I decided to simplify it back to only implement it for `'static` string.
Users who wants more flexibility should implement `Values` themselves.
This commit also extracts `benches` as a separate crate in an independent workspace to avoid building criterion and tinytemplate in CI, which makes it much slower as more crates need to be built and criterion actually pulls in clap, and a whole lots of other crates.
In additional to that, it:
- Impl `leon::Values` for `Arc<T>` & `Rc<T>` where T: `Values`
- Enable lto, abort on panic, stripping, set `codege-units` to 1 for `leon/benches`
- Move into closure of criterion benchmark loop to reduce indirections
which also reduce sizes of the closure since the Fns used in `ValuesFn`
are zero-size.
This also means that the compiler can now assumes `no-alias`.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-26 13:17:41 +10:00
Jiahao XU
c65e1269a0
Test building doc in ci.yml
/lint ( #999 )
2023-04-25 07:48:44 +10:00
Jiahao XU
0261d12d9d
Support subcrate in repo ( #991 )
...
Fixed #838
- Add new key `subcrate` for rendering `pkg-url`
- Add new release paths in GitHub, GitLab & SourceForge using key `subcrate` for auto-detection
- Add subcrate detection for GitHub and GitLab
- Add `debug!` when using gh api token in `GhApiClient::new`
- Add subcrate testing to `e2e-tests/subcrate.sh`
- Bump cargo-release to 0.24.9 in e2e-tests/live.sh
to fix test failure on MacOS without libssl installed in `/usr/local/`.
- Optimize GhCrateMeta: Detect subcrate and repo-host in `Data::get_repo_info`
to cache the result and avoid duplicate works, this also makes the code
more ergonomic by removing the need to some `unwrap()` plus making it
more efficient since we don't need to clone the url just to modify it.
- Add instrument to `Data::get_repo_info`
- Fix `shellcheck` err in `e2e-tests/*.sh`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-24 19:41:20 +10:00
Jiahao XU
5e269193c0
Add comment to src/binstalk-downloader/Cargo.toml
( #996 )
...
Add comment to binstalk-downloader/Cargo.toml
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-24 07:49:25 +00: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
Jiahao XU
fa0455a417
Update transitive dependencies ( #990 )
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-17 13:42:53 +10:00
dependabot[bot]
345c14d7ba
Bump jobslot from 0.2.10 to 0.2.11 ( #989 )
...
Bumps [jobslot](https://github.com/cargo-bins/jobslot ) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/cargo-bins/jobslot/releases )
- [Commits](https://github.com/cargo-bins/jobslot/compare/v0.2.10...v0.2.11 )
---
updated-dependencies:
- dependency-name: jobslot
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-17 12:43:48 +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]
da59f0b707
Bump serde_json from 1.0.95 to 1.0.96 ( #986 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.95 to 1.0.96.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.95...v1.0.96 )
---
updated-dependencies:
- dependency-name: serde_json
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-13 13:17:30 +10:00
dependabot[bot]
067af4ea25
Bump serde from 1.0.159 to 1.0.160 ( #985 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.159 to 1.0.160.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.159...v1.0.160 )
---
updated-dependencies:
- dependency-name: serde
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-12 13:35:00 +10:00
Milo Moisson
75f48cce3e
feat: pretty print .crates.toml manifest to match cargo behaviour ( #984 )
...
Fixed #970
2023-04-11 00:48:01 +10:00
dependabot[bot]
8ccb6c887a
Bump futures-lite from 1.12.0 to 1.13.0 ( #983 )
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: futures-lite
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-10 12:54:49 +10:00
Jiahao XU
35b32c43e0
Run release-build.yml
unconditionally for consistency & inc cache hits ( #982 )
...
Since it is run on PR anyway, we should also run it on main just in case
it fails, i.e. merging of PRs without rebasing against main to test out
latest changes.
It will now also be run on draft PR so that they can test out the
changes and find out bugs before making it ready to review.
This change will also increase cache hits on PR, thus speeding up the CI.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-06 18:08:14 +10:00
Jiahao XU
f134df548d
Optimize release-build.yml
: Avoid building benchmark dependencies ( #981 )
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-06 16:19:15 +10:00
David Weis
0de3b21004
Fix download link for armv7 release in readme ( #980
...
Fix download link for armv7 in readme
2023-04-06 12:31:28 +12: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
Jiahao XU
f384088fd1
Avoid checking dev-deps for jobs *-check
and lint
in workflow ci.yml
( #978 )
...
Avoid checking dev-deps for jobs `*-check` and lint in workflow `ci.yml`
We just want to make sure cargo-binstall can compile for the target, we
don't want to pull in the extra dependencies.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-04 01:51:13 +10:00
Jiahao XU
8dd7aa5688
Speedup ci.yml
: Do not run tests on x86_64-unknown-linux-musl ( #976 )
...
Speedup ci.yml: Do not run tests on x86_64-unknown-linux-musl
Since we already run test on x86_64-unknown-linux-musl in
release-build.yml and x86_64-unknown-linux-musl is almost identical to
x86_64-unknown-linux-gnu except for the libc, there's no need to run the
tests in ci.yml
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-04 01:40:26 +10:00
Jiahao XU
24634b2de1
Speedup workflow lipo in release-build.yml
( #975 )
...
Speedup workflow lipo in release-build
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-04 01:40:13 +10:00
Jiahao XU
6a224da9ee
Run unit tests in release-build.yml
( #977 )
...
Since release build enables a lot of optimization, disable debug assert
and possibly change the code to be run, it's better to run the tests
again.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-04 01:40: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]
d7441e4675
Bump windows from 0.47.0 to 0.48.0 ( #974 )
2023-04-03 02:49:53 +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]
885da90e38
Bump futures-util from 0.3.27 to 0.3.28 ( #968 )
2023-03-31 02:24:28 +00:00
dependabot[bot]
10e350af8d
Bump windows from 0.46.0 to 0.47.0 ( #964 )
2023-03-30 03:29:23 +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