Skip to content

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

chore(backend): Update crate version to 0.7.0

Amaury75ba303efeca
diff --git a/.sqlx/query-eeeb6284425ee44f380991494e11cc67e808dde9d5b15aadc6c5ec993cbdc7fe.json b/.sqlx/query-eeeb6284425ee44f380991494e11cc67e808dde9d5b15aadc6c5ec993cbdc7fe.json
deleted file mode 100644
index 9784b281..00000000
--- a/.sqlx/query-eeeb6284425ee44f380991494e11cc67e808dde9d5b15aadc6c5ec993cbdc7fe.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n\t\tINSERT INTO email_results (email, is_reachable, full_result)\n\t\tVALUES ($1, $2, $3)\n\t\tRETURNING id\n\t\t",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Varchar",
- "Jsonb"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "eeeb6284425ee44f380991494e11cc67e808dde9d5b15aadc6c5ec993cbdc7fe"
-}
diff --git a/Cargo.lock b/Cargo.lock
index ec96ebbd..39f3bb51 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1510,7 +1510,7 @@ dependencies = [
[[package]]
name = "reacher_backend"
-version = "0.5.0"
+version = "0.7.0"
dependencies = [
"async-smtp",
"check-if-email-exists",
diff --git a/backend/Cargo.toml b/backend/Cargo.toml
index 2861ceb6..c029e5de 100644
--- a/backend/Cargo.toml
+++ b/backend/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "reacher_backend"
-version = "0.5.0"
+version = "0.7.0"
edition = "2018"
license = "AGPL-3.0"
publish = false
diff --git a/backend/migrations/20231227103745_init.sql b/backend/migrations/20231227103745_init.sql
deleted file mode 100644
index b548cc8a..00000000
--- a/backend/migrations/20231227103745_init.sql
+++ /dev/null
@@ -1,8 +0,0 @@
--- Add migration script here
-CREATE TABLE email_results (
- id SERIAL NOT NULL PRIMARY KEY,
- email TEXT NOT NULL,
- is_reachable VARCHAR(10) NOT NULL,
- full_result jsonb NOT NULL,
- created_at TIMESTAMPTZ DEFAULT NOW()
-);
\ No newline at end of file
diff --git a/backend/migrations/README.md b/backend/migrations/README.md
deleted file mode 100644
index c7b70443..00000000
--- a/backend/migrations/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Database and Migrations
-
-## Migrations
-
-All migrations in this folder are embedded directly in the `reacher_backend` binary, so you don't need to run the migrations manually.
-
-## Advanced Usage
-
-For more advanced usage (such as reverting to an old state), please use the `sqlx` CLI command.
-
-See https://github.com/launchbadge/sqlx/blob/main/sqlx-cli/README.md