Email Alerting Micro Service Component
This service provides Email Sending as HTTP API.
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.
- cargo
The cargo
Command will install the dependencies on local user level as they
are found in the Cargo.toml
file.
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
- 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.