Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bodo-hugo-barwich/actix-alerting-email
Email Sending Micro Service
https://github.com/bodo-hugo-barwich/actix-alerting-email
actix-web lettre rust
Last synced: 11 days ago
JSON representation
Email Sending Micro Service
- Host: GitHub
- URL: https://github.com/bodo-hugo-barwich/actix-alerting-email
- Owner: bodo-hugo-barwich
- Created: 2022-03-10T12:40:00.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-09T06:52:25.000Z (8 months ago)
- Last Synced: 2024-03-09T07:37:23.116Z (8 months ago)
- Topics: actix-web, lettre, rust
- Language: Rust
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Automated Actix Tests](https://github.com/bodo-hugo-barwich/actix-alerting-email/actions/workflows/testing.yml/badge.svg)](https://github.com/bodo-hugo-barwich/actix-alerting-email/actions/workflows/testing.yml)
# NAME
Email Alerting Micro Service Component
# DESCRIPTION
This service provides Email Sending as _HTTP API_.
# REQUIREMENTS
To rebuild this web site the **Minimum Rust Compiler Version** is _Rust_ `1.49`.
The site uses the libraries `Actix`, `Serde` and `json-rust`.
The _Actix_ Web Server requires the `Tokio` library.
The Server Responses are provided as `JSON` documents.# INSTALLATION
- cargo
The `cargo` Command will install the dependencies on local user level as they
are found in the `Cargo.toml` file.# EXECUTION
- `cargo run`
The Site can be launched using the `cargo run` Command.
To launch the Site call the `cargo run` Command within the project directory:cargo run
# IMPLEMENTATION
- Actor Model
To not block the server main thread too long and to enable asynchronous request processing
the `Actor` trait of _Actix_ and `Future`s are used.