Matthias Endler
cc7acfb0e0
Extend documentation for RequestChain ( #1442 )
2024-06-14 12:51:13 +02:00
Johannes Schindelin
8c6eee9b5f
Add a way to handle "pretty URLs", i.e. URIs without .html extension ( #1422 )
...
In many circumstances (GitHub Pages, Apache configured with MultiViews,
etc), web servers process URIs by appending the `.html` file extension
when no file is found at the path specified by the URI but a `.html`
file corresponding to that path _is_ found.
To allow Lychee to use the fast, offline method of checking such files
locally via the `file://` scheme, let's handle this scenario gracefully
by adding the `--fallback-extensions=html` option.
Note: This new option can take a list of file extensions to use; The
first one for which a corresponding file is found is then used.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-06-11 16:11:24 +02:00
Thomas Zahner
255164ce25
Don't trim mailto: prefix when converting a Uri into a string ( #1438 )
2024-06-10 17:11:15 +02:00
n4n5
c3f7fe7ad4
Exclude tel scheme from being checked ( #1429 )
2024-05-19 20:31:38 +02:00
Johannes Schindelin
975901d470
Fix clippy errors ( #1423 )
...
* Enclose Markdown links in brackets
The current clippy version (v0.1.78) says "you should put bare URLs
between `<`/`>` or make a proper Markdown link" and refers to
https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Enclose documentation item in backticks
Clippy v0.1.78 complains about the IPv6 network mask, insisting that it
is missing backticks. So backticks it gets.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Avoid error claiming `Add(usize)` is dead code
Clippy v0.1.78 identifies this as dead code. However, further down in
the same file, there is clearly a user:
impl Handler<Result, Result> for Add {
This might be yet another incarnation of
https://github.com/rust-lang/rust/issues/56750
Let's just mark it as intentionally dead-code, even if this is untrue,
to make clippy happy again.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---------
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-05-13 19:07:02 +02:00
John Bampton
0956ec6c38
Fix spelling and remove unneeded trailing whitespace ( #1417 )
2024-04-26 08:22:44 +02:00
John Bampton
7be088bbfc
Fix spelling; Github -> GitHub ( #1416 )
2024-04-25 22:44:24 +02:00
Thomas Zahner
25a3eb1a3a
Chain visibility ( #1415 )
...
* Make chain public
* Make function on chain public
* Add must_use attribute
* Make RequestChain type public
* Add chain usage example
2024-04-25 15:31:03 +02:00
Matthias Endler
fc85695d21
Gracefully handle invalid URIs ( #1414 )
...
With the upgrade to `reqwest` 0.12, we can finally handle a long-standing
issue, when Urls could not be parsed to Uris. Previously, we would panic, but
we can now handle that situation gracefully and return an error instead.
I've also renamed `Status::is_failure` to `Status::is_error`, because the
notion of failures no longer exists in the codebase and we use the term "error"
consistently throughout the codebase instead. This is technically a breaking
change in the API, but it's fine since we have not released a stable version
yet.
More information about the URI parsing issue:
- https://github.com/lycheeverse/lychee/issues/539
- https://github.com/seanmonstar/reqwest/issues/668
2024-04-25 15:29:36 +02:00
Thomas Zahner
e0b4c73987
Adapt to breaking changes & revert to pulldown-cmark 0.9
2024-04-25 08:48:11 +02:00
dependabot[bot]
8a44241a06
Bump the dependencies group with 35 updates
...
Bumps the dependencies group with 35 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.79` | `1.0.82` |
| [clap](https://github.com/clap-rs/clap ) | `4.4.13` | `4.5.4` |
| [console](https://github.com/console-rs/console ) | `0.15.7` | `0.15.8` |
| [env_logger](https://github.com/rust-cli/env_logger ) | `0.10.1` | `0.11.1` |
| [headers](https://github.com/hyperium/headers ) | `0.3.9` | `0.4.0` |
| [http](https://github.com/hyperium/http ) | `0.2.11` | `1.0.0` |
| [indicatif](https://github.com/console-rs/indicatif ) | `0.17.7` | `0.17.8` |
| [log](https://github.com/rust-lang/log ) | `0.4.20` | `0.4.21` |
| [openssl-sys](https://github.com/sfackler/rust-openssl ) | `0.9.98` | `0.9.102` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.2` | `1.10.4` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.11.23` | `0.12.4` |
| [reqwest_cookie_store](https://github.com/pfernie/reqwest_cookie_store ) | `0.6.0` | `0.7.0` |
| [ring](https://github.com/briansmith/ring ) | `0.17.7` | `0.17.8` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.195` | `1.0.198` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.111` | `1.0.116` |
| [strum](https://github.com/Peternator7/strum ) | `0.25.0` | `0.26.2` |
| [supports-color](https://github.com/zkat/supports-color ) | `2.1.0` | `3.0.0` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.35.1` | `1.37.0` |
| [tokio-stream](https://github.com/tokio-rs/tokio ) | `0.1.14` | `0.1.15` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.8` | `0.8.12` |
| [assert_cmd](https://github.com/assert-rs/assert_cmd ) | `2.0.12` | `2.0.14` |
| [predicates](https://github.com/assert-rs/predicates-rs ) | `3.0.4` | `3.1.0` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.9.0` | `3.10.1` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.6.1` | `1.8.0` |
| [wiremock](https://github.com/LukeMathWalker/wiremock-rs ) | `0.5.22` | `0.6.0` |
| [async-trait](https://github.com/dtolnay/async-trait ) | `0.1.78` | `0.1.80` |
| [cached](https://github.com/jaemk/cached ) | `0.46.1` | `0.49.3` |
| [html5ever](https://github.com/servo/html5ever ) | `0.26.0` | `0.27.0` |
| [hyper](https://github.com/hyperium/hyper ) | `1.1.0` | `1.3.1` |
| [octocrab](https://github.com/XAMPPRocky/octocrab ) | `0.32.0` | `0.38.0` |
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark ) | `0.9.3` | `0.10.2` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.4.0` | `3.7.0` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.56` | `1.0.59` |
| [typed-builder](https://github.com/idanarye/rust-typed-builder ) | `0.18.0` | `0.18.2` |
| [rstest](https://github.com/la10736/rstest ) | `0.18.2` | `0.19.0` |
Updates `anyhow` from 1.0.79 to 1.0.82
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.79...1.0.82 )
Updates `clap` from 4.4.13 to 4.5.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.4.13...v4.5.4 )
Updates `console` from 0.15.7 to 0.15.8
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md )
- [Commits](https://github.com/console-rs/console/compare/0.15.7...0.15.8 )
Updates `env_logger` from 0.10.1 to 0.11.1
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.11.1 )
Updates `headers` from 0.3.9 to 0.4.0
- [Commits](https://github.com/hyperium/headers/compare/headers-v0.3.9...headers-v0.4.0 )
Updates `http` from 0.2.11 to 1.0.0
- [Release notes](https://github.com/hyperium/http/releases )
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/http/compare/v0.2.11...v1.0.0 )
Updates `indicatif` from 0.17.7 to 0.17.8
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.7...0.17.8 )
Updates `log` from 0.4.20 to 0.4.21
- [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.20...0.4.21 )
Updates `openssl-sys` from 0.9.98 to 0.9.102
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.98...openssl-sys-v0.9.102 )
Updates `regex` from 1.10.2 to 1.10.4
- [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.10.2...1.10.4 )
Updates `reqwest` from 0.11.23 to 0.12.4
- [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.23...v0.12.4 )
Updates `reqwest_cookie_store` from 0.6.0 to 0.7.0
- [Changelog](https://github.com/pfernie/reqwest_cookie_store/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pfernie/reqwest_cookie_store/compare/v0.6.0...v0.7.0 )
Updates `ring` from 0.17.7 to 0.17.8
- [Commits](https://github.com/briansmith/ring/commits )
Updates `serde` from 1.0.195 to 1.0.198
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.198 )
Updates `serde_json` from 1.0.111 to 1.0.116
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.111...v1.0.116 )
Updates `strum` from 0.25.0 to 0.26.2
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits/v0.26.2 )
Updates `supports-color` from 2.1.0 to 3.0.0
- [Release notes](https://github.com/zkat/supports-color/releases )
- [Changelog](https://github.com/zkat/supports-color/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zkat/supports-color/compare/v2.1.0...v3.0.0 )
Updates `tokio` from 1.35.1 to 1.37.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.37.0 )
Updates `tokio-stream` from 0.1.14 to 0.1.15
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.14...tokio-stream-0.1.15 )
Updates `toml` from 0.8.8 to 0.8.12
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.12 )
Updates `assert_cmd` from 2.0.12 to 2.0.14
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.12...v2.0.14 )
Updates `predicates` from 3.0.4 to 3.1.0
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.0.4...v3.1.0 )
Updates `tempfile` from 3.9.0 to 3.10.1
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.9.0...v3.10.1 )
Updates `uuid` from 1.6.1 to 1.8.0
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.6.1...1.8.0 )
Updates `wiremock` from 0.5.22 to 0.6.0
- [Changelog](https://github.com/LukeMathWalker/wiremock-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.5.22...v0.6.0 )
Updates `async-trait` from 0.1.78 to 0.1.80
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.78...0.1.80 )
Updates `cached` from 0.46.1 to 0.49.3
- [Changelog](https://github.com/jaemk/cached/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jaemk/cached/commits )
Updates `html5ever` from 0.26.0 to 0.27.0
- [Commits](https://github.com/servo/html5ever/compare/html5ever-v0.26.0...v0.27.0 )
Updates `hyper` from 1.1.0 to 1.3.1
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.1.0...v1.3.1 )
Updates `octocrab` from 0.32.0 to 0.38.0
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.32.0...v0.38.0 )
Updates `pulldown-cmark` from 0.9.3 to 0.10.2
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases )
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.9.3...v0.10.2 )
Updates `serde_with` from 3.4.0 to 3.7.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.4.0...v3.7.0 )
Updates `thiserror` from 1.0.56 to 1.0.59
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.59 )
Updates `typed-builder` from 0.18.0 to 0.18.2
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/idanarye/rust-typed-builder/commits )
Updates `rstest` from 0.18.2 to 0.19.0
- [Release notes](https://github.com/la10736/rstest/releases )
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/la10736/rstest/compare/v0.18.2...v0.19.0 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: console
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: headers
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: http
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: openssl-sys
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: reqwest_cookie_store
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: ring
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: supports-color
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: assert_cmd
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: predicates
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: wiremock
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: cached
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: html5ever
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: octocrab
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pulldown-cmark
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: typed-builder
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: rstest
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 08:48:11 +02:00
Thomas Zahner
f2b1c29bd4
Rename chain to handle
2024-04-22 14:07:17 +02:00
Thomas Zahner
ddcca65e72
Rename Chainable to Handler
2024-04-22 11:03:26 +02:00
Thomas Zahner
e3a236b257
Adjust documentation
2024-04-22 11:03:26 +02:00
Matthias
9b4fd8d0fc
Extend docs around clone_unwrap
2024-04-22 11:03:26 +02:00
Matthias
9ed97213a1
Add documentation to chain module
...
Also make `Chainable` and `ChainResult` public to support external plugins/handlers.
2024-04-22 11:03:26 +02:00
Thomas Zahner
d5b9b84db6
Extract function and add SAFETY note
2024-04-22 11:03:26 +02:00
Thomas Zahner
a3184190b8
Small tweaks & extract method
2024-04-22 11:03:26 +02:00
Thomas Zahner
93afae54bb
Create ClientRequestChain helper structure to combine multiple chains
2024-04-22 11:03:26 +02:00
Thomas Zahner
41e7f88da4
Add credentials to chain
2024-04-22 11:03:26 +02:00
Thomas Zahner
3ec3a8228c
Make checker part of the request chain
2024-04-22 11:03:26 +02:00
Matthias Endler
0f012f3035
Use async_trait to fix issues with Chain type inference
2024-04-22 11:03:26 +02:00
Thomas Zahner
d92d3ba733
Extract checking functionality & make chain async
2024-04-22 11:03:26 +02:00
Thomas Zahner
17e2911700
Move Arc and Mutex inside of Chain struct
2024-04-22 11:03:26 +02:00
Thomas Zahner
377aceed60
Apply clippy suggestions
2024-04-22 11:03:26 +02:00
Thomas Zahner
c41cd5d6b9
Apply suggestions
2024-04-22 11:03:26 +02:00
Thomas Zahner
1fe6f2f1be
Small improvements
2024-04-22 11:03:26 +02:00
Thomas Zahner
a90a35c329
Add doc comment
2024-04-22 11:03:26 +02:00
Thomas Zahner
402482ca01
Update RequestChain & add chain to client
2024-04-22 11:03:26 +02:00
Thomas Zahner
667105e13e
Move chain into check_website function
2024-04-22 11:03:26 +02:00
Thomas Zahner
db1dc19c0a
Implement Chainable directly for BasicAuthCredentials
2024-04-22 11:03:26 +02:00
Thomas Zahner
8da4592e2a
Introduce early exit in chain
2024-04-22 11:03:26 +02:00
Thomas Zahner
7783cdfe46
Pass down request_chain instead of credentials & add test
2024-04-22 11:03:26 +02:00
Thomas Zahner
237f690f18
Add quirks to request chain
2024-04-22 11:03:26 +02:00
Thomas Zahner
4d8a21c2dd
Test chain
2024-04-22 11:03:26 +02:00
Thomas Zahner
0c4bea8074
Create request chain with basic authentication
2024-04-22 11:03:26 +02:00
Denis
0d5601ce9e
fix: Treat sites with 403 status codes as broken links ( #1377 )
2024-03-19 12:55:21 +01:00
Matthias Endler
90ed0e70b7
Bump to version; move to workspace versioning ( #1372 )
2024-02-05 16:50:32 +01:00
Hugo McNally
9ff4a838ce
Fixed fragment generation for headings with inline code ( #1370 )
...
* Added code headings to fragment cli test
* Fixed fragment generation for headings with inline code
2024-02-05 01:07:56 +01:00
Nai Hao Cheng
a7c36b5255
Set URI to https for ErrorKind::InsecureURL ( #1369 )
2024-02-01 12:03:30 +01:00
Norbert Kamiński
2a95944ef5
status.rs: Make json output more verbose ( #1367 )
...
* status.rs: Make json output more verbose
Currently if the status response has no status code, json output
contains only a text field which gives no real information about
the cause of the problem. The patch adds field with more detailed
information when the status response contains some details.
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
* cli.rs: Test parsing of error details in JSON format
Some network error such as SSL has no status code but it can be
identified by error status details. This patch adds a test case to
verify if the error details are parsed properly in the json format.
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
---------
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2024-01-30 23:58:18 +01:00
Matthias
6306883cc2
Bump version to 0.14.2
2024-01-26 15:04:09 +01:00
Matthias
a981472eda
Bump version to 0.14.1
2024-01-10 00:24:57 +01:00
Techassi
1ab05efdcb
feat: Expand serde deserialize impl ( #1345 )
2024-01-10 00:07:39 +01:00
Matthias Endler
63ba63f7c9
Exclude example TLDs from RFC 2606 ( #1335 )
...
Fixes https://github.com/lycheeverse/lychee/issues/1283
2024-01-05 18:48:15 +01:00
Matthias
861a71885a
Set README.md for crates
2024-01-05 17:55:41 +01:00
Matthias
29b80d906b
Bump version
2024-01-05 16:22:24 +01:00
dependabot[bot]
b2bbd4148a
Bump the dependencies group with 18 updates ( #1328 )
...
* Bump the dependencies group with 18 updates
Bumps the dependencies group with 18 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.75` | `1.0.78` |
| [clap](https://github.com/clap-rs/clap ) | `4.4.10` | `4.4.12` |
| [futures](https://github.com/rust-lang/futures-rs ) | `0.3.29` | `0.3.30` |
| [http](https://github.com/hyperium/http ) | `0.2.11` | `1.0.0` |
| [once_cell](https://github.com/matklad/once_cell ) | `1.18.0` | `1.19.0` |
| [openssl-sys](https://github.com/sfackler/rust-openssl ) | `0.9.96` | `0.9.98` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.11.22` | `0.11.23` |
| [ring](https://github.com/briansmith/ring ) | `0.17.3` | `0.17.7` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.108` | `1.0.109` |
| [tabled](https://github.com/zhiburt/tabled ) | `0.14.0` | `0.15.0` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.34.0` | `1.35.1` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.8.1` | `3.9.0` |
| [hyper](https://github.com/hyperium/hyper ) | `1.0.1` | `1.1.0` |
| [octocrab](https://github.com/XAMPPRocky/octocrab ) | `0.31.2` | `0.32.0` |
| [percent-encoding](https://github.com/servo/rust-url ) | `2.3.0` | `2.3.1` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.50` | `1.0.53` |
| [url](https://github.com/servo/rust-url ) | `2.4.1` | `2.5.0` |
| [criterion](https://github.com/bheisler/criterion.rs ) | ``e1a8c9a`` | ``b913e23`` |
Updates `anyhow` from 1.0.75 to 1.0.78
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.78 )
Updates `clap` from 4.4.10 to 4.4.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/v4.4.10...v4.4.12 )
Updates `futures` from 0.3.29 to 0.3.30
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30 )
Updates `http` from 0.2.11 to 1.0.0
- [Release notes](https://github.com/hyperium/http/releases )
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/http/compare/v0.2.11...v1.0.0 )
Updates `once_cell` from 1.18.0 to 1.19.0
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.0 )
Updates `openssl-sys` from 0.9.96 to 0.9.98
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.96...openssl-sys-v0.9.98 )
Updates `reqwest` from 0.11.22 to 0.11.23
- [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.22...v0.11.23 )
Updates `ring` from 0.17.3 to 0.17.7
- [Commits](https://github.com/briansmith/ring/commits )
Updates `serde_json` from 1.0.108 to 1.0.109
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109 )
Updates `tabled` from 0.14.0 to 0.15.0
- [Changelog](https://github.com/zhiburt/tabled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zhiburt/tabled/compare/v0.14.0...v0.15.0 )
Updates `tokio` from 1.34.0 to 1.35.1
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.34.0...tokio-1.35.1 )
Updates `tempfile` from 3.8.1 to 3.9.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.8.1...v3.9.0 )
Updates `hyper` from 1.0.1 to 1.1.0
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.0.1...v1.1.0 )
Updates `octocrab` from 0.31.2 to 0.32.0
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.31.2...v0.32.0 )
Updates `percent-encoding` from 2.3.0 to 2.3.1
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.3.0...v2.3.1 )
Updates `thiserror` from 1.0.50 to 1.0.53
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.53 )
Updates `url` from 2.4.1 to 2.5.0
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.4.1...v2.5.0 )
Updates `criterion` from `e1a8c9a` to `b913e23`
- [Commits](e1a8c9ab21...b913e232ed )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: http
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: openssl-sys
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: ring
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: tabled
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: octocrab
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: percent-encoding
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: criterion
dependency-type: direct:production
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* Revert http to 0.2.10
This is blocked by `reqwest`.
---------
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>
2024-01-05 15:46:43 +01:00
Hugo McNally
c9b707ea74
Decode percent escapes in fragments ( #1275 )
...
* Added test to check a fragment with a utf8 character
2024-01-05 15:46:09 +01:00
Matthias Endler
d3d0cd513d
Better TOML parsing error message ( #1332 )
...
The error handling for config loading was pretty poor.
That's because we didn't use the correct syntax to show the entire context with `anhow`.
See ["Display representations"](https://docs.rs/anyhow/latest/anyhow/struct.Error.html#display-representations ).
2024-01-04 22:17:14 +01:00
Matthias Endler
ef4e19268a
Fix false-positive example domains ( #1316 )
2023-12-04 01:55:14 +01:00
dependabot[bot]
71cc6c2468
Bump the dependencies group with 26 updates ( #1311 )
...
* Bump the dependencies group with 26 updates
Bumps the dependencies group with 26 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.6` | `4.4.10` |
| [const_format](https://github.com/rodrimati1992/const_format_crates ) | `0.2.31` | `0.2.32` |
| [csv](https://github.com/BurntSushi/rust-csv ) | `1.2.2` | `1.3.0` |
| [env_logger](https://github.com/rust-cli/env_logger ) | `0.10.0` | `0.10.1` |
| [futures](https://github.com/rust-lang/futures-rs ) | `0.3.28` | `0.3.29` |
| [http](https://github.com/hyperium/http ) | `0.2.9` | `1.0.0` |
| [openssl-sys](https://github.com/sfackler/rust-openssl ) | `0.9.93` | `0.9.96` |
| [regex](https://github.com/rust-lang/regex ) | `1.9.6` | `1.10.2` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.11.20` | `0.11.22` |
| [ring](https://github.com/briansmith/ring ) | `0.17.0` | `0.17.3` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.188` | `1.0.193` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.107` | `1.0.108` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.32.0` | `1.34.0` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.1` | `0.8.8` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.8.0` | `3.8.1` |
| [tracing-subscriber](https://github.com/tokio-rs/tracing ) | `0.3.17` | `0.3.18` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.4.1` | `1.6.1` |
| [wiremock](https://github.com/LukeMathWalker/wiremock-rs ) | `0.5.19` | `0.5.22` |
| [cached](https://github.com/jaemk/cached ) | `0.46.0` | `0.46.1` |
| [check-if-email-exists](https://github.com/reacherhq/check-if-email-exists ) | `0.9.0` | `0.9.1` |
| [hyper](https://github.com/hyperium/hyper ) | `0.14.27` | `1.0.1` |
| [octocrab](https://github.com/XAMPPRocky/octocrab ) | `0.31.0` | `0.31.2` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.3.0` | `3.4.0` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.49` | `1.0.50` |
| [typed-builder](https://github.com/idanarye/rust-typed-builder ) | `0.16.2` | `0.18.0` |
| [criterion](https://github.com/bheisler/criterion.rs ) | ``180f4b4`` | ``e1a8c9a`` |
Updates `clap` from 4.4.6 to 4.4.10
- [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.4.6...v4.4.10 )
Updates `const_format` from 0.2.31 to 0.2.32
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases )
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_format_crates/commits )
Updates `csv` from 1.2.2 to 1.3.0
- [Commits](https://github.com/BurntSushi/rust-csv/compare/1.2.2...1.3.0 )
Updates `env_logger` from 0.10.0 to 0.10.1
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.0...v0.10.1 )
Updates `futures` from 0.3.28 to 0.3.29
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.28...0.3.29 )
Updates `http` from 0.2.9 to 1.0.0
- [Release notes](https://github.com/hyperium/http/releases )
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/http/compare/v0.2.9...v1.0.0 )
Updates `openssl-sys` from 0.9.93 to 0.9.96
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.93...openssl-sys-v0.9.96 )
Updates `regex` from 1.9.6 to 1.10.2
- [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.9.6...1.10.2 )
Updates `reqwest` from 0.11.20 to 0.11.22
- [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.20...v0.11.22 )
Updates `ring` from 0.17.0 to 0.17.3
- [Commits](https://github.com/briansmith/ring/commits )
Updates `serde` from 1.0.188 to 1.0.193
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.193 )
Updates `serde_json` from 1.0.107 to 1.0.108
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108 )
Updates `tokio` from 1.32.0 to 1.34.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.32.0...tokio-1.34.0 )
Updates `toml` from 0.8.1 to 0.8.8
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.1...toml-v0.8.8 )
Updates `tempfile` from 3.8.0 to 3.8.1
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
Updates `tracing-subscriber` from 0.3.17 to 0.3.18
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.17...tracing-subscriber-0.3.18 )
Updates `uuid` from 1.4.1 to 1.6.1
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.4.1...1.6.1 )
Updates `wiremock` from 0.5.19 to 0.5.22
- [Changelog](https://github.com/LukeMathWalker/wiremock-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.5.19...v0.5.22 )
Updates `cached` from 0.46.0 to 0.46.1
- [Changelog](https://github.com/jaemk/cached/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jaemk/cached/commits )
Updates `check-if-email-exists` from 0.9.0 to 0.9.1
- [Release notes](https://github.com/reacherhq/check-if-email-exists/releases )
- [Changelog](https://github.com/reacherhq/check-if-email-exists/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reacherhq/check-if-email-exists/compare/v0.9.0...v0.9.1 )
Updates `hyper` from 0.14.27 to 1.0.1
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.27...v1.0.1 )
Updates `octocrab` from 0.31.0 to 0.31.2
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.31.0...v0.31.2 )
Updates `serde_with` from 3.3.0 to 3.4.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.3.0...v3.4.0 )
Updates `thiserror` from 1.0.49 to 1.0.50
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.49...1.0.50 )
Updates `typed-builder` from 0.16.2 to 0.18.0
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/idanarye/rust-typed-builder/commits )
Updates `criterion` from `180f4b4` to `e1a8c9a`
- [Commits](180f4b4896...e1a8c9ab21 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: const_format
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: csv
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: http
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: openssl-sys
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: ring
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: wiremock
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: cached
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: check-if-email-exists
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: octocrab
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: typed-builder
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: criterion
dependency-type: direct:production
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* Temporarily revert breaking changes from http crate
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Zahner <thomas.zahner@protonmail.ch>
2023-12-02 13:15:40 +01:00
Thomas Zahner
46f0ae908e
Address warnings of the new clippy lints ( #1310 )
2023-12-01 14:21:49 +01:00
A.J. Stein
2109470dc3
Exclude URLs ending with xmlrpc.php ( #1262 )
...
* Add to xmlrpc.php to exclude patterns for lycheeverse/lychee#1210
* Fix addition to array of exclude pattern array for #1210 for lint checks
2023-10-06 21:31:44 +02:00
dependabot[bot]
a4eacdf206
Bump the dependencies group with 14 updates ( #1260 )
...
Bumps the dependencies group with 14 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.2` | `4.4.6` |
| [indicatif](https://github.com/console-rs/indicatif ) | `0.17.6` | `0.17.7` |
| [openssl-sys](https://github.com/sfackler/rust-openssl ) | `0.9.92` | `0.9.93` |
| [regex](https://github.com/rust-lang/regex ) | `1.9.5` | `1.9.6` |
| [ring](https://github.com/briansmith/ring ) | `0.16.20` | `0.17.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.105` | `1.0.107` |
| [supports-color](https://github.com/zkat/supports-color ) | `2.0.0` | `2.1.0` |
| [toml](https://github.com/toml-rs/toml ) | `0.7.6` | `0.8.1` |
| [predicates](https://github.com/assert-rs/predicates-rs ) | `3.0.3` | `3.0.4` |
| [cached](https://github.com/jaemk/cached ) | `0.44.0` | `0.46.0` |
| [octocrab](https://github.com/XAMPPRocky/octocrab ) | `0.30.1` | `0.31.0` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.48` | `1.0.49` |
| [typed-builder](https://github.com/idanarye/rust-typed-builder ) | `0.16.0` | `0.16.2` |
| [rstest](https://github.com/la10736/rstest ) | `0.18.1` | `0.18.2` |
Updates `clap` from 4.4.2 to 4.4.6
- [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.4.2...v4.4.6 )
Updates `indicatif` from 0.17.6 to 0.17.7
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/commits )
Updates `openssl-sys` from 0.9.92 to 0.9.93
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.92...openssl-sys-v0.9.93 )
Updates `regex` from 1.9.5 to 1.9.6
- [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.9.5...1.9.6 )
Updates `ring` from 0.16.20 to 0.17.0
- [Commits](https://github.com/briansmith/ring/commits )
Updates `serde_json` from 1.0.105 to 1.0.107
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.107 )
Updates `supports-color` from 2.0.0 to 2.1.0
- [Release notes](https://github.com/zkat/supports-color/releases )
- [Changelog](https://github.com/zkat/supports-color/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zkat/supports-color/compare/v2.0.0...v2.1.0 )
Updates `toml` from 0.7.6 to 0.8.1
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.6...toml-v0.8.1 )
Updates `predicates` from 3.0.3 to 3.0.4
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.0.3...v3.0.4 )
Updates `cached` from 0.44.0 to 0.46.0
- [Changelog](https://github.com/jaemk/cached/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jaemk/cached/commits )
Updates `octocrab` from 0.30.1 to 0.31.0
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.30.1...v0.31.0 )
Updates `thiserror` from 1.0.48 to 1.0.49
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49 )
Updates `typed-builder` from 0.16.0 to 0.16.2
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/idanarye/rust-typed-builder/commits )
Updates `rstest` from 0.18.1 to 0.18.2
- [Release notes](https://github.com/la10736/rstest/releases )
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/la10736/rstest/compare/v0.18.1...v0.18.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: openssl-sys
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: ring
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: supports-color
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: predicates
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: cached
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: octocrab
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: typed-builder
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: rstest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 16:13:07 +02:00
Techassi
1b1fd0c707
feat: Add support for ranges in the --accept option / config field ( #1167 )
...
Adds support for accept ranges discussed in #1157 . This allows the user to specify custom HTTP status codes accepted during checking and thus will report as valid (not broken). The accept option only supports specifying status codes as a comma-separated list. With this PR, the option will accept a list of status code ranges formatted like this:
```toml
accept = ["100..=103", "200..=299", "403"]
```
These combinations will be supported: `..<end>`, ` ..=<end>`, `<start>..<end>` and `<start>..=<end>`.
The behavior is copied from the Rust Range like concepts:
```
..<end>, includes 0 to <end> (exclusive)
..=<end>, includes 0 to <end> (inclusive)
<start>..<end>, includes <start> to <end> (exclusive)
<start>..=<end>, includes <start> to <end> (inclusive)
```
- Foundation and enhancements for accept ranges, including support for comma-separated strings and integration into the CLI.
- Implementations and updates for AcceptSelector, including Default, Display, and serde defaults.
- Address and fix various errors: clippy, cargo fmt, and tests.
- Add more tests, address edge cases, and enhance error messaging, especially for TOML config parsing.
- Update dependencies.
2023-09-17 21:39:01 +02:00
Colerar
1cdc5bf499
Fix SPDX experssion in Cargo.toml ( #1251 )
2023-09-07 15:44:56 +02:00
dependabot[bot]
fbb77d7f0e
Bump the dependencies group with 10 updates ( #1249 )
...
* Bump the dependencies group with 10 updates
Bumps the dependencies group with 10 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.3.23` | `4.4.2` |
| [dashmap](https://github.com/xacrimon/dashmap ) | `5.5.1` | `5.5.3` |
| [openssl-sys](https://github.com/sfackler/rust-openssl ) | `0.9.91` | `0.9.92` |
| [regex](https://github.com/rust-lang/regex ) | `1.9.3` | `1.9.5` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.11.19` | `0.11.20` |
| [octocrab](https://github.com/XAMPPRocky/octocrab ) | `0.29.3` | `0.30.1` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.47` | `1.0.48` |
| [typed-builder](https://github.com/idanarye/rust-typed-builder ) | `0.15.2` | `0.16.0` |
| [url](https://github.com/servo/rust-url ) | `2.4.0` | `2.4.1` |
| [criterion](https://github.com/bheisler/criterion.rs ) | ``4c19e91`` | ``180f4b4`` |
Updates `clap` from 4.3.23 to 4.4.2
- [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.3.23...v4.4.2 )
Updates `dashmap` from 5.5.1 to 5.5.3
- [Release notes](https://github.com/xacrimon/dashmap/releases )
- [Commits](https://github.com/xacrimon/dashmap/compare/v5.5.1...v.5.5.3 )
Updates `openssl-sys` from 0.9.91 to 0.9.92
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.91...openssl-sys-v0.9.92 )
Updates `regex` from 1.9.3 to 1.9.5
- [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.9.3...1.9.5 )
Updates `reqwest` from 0.11.19 to 0.11.20
- [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.19...v0.11.20 )
Updates `octocrab` from 0.29.3 to 0.30.1
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.29.3...v0.30.1 )
Updates `thiserror` from 1.0.47 to 1.0.48
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
Updates `typed-builder` from 0.15.2 to 0.16.0
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/idanarye/rust-typed-builder/commits )
Updates `url` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.4.0...v2.4.1 )
Updates `criterion` from `4c19e91` to `180f4b4`
- [Commits](4c19e913b8...180f4b4896 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: dashmap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: openssl-sys
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: octocrab
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: typed-builder
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: criterion
dependency-type: direct:production
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* Format
* Fix new clippy lints
---------
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-09-05 10:50:45 +02:00
dependabot[bot]
007650faf0
Bump reqwest from 0.11.18 to 0.11.19 ( #1240 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.18 to 0.11.19.
- [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.18...v0.11.19 )
---
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-08-22 16:51:58 +02:00
Hugo McNally
f59aa61ee3
Check fragments in HTML files ( #1198 )
...
* Added html5gum based fragment extractor
* Markdown fragment extractor now extracts fragments from inline html
* Added fragment checks for html file
* Added inline html and html document to fragment checks test
* Improved some comments
* Improved documentation of markdown's fragment extractor.
2023-08-22 16:44:45 +02:00
dependabot[bot]
9f6f5501fa
Bump tempfile from 3.7.1 to 3.8.0 ( #1238 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.7.1 to 3.8.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.1...v3.8.0 )
---
updated-dependencies:
- dependency-name: tempfile
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-08-21 18:43:12 +02:00
dependabot[bot]
c965e51cb9
Bump serde_with from 3.2.0 to 3.3.0 ( #1237 )
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: serde_with
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-08-21 18:42:36 +02:00
dependabot[bot]
c36a58cd76
Bump serde from 1.0.183 to 1.0.185
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.183 to 1.0.185.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 12:41:01 +00:00
Viktor Szépe
07466c0bfd
Fix typos ( #1231 )
2023-08-19 14:49:36 +02:00
dependabot[bot]
5c95086f44
Bump tokio from 1.31.0 to 1.32.0 ( #1227 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.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-08-17 16:25:45 +02:00
dependabot[bot]
7505814971
Bump thiserror from 1.0.46 to 1.0.47
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 12:50:40 +00:00
dependabot[bot]
7a4c601b07
Merge pull request #1222 from lycheeverse/dependabot/cargo/thiserror-1.0.46
2023-08-16 12:59:12 +00:00
dependabot[bot]
a4751a46ae
Bump thiserror from 1.0.45 to 1.0.46
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.45 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.45...1.0.46 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 12:50:31 +00:00
dependabot[bot]
80ef3f724c
Bump serde_json from 1.0.104 to 1.0.105
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 12:50:20 +00:00
Matthias Endler
1bf2944c1e
Update dependencies; fix flaky tests ( #1219 )
2023-08-15 16:41:58 +02:00
dependabot[bot]
8e3fed0086
Bump serde_with from 3.1.0 to 3.2.0 ( #1205 )
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: serde_with
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-08-12 21:53:11 +02:00
dependabot[bot]
f6f7cfb5e5
Merge pull request #1204 from lycheeverse/dependabot/cargo/openssl-sys-0.9.91
2023-08-07 12:36:43 +00:00
dependabot[bot]
13f5a3a926
Merge pull request #1201 from lycheeverse/dependabot/cargo/serde-1.0.183
2023-08-07 12:31:38 +00:00
dependabot[bot]
8e6f758c5a
Bump openssl-sys from 0.9.90 to 0.9.91
...
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl ) from 0.9.90 to 0.9.91.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.90...openssl-sys-v0.9.91 )
---
updated-dependencies:
- dependency-name: openssl-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 12:31:30 +00:00
dependabot[bot]
ca75571054
Bump regex from 1.9.1 to 1.9.3
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.1 to 1.9.3.
- [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.9.1...1.9.3 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 12:24:32 +00:00
dependabot[bot]
5e4526c1fe
Bump serde from 1.0.181 to 1.0.183
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.181 to 1.0.183.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.181...v1.0.183 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 12:23:49 +00:00
dependabot[bot]
8f83081b03
Bump octocrab from 0.28.0 to 0.29.1 ( #1193 )
...
* Bump octocrab from 0.28.0 to 0.29.1
Bumps [octocrab](https://github.com/XAMPPRocky/octocrab ) from 0.28.0 to 0.29.1.
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.28.0...v0.29.1 )
---
updated-dependencies:
- dependency-name: octocrab
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Make wayback suggestion test more robust
- Retry mechanism
- Better checks
---------
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-08-07 12:58:54 +02:00
Stefan Kreutz
b1b32e7717
Fix rustls-tls feature ( #1194 )
...
* Fix rustls-tls feature
Commit 14e74879 (cookie support #1146 ) re-introduced an unconditional
dependency on the openssl-sys crate. That is, building Lychee with the
Rustls TLS backend now requires OpenSSL. I suppose this change was
unintended, maybe due to automatic conflict resolution. If not, please
let me know.
You can review the re-introduced dependency like so:
```
cargo tree --no-default-features --features rustls-tls -i openssl-sys
```
This commit puts the OpenSSL dependency behind the native-tls feature
flag again.
You can check the TLS features like so:
```
cargo check --workspace --all-targets --features vendored-openssl
cargo check --workspace --all-targets --all-features
cargo check --workspace --all-targets --no-default-features --features rustls-tls
```
Maybe this should be added to CI. But I don't want to waste anybody's
time.
* Check feature flags during CI
Adds a new CI job 'check-feature-flags' to verify the following:
- Lychee with rustls-tls feature only doesn't depend on OpenSSL
- Cargo check passes with default features
- Cargo check passes with all features
- Cargo check passes with rustls-tls feature only
2023-08-04 15:11:29 +02:00
dependabot[bot]
b3f4bd89f9
Bump serde from 1.0.180 to 1.0.181
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.180 to 1.0.181.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 12:40:00 +00:00
dependabot[bot]
92d252e9b9
Bump serde from 1.0.179 to 1.0.180
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.179 to 1.0.180.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.180 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 13:06:53 +00:00
dependabot[bot]
47cea02278
Bump typed-builder from 0.15.1 to 0.15.2
...
Bumps [typed-builder](https://github.com/idanarye/rust-typed-builder ) from 0.15.1 to 0.15.2.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 12:58:43 +00:00
Hugo McNally
8e6369377c
Introduce fragment checking for links to markdown files. ( #1126 )
...
- Implemented enhancements to include fragments in file links
- Checked links to markdown files with fragments, generating unique kebab case and heading attributes.
- Made code more idiomatic and added an integration test.
- Updated documentation.
- Fixed issues with heading attributes fragments and ensured proper handling of file errors.
2023-07-31 16:04:00 +02:00
dependabot[bot]
1d93750c86
Bump serde from 1.0.177 to 1.0.179
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.177 to 1.0.179.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.179 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 12:54:42 +00:00
Matthias Endler
cead4ce826
Improve srcset parsing ( #1160 )
...
Our current `srcset` parsing is pretty basic.
We split on comma and then on whitespace and take the first part, which is the image source URL.
However, we don't handle URLs containing unencoded commas like
</cdn-cgi/image/format=webp,width=640/https://img.youtube.com/vi/hVBl8_pgQf0/maxresdefault.jpg >, which leads to false-positives.
According to the spec, commas in strings should be encoded, but in practice, there are some websites which don't do that. To handle these cases, too, I propose to extend the `srcset` parsing to make use of a small "state machine", which detects if a comma is within the image source or outside of it while parsing.
This is part of an effort to reduce false-positives during link checking.
---------
Co-authored-by: Hugo McNally <45573837+HU90m@users.noreply.github.com>
2023-07-29 17:06:44 +02:00
dependabot[bot]
04e742b86d
Bump serde from 1.0.176 to 1.0.177
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 12:47:18 +00:00
dependabot[bot]
43bc36f509
Bump serde from 1.0.175 to 1.0.176
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.175 to 1.0.176.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.176 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 12:33:10 +00:00
dependabot[bot]
92b0a00879
Bump serde_json from 1.0.103 to 1.0.104
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 12:27:04 +00:00
Markus Unterwaditzer
434baa8420
bump html5gum to 0.5.7 ( #1182 )
...
more performance improvements, also i accidentally pushed a breaking
change in 0.5.7 and want to avoid 0.5.5 to circulate around too much
because of that
2023-07-27 14:25:10 +02:00
Markus Unterwaditzer
566fca4c3d
bump html5gum to 0.5.5 ( #1181 )
...
there's some perf improvements there, but one requires manual
configuration.
custom should_emit_errors, when inlined, eliminates some useless code
that just wastes time when we don't care about errors.
2023-07-26 01:31:44 +02:00
dependabot[bot]
790f3798c6
Bump serde from 1.0.174 to 1.0.175
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.174 to 1.0.175.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.174...v1.0.175 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 12:46:44 +00:00
dependabot[bot]
2f3069300a
Merge pull request #1176 from lycheeverse/dependabot/cargo/thiserror-1.0.44
2023-07-21 12:15:54 +00:00
dependabot[bot]
88e11d118a
Bump serde from 1.0.171 to 1.0.174
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.171 to 1.0.174.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.174 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 12:09:52 +00:00
dependabot[bot]
6fc1a7742d
Bump thiserror from 1.0.43 to 1.0.44
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 12:09:29 +00:00
Matthias Endler
04887ee293
Make checking email addresses optional ( #1171 )
...
E-Mail checks cause too many false-postives,
so we put them behind a flag.
* `--exclude-mail` is deprecated (to be removed in 1.0)
* `--include-mail` is the new flag
This PR also removes the obsolete tests for `--exclude-file`, which was superseded by `.lycheeignore`.
Fixes #1089
2023-07-19 19:58:38 +02:00
dependabot[bot]
0760d9241b
Bump octocrab from 0.27.0 to 0.28.0 ( #1172 )
...
Bumps [octocrab](https://github.com/XAMPPRocky/octocrab ) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: octocrab
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-07-19 19:56:49 +02:00
dependabot[bot]
7af42d07ca
Bump serde_with from 3.0.0 to 3.1.0 ( #1169 )
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: serde_with
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-07-19 01:00:05 +02:00
dependabot[bot]
bfca8297bf
Bump octocrab from 0.26.0 to 0.27.0 ( #1170 )
...
Bumps [octocrab](https://github.com/XAMPPRocky/octocrab ) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: octocrab
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-07-19 00:19:08 +02:00
dependabot[bot]
13e1c49c5e
Bump serde_json from 1.0.102 to 1.0.103
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.102...v1.0.103 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 12:45:29 +00:00
Techassi
f53619a455
feat: Add support for --dump-inputs ( #1159 )
...
* Add support for --dump-inputs
* Add integration tests
* Fix usage guide in README
2023-07-16 18:08:14 +02:00
dependabot[bot]
dfa9245eaa
Bump reqwest_cookie_store from 0.5.0 to 0.6.0 ( #1158 )
...
Bumps [reqwest_cookie_store](https://github.com/pfernie/reqwest_cookie_store ) from 0.5.0 to 0.6.0.
- [Changelog](https://github.com/pfernie/reqwest_cookie_store/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pfernie/reqwest_cookie_store/commits/v0.6.0 )
---
updated-dependencies:
- dependency-name: reqwest_cookie_store
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-07-15 13:41:55 +02:00
Matthias
961575cdc7
fix typos
2023-07-13 21:48:46 +02:00
dependabot[bot]
255e9c6d7d
Merge pull request #1156 from lycheeverse/dependabot/cargo/serde_json-1.0.102
2023-07-13 15:42:28 +00:00
dependabot[bot]
5cba46a67f
Bump octocrab from 0.25.1 to 0.26.0 ( #1155 )
...
Bumps [octocrab](https://github.com/XAMPPRocky/octocrab ) from 0.25.1 to 0.26.0.
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.25.1...v0.26.0 )
---
updated-dependencies:
- dependency-name: octocrab
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-07-13 17:35:47 +02:00
dependabot[bot]
b8ddaadc5e
Bump serde_json from 1.0.100 to 1.0.102
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.100 to 1.0.102.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.100...v1.0.102 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 15:33:58 +00:00
Matthias Endler
14e748793e
Cookie Support ( #1146 )
...
This is a very conservative and limited implementation of cookie support.
The goal is to ship an MVP, which covers 80% of the use-cases.
When you run lychee with --cookie-jar cookies.json, all cookies will be stored in cookies.json, one cookie per line.
This makes cookies easy to edit by hand if needed, although this is an advanced use-case and the API for the format is not guaranteed to be stable.
Fixes : #645 , #715
Partially fixes : #1108
2023-07-13 17:32:41 +02:00
Matthias Endler
40ba18794d
Don't check Twitter URLs ( #1147 )
...
Twitter completely locked down and requires
a login to read tweets. (Temporarily) disable all
Twitter URLs to avoid false-positives.
For context:
https://github.com/zedeus/nitter/issues/919
https://news.ycombinator.com/item?id=36540957
https://techcrunch.com/2023/06/30/twitter-now-requires-an-account-to-view-tweets/
Fixes https://github.com/lycheeverse/lychee/issues/1108
2023-07-13 17:31:59 +02:00
dependabot[bot]
fd78b55fce
Bump typed-builder from 0.15.0 to 0.15.1
...
Bumps [typed-builder](https://github.com/idanarye/rust-typed-builder ) from 0.15.0 to 0.15.1.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 12:42:58 +00:00
dependabot[bot]
a30c7f7271
Merge pull request #1148 from lycheeverse/dependabot/cargo/html5gum-0.5.4
2023-07-10 12:40:00 +00:00
dependabot[bot]
1b34b00307
Merge pull request #1150 from lycheeverse/dependabot/cargo/regex-1.9.1
2023-07-10 12:39:42 +00:00
dependabot[bot]
3a8e7b164e
Bump regex from 1.9.0 to 1.9.1
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.0 to 1.9.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.9.0...1.9.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-07-10 12:32:01 +00:00
dependabot[bot]
1763baf70f
Bump serde from 1.0.167 to 1.0.168
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.167 to 1.0.168.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.167...v1.0.168 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 12:31:51 +00:00
dependabot[bot]
3d1d9fc9fe
Bump html5gum from 0.5.3 to 0.5.4
...
Bumps [html5gum](https://github.com/untitaker/html5gum ) from 0.5.3 to 0.5.4.
- [Commits](https://github.com/untitaker/html5gum/compare/0.5.3...0.5.4 )
---
updated-dependencies:
- dependency-name: html5gum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 12:31:39 +00:00
dependabot[bot]
f8b497ab6a
Bump serde from 1.0.166 to 1.0.167 ( #1144 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.166 to 1.0.167.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.167 )
---
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-07-07 15:18:33 +02:00
dependabot[bot]
0ab7fbd6c2
Bump thiserror from 1.0.41 to 1.0.43
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 12:45:49 +00:00
dependabot[bot]
5b44347671
Bump typed-builder from 0.14.0 to 0.15.0 ( #1140 )
...
Bumps [typed-builder](https://github.com/idanarye/rust-typed-builder ) from 0.14.0 to 0.15.0.
- [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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 11:43:31 +02:00
dependabot[bot]
9ea8867bcc
Bump regex from 1.8.4 to 1.9.0 ( #1138 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.4 to 1.9.0.
- [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.8.4...1.9.0 )
---
updated-dependencies:
- dependency-name: regex
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-07-07 03:00:16 +02:00
Matthias Endler
97573123ef
Extend remap feature ( #1133 )
...
* wip
* Extend support for remapping
This adds supports for partial remaps and
capture groups to the remap feature.
Fixes #1129
2023-07-05 15:05:19 +02:00
dependabot[bot]
687190bde9
Merge pull request #1137 from lycheeverse/dependabot/cargo/thiserror-1.0.41
2023-07-05 12:57:08 +00:00
dependabot[bot]
efb170898b
Bump thiserror from 1.0.40 to 1.0.41
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 12:48:51 +00:00
dependabot[bot]
16b27ce77e
Bump serde_json from 1.0.99 to 1.0.100
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.99...v1.0.100 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 12:48:42 +00:00
dependabot[bot]
3562ea3be5
Bump serde from 1.0.165 to 1.0.166
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.165 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.165...v1.0.166 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 12:43:52 +00:00
dependabot[bot]
03429e31ac
Bump serde from 1.0.164 to 1.0.165
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.164 to 1.0.165.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.165 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 12:47:24 +00:00
Matthias Endler
15e420b8ad
Avoid false positives when checking email addresses in HTML input ( #1123 )
...
Skip email addresses outside href attributes in HTML
2023-07-01 00:12:11 +02:00
dependabot[bot]
ef9e602149
Bump tokio from 1.28.2 to 1.29.1 ( #1131 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.2 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.1 )
---
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-06-30 15:18:58 +02:00
dependabot[bot]
8831bbfcd3
Bump hyper from 0.14.26 to 0.14.27
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.26 to 0.14.27.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.27/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.26...v0.14.27 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 12:58:44 +00:00
dependabot[bot]
2665eeb09d
Bump linkify from 0.9.0 to 0.10.0 ( #1122 )
...
Bumps [linkify](https://github.com/robinst/linkify ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/robinst/linkify/releases )
- [Changelog](https://github.com/robinst/linkify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/robinst/linkify/compare/0.9.0...0.10.0 )
---
updated-dependencies:
- dependency-name: linkify
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-26 15:40:32 +02:00
Matthias Endler
f8e6720e3e
Cleanup Cargo.toml files ( #1121 )
2023-06-26 12:59:09 +02:00
Techassi
67af7ef6d3
feat: add support for basic auth per URI ( #1110 )
...
* Add support for basic auth per domain
* Move URI matching to link collection phase
* Allow AsRef for BasicAuthExtractor::new to avoid clone
* Add tests
---------
Co-authored-by: Matthias Endler <matthias@endler.dev>
2023-06-26 12:06:24 +02:00
Matthias Endler
58c07e495e
Update false-positive patterns ( #1120 )
2023-06-25 15:09:09 +02:00
Matthias Endler
f0af985aac
Log redirects in verbose mode (-vv) ( #1117 )
...
This adds a custom redirect policy,
which logs redirects as debug messages.
It can help with troubleshooting, e.g. in situations like
https://github.com/lycheeverse/lychee/issues/1115
2023-06-23 15:49:05 +02:00
dependabot[bot]
4875f998c1
Bump openssl-sys from 0.9.88 to 0.9.90
...
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl ) from 0.9.88 to 0.9.90.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.88...openssl-sys-v0.9.90 )
---
updated-dependencies:
- dependency-name: openssl-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 12:58:30 +00:00
dependabot[bot]
de2f993b72
Bump serde_json from 1.0.96 to 1.0.97
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 12:04:32 +00:00
Stefan Kreutz
7dd84f6b7c
Add optional Rustls support ( #1099 )
...
* Add optional Rustls support
This commit adds a non-default feature flag to use Rustls instead of OpenSSL.
My personal motivation is to use Lychee on OpenBSD -current, where the
`openssl` crate frequently fails to link against the unreleased system
LibreSSL. Using the `vendored-openssl` feature helps with compilation, but
segfaults at runtime.
The commit adds three feature flags to the library, binary, benchmark, and all
examples:
- The `native-tls` feature flag toggles the `openssl` crate.
- The `rustls-tls` feature flag toggles the `rustls` crate.
- The `email-check` feature flag toggles the `check-if-email-exists` crate,
which is the only existing functionality currently incompatible with Rustls.
By default, `native-tls` and `email-check` are enabled. Thus, Lychee (bin and
lib) can be used as before unless default features are disabled.
To use the Rustls feature, pass `--no-default-features --features rustls` to
cargo check/build/test/..., e.g.,
$ cargo clippy --workspace --all-targets --no-default-features \ --features
rustls-tls -- --deny warnings
Checking email addresses requires both, `native-tls` and `email-check`, to be
enabled. Otherwise, email addresses are excluded.
The `email-check` feature flag is technically not necessary. I preferred it
over `not(rustls-tls)` because it's clearer and it addresses the AGPL license
issue #594 . As far as I understand, a Lychee binary compiled without the
`email-check` feature could be distributed with file-based copyleft for the
MPL-licensed dependencies only. But that's out of scope here.
The benchmark shows a performance regression varying between 2% and 4.4% when
using Rustls instead of OpenSSL on my machine.
PS: The `ring` crate needs to be patched on OpenBSD 7.3 and later until the new
xonly patches have been upstreamed, see the `rust-ring` port.
* Use platform native certificates with Rustls
By default, reqwest uses the webpki-roots crate with Rustls, effectively
bundling Mozilla's root certificates.
This commit uses the rustls-native-certs crate instead to use locally
installed root certificates, to minimize the difference between the
native-tls and rustls-tls features.
* Document feature flags
2023-06-16 02:21:57 +02:00
dependabot[bot]
af30bc4e5d
Bump url from 2.3.1 to 2.4.0 ( #1112 )
...
Bumps [url](https://github.com/servo/rust-url ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: url
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-15 15:25:11 +02:00
dependabot[bot]
0b26477ad5
Bump percent-encoding from 2.2.0 to 2.3.0 ( #1097 )
...
Bumps [percent-encoding](https://github.com/servo/rust-url ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.2.0...v2.3.0 )
---
updated-dependencies:
- dependency-name: percent-encoding
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-15 00:57:22 +02:00
dependabot[bot]
9ef28c6cad
Bump once_cell from 1.17.2 to 1.18.0 ( #1096 )
...
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-15 00:57:06 +02:00
dependabot[bot]
33c3d6cf7b
Bump octocrab from 0.24.0 to 0.25.1 ( #1101 )
...
Bumps [octocrab](https://github.com/XAMPPRocky/octocrab ) from 0.24.0 to 0.25.1.
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.24.0...v0.25.1 )
---
updated-dependencies:
- dependency-name: octocrab
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-14 23:02:06 +02:00
dependabot[bot]
523d5f8a21
Bump cached from 0.43.0 to 0.44.0 ( #1094 )
...
Bumps [cached](https://github.com/jaemk/cached ) from 0.43.0 to 0.44.0.
- [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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 23:01:02 +02:00
dependabot[bot]
db206f5e6a
Bump tempfile from 3.5.0 to 3.6.0 ( #1100 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.5.0 to 3.6.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: tempfile
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-13 18:25:32 +02:00
dependabot[bot]
696406d206
Merge pull request #1105 from lycheeverse/dependabot/cargo/log-0.4.19
2023-06-12 13:06:21 +00:00
dependabot[bot]
19dd9b4dcc
Bump html5gum from 0.5.2 to 0.5.3
...
Bumps [html5gum](https://github.com/untitaker/html5gum ) from 0.5.2 to 0.5.3.
- [Commits](https://github.com/untitaker/html5gum/compare/0.5.2...0.5.3 )
---
updated-dependencies:
- dependency-name: html5gum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 13:00:04 +00:00
dependabot[bot]
4bbbe2392d
Bump log from 0.4.18 to 0.4.19
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.18 to 0.4.19.
- [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.18...0.4.19 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 12:59:44 +00:00
dependabot[bot]
b9c1e878fa
Bump serde from 1.0.163 to 1.0.164
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 12:59:02 +00:00
dependabot[bot]
8077c897cb
Bump wiremock from 0.5.18 to 0.5.19
...
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs ) from 0.5.18 to 0.5.19.
- [Changelog](https://github.com/LukeMathWalker/wiremock-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.5.18...v0.5.19 )
---
updated-dependencies:
- dependency-name: wiremock
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 12:58:22 +00:00
dependabot[bot]
44073b2c1d
Bump regex from 1.8.3 to 1.8.4
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.3 to 1.8.4.
- [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.8.3...1.8.4 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 13:00:18 +00:00
dependabot[bot]
5d3972ecc4
Bump octocrab from 0.23.0 to 0.24.0 ( #1091 )
...
Bumps [octocrab](https://github.com/XAMPPRocky/octocrab ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases )
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.23.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: octocrab
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-02 20:03:02 +02:00
Matthias Endler
5ce77e1202
Don't cache unknown status codes ( #1090 )
...
Unknown status codes should be skipped and not cached by default. The reason is that we don't know if they are valid or not and even if they are invalid, we don't know if they will be valid in the future.
2023-06-02 02:46:20 +02:00
dependabot[bot]
cbda328129
Merge pull request #1084 from lycheeverse/dependabot/cargo/log-0.4.18
2023-06-01 13:21:38 +00:00
dependabot[bot]
a4b41760ee
Bump log from 0.4.17 to 0.4.18
...
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>
2023-06-01 13:14:34 +00:00
dependabot[bot]
dc4adc5d62
Bump once_cell from 1.17.1 to 1.17.2
...
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>
2023-06-01 13:14:34 +00:00