mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-18 20:21:04 +00:00
Bump check-if-email-exists from 0.8.31 to 0.9.0 (#735)
* Bump check-if-email-exists from 0.8.31 to 0.9.0 Bumps [check-if-email-exists](https://github.com/reacherhq/check-if-email-exists) from 0.8.31 to 0.9.0. - [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.8.31...v0.9.0) --- updated-dependencies: - dependency-name: check-if-email-exists dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update usage 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>
This commit is contained in:
parent
fbfe69dc94
commit
226546091b
3 changed files with 5 additions and 6 deletions
5
Cargo.lock
generated
5
Cargo.lock
generated
|
|
@ -505,16 +505,15 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|||
|
||||
[[package]]
|
||||
name = "check-if-email-exists"
|
||||
version = "0.8.31"
|
||||
version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1b74f5e56368dbd5fa1432e854c6dc883b2c5c17ca4212069c3f7c5278f4c288"
|
||||
checksum = "bce0a060f3c32a2a609ed1ca38d2d8afdbfd03dc87de8d29124da6e09dfe2cec"
|
||||
dependencies = [
|
||||
"async-native-tls",
|
||||
"async-recursion",
|
||||
"async-smtp",
|
||||
"async-std",
|
||||
"async-std-resolver",
|
||||
"futures",
|
||||
"log",
|
||||
"mailchecker",
|
||||
"rand 0.8.5",
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ repository = "https://github.com/lycheeverse/lychee"
|
|||
version = "0.10.1"
|
||||
|
||||
[dependencies]
|
||||
check-if-email-exists = "0.8.31"
|
||||
check-if-email-exists = "0.9.0"
|
||||
fast_chemail = "0.9.6"
|
||||
glob = "0.3.0"
|
||||
http = "0.2.8"
|
||||
|
|
|
|||
|
|
@ -550,8 +550,8 @@ impl Client {
|
|||
|
||||
/// Check a mail address, or equivalently a `mailto` URI.
|
||||
pub async fn check_mail(&self, uri: &Uri) -> Status {
|
||||
let input = CheckEmailInput::new(vec![uri.as_str().to_owned()]);
|
||||
let result = &(check_email(&input).await)[0];
|
||||
let input = CheckEmailInput::new(uri.as_str().to_owned());
|
||||
let result = &(check_email(&input).await);
|
||||
|
||||
if let Reachable::Invalid = result.is_reachable {
|
||||
ErrorKind::UnreachableEmailAddress(uri.clone(), mail::error_from_output(result)).into()
|
||||
|
|
|
|||
Loading…
Reference in a new issue