From 996633b1ccde5dd79ec42001b6d445aa195002ad Mon Sep 17 00:00:00 2001 From: Amaury Martiny Date: Fri, 27 Sep 2019 00:10:30 +0200 Subject: [PATCH] fix(core): SyntaxError also is type & message (#60) * fix: SyntaxError also is type & message * Bump to 0.3.2 --- Cargo.lock | 10 +++++----- Cargo.toml | 2 +- core/Cargo.toml | 2 +- core/src/syntax.rs | 2 +- serverless/Cargo.toml | 2 +- src/cli.yml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 419f76d90..7a72c7f23 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 c64812535..5ea335e11 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 "] description = "Check if an email address exists without sending any email" edition = "2018" diff --git a/core/Cargo.toml b/core/Cargo.toml index a33f6bc81..a86b5e736 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 "] 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 6a9751e6a..736085a68 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 8d73bc564..db7b8570c 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 "] description = "Check if an email address exists without sending any email" edition = "2018" diff --git a/src/cli.yml b/src/cli.yml index 8e0ff73a6..a357f8bbd 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 about: Check if an email address exists without sending any email. args: