Commit graph

242 commits

Author SHA1 Message Date
Matthias Endler
8173e9927f Be more explicit about supported output formats 2021-02-17 12:17:45 +01:00
Matthias Endler
d16e4fa1bc Implement Serialize and Display for Status 2021-02-17 12:13:49 +01:00
Matthias Endler
b7bdfa6890 Add helper methods for Status 2021-02-17 12:13:32 +01:00
Matthias Endler
8e15bfb0be Implement Display and Serialize for Response 2021-02-17 12:12:37 +01:00
Matthias Endler
7859cb17c6 Cleanup unused deserialize 2021-02-17 12:11:51 +01:00
Matthias Endler
d9adfbf80f Add support for serializing input 2021-02-17 12:11:28 +01:00
Matthias Endler
d6b960368a Adjust tests 2021-02-17 12:10:57 +01:00
Matthias Endler
4faf40cfba Move check functions closer together 2021-02-17 01:01:43 +01:00
Matthias Endler
e859f1290e Correct matches for fail_map and add test 2021-02-16 01:21:45 +01:00
Matthias Endler
428df23c1c Fix lints and test on Linux 2021-02-16 00:53:01 +01:00
Matthias Endler
54e1d3e078 Simplify tests 2021-02-16 00:35:59 +01:00
Matthias Endler
4bec47904e Show input source in status output
If an error occurs during link checking,
it is important to know where the error occured.
Therefore the request and response objects now contain a the input
source as a field. This makes error tracking easier.
2021-02-16 00:15:14 +01:00
Matthias
a633afc6b9
Use lychee master for link checking 2021-02-15 11:21:29 +01:00
dependabot-preview[bot]
c7b2b9e805
Bump linkify from 0.4.0 to 0.5.0 (#141)
Bumps [linkify](https://github.com/robinst/linkify) from 0.4.0 to 0.5.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.4.0...0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-15 10:04:02 +01:00
dependabot-preview[bot]
98c603670d
Bump check-if-email-exists from 37e398d to 2bbcd75 (#142)
Bumps [check-if-email-exists](https://github.com/reacherhq/check-if-email-exists) from `37e398d` to `2bbcd75`.
- [Release notes](https://github.com/reacherhq/check-if-email-exists/releases)
- [Commits](37e398d6c6...2bbcd75ced)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-15 10:02:21 +01:00
Matthias
75e2f32fac
Fix issues with some dependencies (#140)
* Try to make lychee buildable for Apple Silicon (ring)
* Fix issues with old tokio 0.2 deps (async_smtp)
2021-02-12 22:34:41 +01:00
Matthias
5401e3a3d9
Update lychee action to latest version 2021-02-12 18:19:25 +01:00
Matthias
702909c4ab
Mailto support (#138)
* Add mailto suport and use try_from for parsing URLs
* Cleanup and document code
2021-02-12 10:25:33 +01:00
Matthias
0b148bf5e6
Exclude e-mails from being checked (#137)
This can be useful in CI environments where SMTP is not allowed.
2021-02-10 11:58:04 +01:00
Paweł Romanowski
4d5b98978c
Mention GitHub Action in README.md (#135)
Also mention GitHub token in TROUBLESHOOTING.md
2021-02-08 12:18:50 +01:00
Paweł Romanowski
836f557829
Ensure destructors are ran before std::process::exit (#134)
See comments in code for more details.
2021-02-08 11:04:01 +01:00
dependabot-preview[bot]
a5db490066 Bump serde_json from 1.0.61 to 1.0.62
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 07:22:53 +00:00
dependabot-preview[bot]
20f962b490 Bump tokio from 1.1.1 to 1.2.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.1.1...tokio-1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 07:14:16 +00:00
Matthias
8cc6d59587
Be more explicit about license in docs 2021-02-02 14:32:19 +01:00
dependabot-preview[bot]
07a0f99412 Bump assert_cmd from 1.0.2 to 1.0.3
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-02 06:53:09 +00:00
dependabot-preview[bot]
5c582bbe6d Bump predicates from 1.0.6 to 1.0.7
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v1.0.6...v1.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 07:24:33 +00:00
dependabot-preview[bot]
683d4d32ea Bump tokio from 1.1.0 to 1.1.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.1.0...tokio-1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 07:24:20 +00:00
dependabot-preview[bot]
14755761fe Bump serde from 1.0.122 to 1.0.123
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.122 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 06:53:44 +00:00
dependabot-preview[bot]
20b0ace006 Bump serde from 1.0.120 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.120 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.120...v1.0.122)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 07:04:52 +00:00
dependabot-preview[bot]
d68c4badf5 Bump wiremock from 0.4.8 to 0.4.9
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs) from 0.4.8 to 0.4.9.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases)
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.4.8...v0.4.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 06:57:42 +00:00
dependabot-preview[bot]
cce8319eb8 Bump tokio from 1.0.2 to 1.1.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.0.2...tokio-1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 06:56:43 +00:00
dependabot-preview[bot]
c10c1545b3 Bump wiremock from 0.4.7 to 0.4.8
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases)
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.4.7...v0.4.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-21 06:55:30 +00:00
dependabot-preview[bot]
4ac29be167 Bump serde from 1.0.119 to 1.0.120
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.120.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.120)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 08:13:24 +00:00
dependabot-preview[bot]
5c8a4dfa7e Bump futures from 0.3.11 to 0.3.12
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.11 to 0.3.12.
- [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.11...0.3.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 07:43:35 +00:00
dependabot-preview[bot]
92f32d1181 Bump wiremock from 0.4.6 to 0.4.7
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases)
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.4.6...v0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 07:42:31 +00:00
Matthias
a50c04fffe
Add hint about separating inputs from options with -- (fixes #113) (#119) 2021-01-17 17:01:06 +01:00
dependabot-preview[bot]
bfeeb28e1d Bump futures from 0.3.10 to 0.3.11
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.10 to 0.3.11.
- [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.10...0.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 07:49:32 +00:00
dependabot-preview[bot]
3e77fbd9a4 Bump tokio from 1.0.1 to 1.0.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.0.1...tokio-1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 07:41:44 +00:00
dependabot-preview[bot]
5ae8e257a7 Bump wiremock from 0.4.5 to 0.4.6
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases)
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.4.5...v0.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 07:33:18 +00:00
dependabot-preview[bot]
a5364f2958 Bump headers from 0.3.2 to 0.3.3
Bumps [headers](https://github.com/hyperium/headers) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/hyperium/headers/releases)
- [Commits](https://github.com/hyperium/headers/compare/headers-v0.3.2...headers-v0.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-14 07:20:14 +00:00
dependabot-preview[bot]
e5b425947d Bump futures from 0.3.9 to 0.3.10
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.9 to 0.3.10.
- [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.9...0.3.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-14 07:19:04 +00:00
dependabot-preview[bot]
ecb65c3ed4 Bump wiremock from 0.4.3 to 0.4.5
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs) from 0.4.3 to 0.4.5.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases)
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.4.3...v0.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 07:17:51 +00:00
dependabot-preview[bot]
f01214c166 Bump tempfile from 3.1.0 to 3.2.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 01:34:57 +00:00
dependabot-preview[bot]
54c73b37fb Bump serde from 1.0.118 to 1.0.119
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.118 to 1.0.119.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.119)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-12 07:12:01 +00:00
dependabot-preview[bot]
0c746997f1 Bump http from 0.2.2 to 0.2.3
Bumps [http](https://github.com/hyperium/http) from 0.2.2 to 0.2.3.
- [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.2...v0.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:31:37 +00:00
dependabot-preview[bot]
105883f31f Bump check-if-email-exists from 0.8.17 to 0.8.19
Bumps [check-if-email-exists](https://github.com/amaurymartiny/check-if-email-exists) from 0.8.17 to 0.8.19.
- [Release notes](https://github.com/amaurymartiny/check-if-email-exists/releases)
- [Changelog](https://github.com/amaurymartiny/check-if-email-exists/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amaurymartiny/check-if-email-exists/compare/v0.8.17...v0.8.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:23:44 +00:00
dependabot-preview[bot]
62e0a34428 Bump anyhow from 1.0.37 to 1.0.38
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.37...1.0.38)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:17:48 +00:00
dependabot-preview[bot]
de5098f5d5 Bump uuid from 0.8.1 to 0.8.2
Bumps [uuid](https://github.com/uuid-rs/uuid) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/0.8.1...0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:16:37 +00:00
dependabot-preview[bot]
4990194af9 Bump regex from 1.4.2 to 1.4.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.2 to 1.4.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.4.2...1.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:15:14 +00:00
Matthias Endler
e1faccf330 Update version 2021-01-09 02:06:05 +01:00