Flexible implementation for an API or web server. Supports postgres, https, and email sending. Really fast.
cargo run d
cargo run --features email d
Note that the 'd' argument must come after FEATURES flag. See here for more about how features work.
Https defaults to true, which requires key files to be included to compile.
cargo build --release
We serve this via systemd units on AWS ec2 micros. Feel free to fork for your own purpose. Take note that AWS will not actually support the email function on their EC2 intances (unless you can convince them otherwise)
For emailing and https: You need Openssl installed. Please refer here for directions on how openssl-rust searches for Openssl's libs and headers.