Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
Rust emailemail-validationemail-validation-apiemail-verificationemail-verification-apiemail-verifierhacktoberfest
fix(ci): Put lto flag in cargo.toml (#531)
Amaury Martiny00cbc1fd4674
diff --git a/Cargo.lock b/Cargo.lockindex 7043040f..e63aea29 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -268,7 +268,7 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"[[package]]name = "check-if-email-exists"-version = "0.8.12"+version = "0.8.13"dependencies = ["async-smtp","async-std-resolver",@@ -286,7 +286,7 @@ dependencies = [[[package]]name = "check-if-email-exists-cli"-version = "0.8.12"+version = "0.8.13"dependencies = ["check-if-email-exists","clap",@@ -299,7 +299,7 @@ dependencies = [[[package]]name = "check-if-email-exists-test-suite"-version = "0.8.12"+version = "0.8.13"dependencies = ["check-if-email-exists","serde",diff --git a/Cargo.toml b/Cargo.tomlindex b04537a6..8198073f 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -1,6 +1,6 @@[package]name = "check-if-email-exists-cli"-version = "0.8.12"+version = "0.8.13"default-run = "check_if_email_exists"edition = "2018"license = "AGPL-3.0"@@ -19,6 +19,9 @@ serde = "1.0"serde_json = "1.0"tokio = { version = "0.2", features = ["macros", "tcp", "dns", "io-util"] }+[profile.release]+lto = true+[workspace]members = ["core",diff --git a/Dockerfile b/Dockerfileindex aea467b5..946f2ef8 100644--- a/Dockerfile+++ b/Dockerfile@@ -3,7 +3,7 @@ FROM alpine# `ciee` stands for check-if-email-existsWORKDIR /ciee# Fetch latest version-ENV CIEE_VERSION 0.8.12+ENV CIEE_VERSION 0.8.13# Install needed librariesRUN apk update && \diff --git a/README.md b/README.mdindex 817d3fc9..51ac41d6 100644--- a/README.md+++ b/README.md@@ -93,7 +93,7 @@ Head to the [releases page](https://github.com/amaurymartiny/check-if-email-exis```> $ check_if_email_exists --help-check_if_email_exists 0.8.12+check_if_email_exists 0.8.13Check if an email address exists without sending any email.USAGE:diff --git a/appveyor.yml b/appveyor.ymlindex e79845a9..18027dfe 100644--- a/appveyor.yml+++ b/appveyor.yml@@ -54,7 +54,7 @@ test_script:before_deploy:# TODO Update this to build the artifacts that matter to you- - cargo rustc --target %TARGET% --release --bin %BIN_NAME% -- -C lto+ - cargo rustc --target %TARGET% --release --bin %BIN_NAME%- ps: ci\before_deploy.ps1deploy:diff --git a/ci/before_deploy.sh b/ci/before_deploy.shindex e897710d..aed6bea8 100755--- a/ci/before_deploy.sh+++ b/ci/before_deploy.sh@@ -18,7 +18,7 @@ main() {test -f Cargo.lock || cargo generate-lockfile# TODO Update this to build the artifacts that matter to you- cross rustc --bin check_if_email_exists --target $TARGET --release -- -C lto+ cross rustc --bin check_if_email_exists --target $TARGET --release# TODO Update this to package the right artifactscp target/$TARGET/release/check_if_email_exists $stage/diff --git a/core/Cargo.toml b/core/Cargo.tomlindex 8931f88d..1ddedfb6 100644--- a/core/Cargo.toml+++ b/core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "check-if-email-exists"-version = "0.8.12"+version = "0.8.13"authors = ["Amaury Martiny <[email protected]>"]categories = ["email"]description = "Check if an email address exists without sending any email"diff --git a/test_suite/Cargo.toml b/test_suite/Cargo.tomlindex 9d363fea..9f82471f 100644--- a/test_suite/Cargo.toml+++ b/test_suite/Cargo.toml@@ -1,6 +1,6 @@[package]name = "check-if-email-exists-test-suite"-version = "0.8.12"+version = "0.8.13"edition = "2018"publish = false