Settle on a proper name, add config template, update Readme.

master
Orville Bennett 9 months ago
parent a45f7ebaee
commit e153d079a2
  1. 16
      Cargo.lock
  2. 4
      Cargo.toml
  3. 5
      README.md
  4. 7
      Rocket.toml.template

16
Cargo.lock generated

@ -248,6 +248,14 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "formulate"
version = "0.3.0"
dependencies = [
"lettre",
"rocket",
]
[[package]]
name = "futures"
version = "0.3.21"
@ -852,14 +860,6 @@ dependencies = [
"yansi",
]
[[package]]
name = "process-form-submission"
version = "0.3.0"
dependencies = [
"lettre",
"rocket",
]
[[package]]
name = "quote"
version = "1.0.15"

@ -1,5 +1,5 @@
[package]
name = "process-form-submission"
name = "formulate"
version = "0.3.0"
edition = "2021"
@ -12,4 +12,4 @@ lettre = { version = "0.10.0-rc.4", features = ["sendmail-transport"] }
[profile.release]
# Works as of rust 1.59.0
# strip = "debuginfo"
# strip = "debuginfo"

@ -1,8 +1,7 @@
# send-contact-form
# Formulate
A rust implementation of a backend server that listens for form data.
The send-contact-form binary will send an email (using built-in sendmail functionality) after successfully receiving form data.
The `formulate` binary will send an email (using built-in sendmail functionality) after successfully receiving form data.
It also responds with a message with appropriate HTTP status codes to indicate success or failure.

@ -0,0 +1,7 @@
[defaults.tls]
certs = "/path/to/fullchain.cer"
key = "/path/to/site.dev.key"
[application]
destination_email = "test@domain.com"
sending_email = "noreply@domain.com"
Loading…
Cancel
Save