Another framework that helps us create a microservice very simply is nickel. In terms of the design of its handlers, it's very similar to hyper, but it's synchronous.
Nickel
Creating a microservice
Let's create a service that sends emails to any address. This microservice will also build the email's body content from a template. To start with, we have to add the necessary dependencies to start a server instance.
Bootstrapping a server
To write a mailer microservice, we need two dependencies: the nickel crate and the lettre crate. The...