Commit graph

50 commits

Author SHA1 Message Date
dependabot-preview[bot]
d503bc281f Bump shellexpand from 2.0.0 to 2.1.0
Bumps [shellexpand](https://github.com/netvl/shellexpand) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/netvl/shellexpand/releases)
- [Commits](https://github.com/netvl/shellexpand/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-23 07:05:27 +00:00
dependabot-preview[bot]
18e6d06864 Bump anyhow from 1.0.35 to 1.0.36
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.35...1.0.36)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:25:15 +00:00
dependabot-preview[bot]
933814a719 Bump toml from 0.5.7 to 0.5.8
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.7...0.5.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:24:36 +00:00
dependabot-preview[bot]
597a618f5f Bump http from 0.2.1 to 0.2.2
Bumps [http](https://github.com/hyperium/http) from 0.2.1 to 0.2.2.
- [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.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-15 07:11:07 +00:00
dependabot-preview[bot]
e5460fbab3 Bump reqwest from 0.10.9 to 0.10.10
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.9 to 0.10.10.
- [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.10.9...v0.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-15 07:03:57 +00:00
dependabot-preview[bot]
57d5e633fb Bump openssl-sys from 0.9.58 to 0.9.59
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.58 to 0.9.59.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.58...openssl-sys-v0.9.59)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 07:47:01 +00:00
Matthias
a78e8318cd
Add (machine-readable) output file support (fixes #53)
For now we only support JSON.
I honestly don't know if it makes sense to include other formats.
For example, MD and HTML are not really
machine-readable. YAML is not
a great standard format for this use-case. Open for discussions, though.
2020-12-14 01:15:14 +01:00
Matthias Endler
49898f1d4b Update missing Cargo.lock 2020-12-11 23:19:28 +01:00
Matthias
c7d7c6c952
Build binaries for Linux, Windows, and macOS for every release (#74)
* Build binaries for Linux, Windows, and macOS for every release

* Add vendored-openssl feature flag

This allows us to trigger a build which
includes a static dependency to openssl by compiling it from source in a
build.rs script. It is useful for Linux, which has wildly different config
parameters for different architectures.

* Add openssl-sys as direct dependency

This allows us to pass the vendored-openssl
feature flag to this dependency and compile openssl from source

* Update Cargo.lock

* Cleanup
2020-12-11 22:13:26 +01:00
dependabot-preview[bot]
c4c9726358 Bump check-if-email-exists from 0.8.15 to 0.8.16
Bumps [check-if-email-exists](https://github.com/amaurymartiny/check-if-email-exists) from 0.8.15 to 0.8.16.
- [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.15...v0.8.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 07:34:05 +00:00
dependabot-preview[bot]
b16ad04656 Bump serde from 1.0.117 to 1.0.118
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.117 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.117...v1.0.118)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 06:59:52 +00:00
dependabot-preview[bot]
9de0034af8 Bump anyhow from 1.0.34 to 1.0.35
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.34...1.0.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 06:59:42 +00:00
Matthias
b7ab4abb0d
Make lychee usable as a library #13 (#46)
This splits up the code into a `lib` and a `bin`
to make the runtime usable from other crates.

Co-authored-by: Paweł Romanowski <pawroman@pawroman.dev>
2020-12-04 10:44:31 +01:00
Paweł Romanowski
1f787613d4
Add support for reading from stdin and make input handling more robust (closes #26)
* Adds a `skip_missing` flag
* Adds an `Input` enum to handle different types of inputs
2020-12-02 23:28:37 +01:00
dependabot-preview[bot]
942de7d6ab
Bump structopt from 0.3.20 to 0.3.21 (#57)
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.20 to 0.3.21.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.20...v0.3.21)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-01 11:08:51 +01:00
dependabot-preview[bot]
f2302f4572
Bump futures from 0.3.5 to 0.3.8 (#58)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.5 to 0.3.8.
- [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.5...0.3.8)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-01 11:08:35 +01:00
dependabot-preview[bot]
958f07ec0e
Bump reqwest from 0.10.8 to 0.10.9 (#50)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.8 to 0.10.9.
- [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.10.8...v0.10.9)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-30 15:44:31 +01:00
dependabot-preview[bot]
2f226167c4
Bump check-if-email-exists from 0.8.13 to 0.8.15 (#49)
Bumps [check-if-email-exists](https://github.com/amaurymartiny/check-if-email-exists) from 0.8.13 to 0.8.15.
- [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.13...v0.8.15)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-30 15:44:01 +01:00
dependabot-preview[bot]
13f3433c7f Bump assert_cmd from 1.0.1 to 1.0.2
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.1 to 1.0.2.
- [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.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 07:04:18 +00:00
dependabot-preview[bot]
7ad9e713ac Bump anyhow from 1.0.32 to 1.0.34
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.32 to 1.0.34.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.32...1.0.34)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 07:03:32 +00:00
dependabot-preview[bot]
ace25e92b8 Bump regex from 1.3.9 to 1.4.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.9 to 1.4.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.3.9...1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-29 20:55:32 +00:00
dependabot-preview[bot]
be29dc7406
Bump serde from 1.0.115 to 1.0.117 (#45)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.115 to 1.0.117.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.115...v1.0.117)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-29 21:49:18 +01:00
dependabot-preview[bot]
675c9ea2af
Bump hubcaps from 0.6.1 to 0.6.2 (#43)
Bumps [hubcaps](https://github.com/softprops/hubcaps) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/softprops/hubcaps/releases)
- [Changelog](https://github.com/softprops/hubcaps/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/hubcaps/compare/v0.6.1...v0.6.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-29 21:48:40 +01:00
dependabot-preview[bot]
de4ccda6b6
Bump reqwest from 0.10.7 to 0.10.8 (#41)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.7 to 0.10.8.
- [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.10.7...v0.10.8)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-29 21:48:27 +01:00
dependabot-preview[bot]
f347cdc083 Bump url from 2.1.1 to 2.2.0
Bumps [url](https://github.com/servo/rust-url) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.1.1...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-29 20:48:20 +00:00
Matthias
8294e47307
Properly announce lychee user agent (#38) 2020-11-25 10:11:02 +01:00
Matthias
b0f7a805ef
Use builder pattern and channels (fixes #12) (#33)
This implements a basic builder for the Checker struct as discussed in #12.
It is using derive_builder and uses a custom build method to instantiate the more elaborate fields like reqwest::Client.
It also adds deadpool and tokio::mpsc as dependencies to handle a pool of clients to query websites.
2020-11-24 21:30:06 +01:00
Milton Fabian Bastidas Guerra
2bf62e7709
Add support for basic auth #18 (#20)
[Issue #18](https://github.com/hello-rust/lychee/issues/18)
* Add headers crate to type headers and create auth header
* Add cmd param basic-auth to set property to the main
* Add simple test to test if with auth headres is no broken

Signed-off-by: FabianBG <f4b4g3@gmail.com>
2020-10-26 09:23:45 +01:00
Alexander Krantz
3a12b3e220
Configuration file (lychee.toml) (#16) 2020-10-21 02:10:25 +02:00
WhizSid
6bd7bbf51f
feat: Support relative URLs (#15) 2020-10-21 01:31:06 +02:00
Paweł Romanowski
0790afdbf2 Un-ignore test_timeout, upgrade wiremock to 0.3 2020-10-18 11:44:00 +02:00
Paweł Romanowski
e175558376 Add --exclude-all-private flag and cli integration test 2020-10-17 10:01:06 +02:00
Xiaochuan Yu
df54ce1eef Add progress bar 2020-10-10 00:39:06 -04:00
Matthias Endler
d1683bba32 Add e-mail checking support 2020-08-23 23:22:48 +02:00
Matthias Endler
c953528fb7 Add connection timeout 2020-08-22 00:36:03 +02:00
Matthias Endler
5a36bff850 Update deps 2020-08-19 00:10:59 +02:00
Matthias Endler
f42d2e7ace Cleanup unused deps 2020-08-19 00:09:39 +02:00
Matthias Endler
76adcfd7e5 0.3.0 2020-08-18 23:59:38 +02:00
Matthias Endler
3650c673df Move to hubcaps. Allow defining accepted status codes 2020-08-18 01:17:26 +02:00
Matthias Endler
391144b2ff Add globbing support 2020-08-14 02:33:04 +02:00
Matthias Endler
22044275f7 Pin dependencies 2020-08-13 09:43:06 +02:00
Matthias Endler
cf23fe5f0f Bump version 2020-08-13 00:17:42 +02:00
Matthias Endler
1566a99647 Use CheckStatus enum for more fine-grained control over check results 2020-08-12 12:36:05 +02:00
Matthias Endler
1d235b578b pico-args -> gumdrop
Needed multi-value args (with values accumulated into a vec)
for excluded urls
2020-08-11 22:18:37 +02:00
Matthias Endler
3fc369b3fa Make things blazing fast thanks to async 2020-08-11 16:13:10 +02:00
Matthias Endler
6e0f559b25 Switch to linkify to cover non MD links 2020-08-09 23:12:25 +02:00
Matthias Endler
dc7af2d74e Clean up error handling and configure reqwests 2020-08-08 00:06:17 +02:00
Matthias Endler
a58b3e1232 Add logging and proper URL parsing 2020-08-07 19:00:21 +02:00
Matthias Endler
8b77069a5c Update Cargo information 2020-08-05 01:09:20 +02:00
Matthias Endler
2a93ce8093 Extract from hello-rust/show repository 2020-08-05 00:32:37 +02:00