Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

fix(core): SyntaxError also is type & message (#60)

Amaury Martiny996633b1ccde
diff --git a/Cargo.lock b/Cargo.lock
index 419f76d9..7a72c7f2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -119,9 +119,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "check_if_email_exists"
-version = "0.3.1"
+version = "0.3.2"
dependencies = [
- "check_if_email_exists_core 0.3.1",
+ "check_if_email_exists_core 0.3.2",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -130,7 +130,7 @@ dependencies = [
[[package]]
name = "check_if_email_exists_core"
-version = "0.3.1"
+version = "0.3.2"
dependencies = [
"lettre 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -144,9 +144,9 @@ dependencies = [
[[package]]
name = "check_if_email_exists_serverless"
-version = "0.3.1"
+version = "0.3.2"
dependencies = [
- "check_if_email_exists_core 0.3.1",
+ "check_if_email_exists_core 0.3.2",
"lambda_http 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"lambda_runtime 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/Cargo.toml b/Cargo.toml
index c6481253..5ea335e1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "check_if_email_exists"
-version = "0.3.1"
+version = "0.3.2"
authors = ["Amaury Martiny <[email protected]>"]
description = "Check if an email address exists without sending any email"
edition = "2018"
diff --git a/core/Cargo.toml b/core/Cargo.toml
index a33f6bc8..a86b5e73 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "check_if_email_exists_core"
-version = "0.3.1"
+version = "0.3.2"
authors = ["Amaury Martiny <[email protected]>"]
description = "Check if an email address exists without sending any email"
edition = "2018"
diff --git a/core/src/syntax.rs b/core/src/syntax.rs
index 6a9751e6..736085a6 100644
--- a/core/src/syntax.rs
+++ b/core/src/syntax.rs
@@ -34,7 +34,7 @@ pub struct SyntaxDetails {
}
#[derive(Debug, Serialize)]
-// #[serde(tag = "type", content = "message")]
+#[serde(tag = "type", content = "message")]
pub enum SyntaxError {
#[serde(serialize_with = "ser_with_display")]
SyntaxError(LettreError),
diff --git a/serverless/Cargo.toml b/serverless/Cargo.toml
index 8d73bc56..db7b8570 100644
--- a/serverless/Cargo.toml
+++ b/serverless/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "check_if_email_exists_serverless"
-version = "0.3.1"
+version = "0.3.2"
authors = ["Amaury Martiny <[email protected]>"]
description = "Check if an email address exists without sending any email"
edition = "2018"
diff --git a/src/cli.yml b/src/cli.yml
index 8e0ff73a..a357f8bb 100644
--- a/src/cli.yml
+++ b/src/cli.yml
@@ -1,5 +1,5 @@
name: check_if_email_exists
-version: '0.3.1'
+version: '0.3.2'
author: Amaury Martiny <[email protected]>
about: Check if an email address exists without sending any email.
args: