Skip to content

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

fix: Don't use virtual workspace, be able to build (#59)

Amaury Martiny6c9389327348
diff --git a/Cargo.lock b/Cargo.lock
index 27c2106c..419f76d9 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.0"
+version = "0.3.1"
dependencies = [
- "check_if_email_exists_core 0.3.0",
+ "check_if_email_exists_core 0.3.1",
"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.0"
+version = "0.3.1"
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.0"
+version = "0.3.1"
dependencies = [
- "check_if_email_exists_core 0.3.0",
+ "check_if_email_exists_core 0.3.1",
"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 567335a5..c6481253 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,20 @@
+[package]
+name = "check_if_email_exists"
+version = "0.3.1"
+authors = ["Amaury Martiny <[email protected]>"]
+description = "Check if an email address exists without sending any email"
+edition = "2018"
+publish = false
+
+[dependencies]
+check_if_email_exists_core = { path = "core" }
+clap = { version = "2.32", features = ["yaml"] }
+env_logger = "0.6"
+serde = "1.0"
+serde_json = "1.0"
+
[workspace]
members = [
- "cli",
"core",
"serverless"
]
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
deleted file mode 100644
index 78d2062e..00000000
--- a/cli/Cargo.toml
+++ /dev/null
@@ -1,15 +0,0 @@
-[package]
-name = "check_if_email_exists"
-version = "0.3.0"
-authors = ["Amaury Martiny <[email protected]>"]
-default-run = "check_if_email_exists"
-description = "Check if an email address exists without sending any email"
-edition = "2018"
-publish = false
-
-[dependencies]
-check_if_email_exists_core = { path = "../core" }
-clap = { version = "2.32", features = ["yaml"] }
-env_logger = "0.6"
-serde = "1.0"
-serde_json = "1.0"
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 40260a3d..a33f6bc8 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "check_if_email_exists_core"
-version = "0.3.0"
+version = "0.3.1"
authors = ["Amaury Martiny <[email protected]>"]
description = "Check if an email address exists without sending any email"
edition = "2018"
diff --git a/serverless/Cargo.toml b/serverless/Cargo.toml
index 9d3133a7..8d73bc56 100644
--- a/serverless/Cargo.toml
+++ b/serverless/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "check_if_email_exists_serverless"
-version = "0.3.0"
+version = "0.3.1"
authors = ["Amaury Martiny <[email protected]>"]
description = "Check if an email address exists without sending any email"
edition = "2018"
diff --git a/cli/src/cli.yml b/src/cli.yml
similarity index 95%
rename from cli/src/cli.yml
rename to src/cli.yml
index 4b235654..8e0ff73a 100644
--- a/cli/src/cli.yml
+++ b/src/cli.yml
@@ -1,5 +1,5 @@
name: check_if_email_exists
-version: '0.3.0'
+version: '0.3.1'
author: Amaury Martiny <[email protected]>
about: Check if an email address exists without sending any email.
args:
diff --git a/cli/src/main.rs b/src/main.rs
similarity index 100%
rename from cli/src/main.rs
rename to src/main.rs