dependabot[bot]
d8e4940dbe
Bump toml from 0.5.11 to 0.7.0 ( #933 )
...
* Bump toml from 0.5.11 to 0.7.0
Bumps [toml](https://github.com/toml-rs/toml ) from 0.5.11 to 0.7.0.
- [Release notes](https://github.com/toml-rs/toml/releases )
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.5.11...toml-v0.7.0 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Introduce new let...else syntax
* Update config file loading for latest toml crate version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias <matthias-endler@gmx.net>
Co-authored-by: Matthias Endler <matthias@endler.dev>
2023-01-30 15:12:34 +01:00
dependabot[bot]
0a2cd324d5
Bump typed-builder from 0.11.0 to 0.12.0 ( #934 )
...
* Bump typed-builder from 0.11.0 to 0.12.0
Bumps [typed-builder](https://github.com/idanarye/rust-typed-builder ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/idanarye/rust-typed-builder/releases )
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/idanarye/rust-typed-builder/commits )
---
updated-dependencies:
- dependency-name: typed-builder
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Remove custom builder method docs.
We use the default again, which offers the same amount of information.
* Add `make` target to show docs
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias <matthias-endler@gmx.net>
Co-authored-by: Matthias Endler <matthias@endler.dev>
2023-01-30 15:12:20 +01:00
dependabot[bot]
7de4e3f0f0
Bump tokio from 1.24.2 to 1.25.0 ( #935 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0 )
---
updated-dependencies:
- dependency-name: tokio
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-01-30 14:30:20 +01:00
Matthias Endler
9837699b79
Introduce new let...else syntax ( #936 )
2023-01-30 14:25:30 +01:00
dependabot[bot]
06b0f27b74
Merge pull request #930 from lycheeverse/dependabot/cargo/clap-4.1.4
2023-01-25 12:06:34 +00:00
dependabot[bot]
c08ce1dc1a
Bump clap from 4.1.3 to 4.1.4
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.3 to 4.1.4.
- [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.1.3...v4.1.4 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 12:02:59 +00:00
dependabot[bot]
bab1a9999e
Merge pull request #928 from lycheeverse/dependabot/cargo/clap-4.1.3
2023-01-24 12:05:39 +00:00
dependabot[bot]
98ee0610df
Bump clap from 4.1.1 to 4.1.3
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.1 to 4.1.3.
- [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/clap_complete-v4.1.1...v4.1.3 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 12:02:22 +00:00
Lucius Hu
7abbaa218a
ci: update checkout action to v3 ( #927 )
...
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2023-01-21 16:13:48 +01:00
dependabot[bot]
22546a35ba
Merge pull request #925 from lycheeverse/dependabot/cargo/reqwest-0.11.14
2023-01-20 12:06:43 +00:00
dependabot[bot]
1e2bbe01cf
Merge pull request #924 from lycheeverse/dependabot/cargo/toml-0.5.11
2023-01-20 12:05:50 +00:00
dependabot[bot]
70260f4c23
Bump reqwest from 0.11.13 to 0.11.14
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.13 to 0.11.14.
- [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.13...v0.11.14 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 12:02:32 +00:00
dependabot[bot]
d7bb7ea60e
Bump toml from 0.5.10 to 0.5.11
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/toml-rs/toml/releases )
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.5.10...toml-v0.5.11 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 12:02:06 +00:00
dependabot[bot]
48d388e6d3
Merge pull request #923 from lycheeverse/dependabot/cargo/tokio-1.24.2
2023-01-18 12:07:04 +00:00
dependabot[bot]
3612d20fb7
Bump tokio from 1.24.1 to 1.24.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 12:02:27 +00:00
dependabot[bot]
20f708608a
Merge pull request #916 from lycheeverse/dependabot/cargo/indicatif-0.17.3
2023-01-17 14:13:56 +00:00
dependabot[bot]
314e387544
Bump indicatif from 0.17.2 to 0.17.3
...
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.2 to 0.17.3.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.2...0.17.3 )
---
updated-dependencies:
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 14:09:47 +00:00
dependabot[bot]
6743edd887
Bump clap from 4.0.32 to 4.1.1 ( #917 )
...
* Bump clap from 4.0.32 to 4.1.1
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.32 to 4.1.1.
- [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.0.32...v4.1.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update docs
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias <matthias-endler@gmx.net>
2023-01-17 15:08:12 +01:00
Matthias Endler
1c297b43be
Run publish-check in parallel with other jobs ( #922 )
...
I don't see the reason why publish-check has to wait for the other jobs to complete. After all, it's yet another "lint".
Running it in parallel might shave of a significant amount of time from our CI builds.
2023-01-17 15:02:30 +01:00
Matthias Endler
ece8b7310f
Try nextest for CI builds ( #921 )
2023-01-17 14:52:17 +01:00
Matthias Endler
11b693b37c
Add Github Actions cache ( #919 )
2023-01-17 14:30:16 +01:00
Lucius Hu
e2406089ad
chore!: improve client and remap modules ( #913 )
...
`lychee_lib::client`:
- Improved documentation.
- Added an log message in `ClientBuilder::client()` when provied user-agent
overrides the one defined in provied custom header.
- Removed unnecessary error handling in `Client::check()` when setting HTTPS
scheme because all failure cases should occur when checking this URL the first
time already.
- Removed unnecessary error handling in `Client::remap()` since
`lychee-lib::remap::Remaps::remap()` doesn't returns a `Result` anymore.
- Fixed potential integer overflow in `Client::check_website()` when the wait
time between retries doubles, by using `std::time::Duration::saturating_mul`
instead.
- Renamed `invalid()` to `validate_url()`.
`lychee_lib::remap`:
- Improved documentation, in particular, clarified (in the comment) that it's
URLs not URIs being remapped.
- Changed `Remaps::remap()` so it takes `&mut Url` instead of `Uri` as its
argument, and doesn't return a `Result` as a result.
- Using `Url` instead of `Uri` because it aligns with the concept of
remapping locations rather than identifiers.
- Mutating the URL directly instead of returning a new one for it's more
straightforward.
- There is no error handling because we don't convert from URL to URI
anymore. Furthermore, this always succeed in the first place so we never
needed error handling.
- Added implementation of `IntoIterator` for `&'a Remaps` and convenience method
of `Remaps::iter`. (Their mutable or moving counterparts are deliberately
avoided because we don't want library users to modify all consume the
remapping rules after its instantiation.)
`lychee_lib::error`:
- Renamed `ErrorKind::InvalidUriRemap` to `InvalidUrlRemap` and improved
its error message.
Changes to other modules are minor and only serves to accompany aforementioned
changes.
2023-01-16 19:14:09 +01:00
dependabot[bot]
f88c21fc5a
Merge pull request #915 from lycheeverse/dependabot/cargo/console-0.15.5
2023-01-16 12:14:34 +00:00
dependabot[bot]
162c44629d
Bump console from 0.15.4 to 0.15.5
...
Bumps [console](https://github.com/console-rs/console ) from 0.15.4 to 0.15.5.
- [Release notes](https://github.com/console-rs/console/releases )
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md )
- [Commits](https://github.com/console-rs/console/compare/0.15.4...0.15.5 )
---
updated-dependencies:
- dependency-name: console
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 12:03:14 +00:00
dependabot[bot]
94654f8d43
Merge pull request #912 from lycheeverse/dependabot/cargo/wiremock-0.5.17
2023-01-12 12:11:54 +00:00
dependabot[bot]
c925f6613d
Bump wiremock from 0.5.16 to 0.5.17
...
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs ) from 0.5.16 to 0.5.17.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases )
- [Changelog](https://github.com/LukeMathWalker/wiremock-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.5.16...v0.5.17 )
---
updated-dependencies:
- dependency-name: wiremock
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 12:02:40 +00:00
dependabot[bot]
b2a2244470
Merge pull request #911 from lycheeverse/dependabot/cargo/regex-1.7.1
2023-01-10 12:29:06 +00:00
dependabot[bot]
c475b1f795
Merge pull request #910 from lycheeverse/dependabot/cargo/assert_cmd-2.0.8
2023-01-10 12:13:36 +00:00
dependabot[bot]
0c5eddb4e2
Bump regex from 1.7.0 to 1.7.1
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.7.1 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 12:02:30 +00:00
dependabot[bot]
1fd1fe52aa
Bump assert_cmd from 2.0.7 to 2.0.8
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.7...v2.0.8 )
---
updated-dependencies:
- dependency-name: assert_cmd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 12:02:23 +00:00
dependabot[bot]
5d84985d77
Merge pull request #909 from lycheeverse/dependabot/cargo/glob-0.3.1
2023-01-09 12:15:07 +00:00
dependabot[bot]
4634a8f05e
Bump glob from 0.3.0 to 0.3.1
...
Bumps [glob](https://github.com/rust-lang/glob ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/rust-lang/glob/releases )
- [Commits](https://github.com/rust-lang/glob/compare/0.3.0...0.3.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 12:03:46 +00:00
Matthias Endler
b620fc99f7
Properly handle youtu.be shortlinks ( #908 )
...
Previously those were not correctly rewritten to thumbnail URLs.
This should be fixed now by splitting up the logic
for normal YouTube links and shortlinks.
Fixes #906
2023-01-06 18:25:09 +01:00
dependabot[bot]
1a393fc8f1
Bump tokio from 1.23.1 to 1.24.1 ( #907 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.23.1 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.1...tokio-1.24.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 13:53:49 +01:00
dependabot[bot]
d83a94bad8
Merge pull request #903 from lycheeverse/dependabot/cargo/tokio-1.23.1
2023-01-05 14:01:20 +00:00
Matthias Endler
4a3bfb99fb
Remove address from verbatim elements ( #901 )
2023-01-05 14:55:53 +01:00
dependabot[bot]
b9587a1a9f
Bump tokio from 1.23.0 to 1.23.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.23.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 13:52:23 +00:00
Matthias Endler
20ecb618e4
Fix automerge config ( #904 )
...
With the latest changes in https://github.com/lycheeverse/lychee/pull/893 I think I broke automerge.
Reverting some of the changes to fix that.
2023-01-05 14:51:36 +01:00
dependabot[bot]
9afc51edf7
Bump cached from 0.41.0 to 0.42.0 ( #900 )
...
Bumps [cached](https://github.com/jaemk/cached ) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/jaemk/cached/releases )
- [Changelog](https://github.com/jaemk/cached/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jaemk/cached/commits )
---
updated-dependencies:
- dependency-name: cached
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 15:42:53 +01:00
Matthias Endler
5654b7c317
Harden URL detection and extend verbatim elements ( #899 )
...
Previously remote URLs were incorrectly detected because the
string representation of a path is different than the path itself,
causing the `http` prefix match to be insufficient.
This resulted in unexpected side-effects, such as the
incorrect detection of verbatim mode for remote URLs.
The check now got improved and unit tests were added to avoid
future breakage. On top of that, missing verbatim elements were added
2023-01-04 00:38:19 +01:00
dependabot[bot]
f19ba8b5c4
Bump console from 0.15.3 to 0.15.4 ( #896 )
...
Bumps [console](https://github.com/console-rs/console ) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/console-rs/console/releases )
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md )
- [Commits](https://github.com/console-rs/console/compare/0.15.3...0.15.4 )
---
updated-dependencies:
- dependency-name: console
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 13:31:10 +01:00
dependabot[bot]
9c3a221ed5
Bump wiremock from 0.5.15 to 0.5.16 ( #892 )
...
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs ) from 0.5.15 to 0.5.16.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases )
- [Changelog](https://github.com/LukeMathWalker/wiremock-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.5.15...v0.5.16 )
---
updated-dependencies:
- dependency-name: wiremock
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 14:12:32 +01:00
Matthias Endler
14707d19b3
Don't build Docker image for pushes to arbitrary branches ( #894 )
...
Avoids building Docker image twice on pull requests
2023-01-02 14:07:29 +01:00
dependabot[bot]
6c6f8afd98
Merge pull request #889 from lycheeverse/dependabot/cargo/octocrab-0.18.1
2023-01-02 13:06:25 +00:00
dependabot[bot]
91d07580dc
Merge pull request #890 from lycheeverse/dependabot/cargo/predicates-2.1.5
2023-01-02 13:05:25 +00:00
dependabot[bot]
3815478341
Bump once_cell from 1.16.0 to 1.17.0 ( #891 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.16.0...v1.17.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 14:04:37 +01:00
Matthias Endler
ece6295b82
Update automerge config ( #893 )
2023-01-02 13:53:23 +01:00
dependabot[bot]
2688af5fc3
Bump predicates from 2.1.4 to 2.1.5
...
Bumps [predicates](https://github.com/assert-rs/predicates-rs ) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases )
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.4...v2.1.5 )
---
updated-dependencies:
- dependency-name: predicates
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 12:03:43 +00:00
dependabot[bot]
9afe551142
Bump octocrab from 0.18.0 to 0.18.1
...
Bumps [octocrab](https://github.com/XAMPPRocky/octocrab ) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/octocrab@0.18.0...octocrab@0.18.1 )
---
updated-dependencies:
- dependency-name: octocrab
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-29 12:03:04 +00:00
dependabot[bot]
aa93dfa84e
Bump serde from 1.0.151 to 1.0.152 ( #887 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.151 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 01:45:04 +01:00