1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! # emailvalidation-rs
//!
//! The [Emailvalidation][emailvalidation] crate provides an easy to use wrapper over the
//! [emailvalidation api][emailvalidation_api].
//!
//! * Easy to use
//! * Async api calls with [reqwest][reqwest]
//! * Ready deserialized structs of the emailvalidation responses
//! * Manages authentication for you, just pass your api token once
//!
//! ## Requirements
//! * Your own [emailvalidation api key][emailvalidation_api]
//! * Async runtime configured e.g. [tokio][tokio]
//!
//!
//!
//! ## Examples
//!
//!
//! ## Optional Features
//!
//!
//! ## Troubleshooting
//! If you get a ResponseParsingError during usage of the crate this is very likely
//! due to an invalid input where the emailvalidation api will throw an error or
//! due to some unexpected values that were returned by the api. E.g. sometimes the api
//! will return `false` instead of a number for certain fields or other fields were missing.
//!
//! In this case please check if your input is valid and if so create a bug report on the
//! crate [repository][emailvalidation_rs_repo] and provide some information about your input.
//!
//! [emailvalidation]: ./api/struct.Emailvalidation.html
//! [emailvalidation_rs_repo]: https://github.com/everapihq/emailvalidation-rs
//! [emailvalidation_api]: https://api.emailvalidation.com/
//! [reqwest]: https://crates.io/crates/reqwest
//! [tokio]: https://crates.io/crates/tokio
extern crate serde;
extern crate reqwest;
extern crate serde_json;
extern crate strum;
extern crate thiserror;
pub use Emailvalidation;
pub use EmailvalidationError as Error;