Backend Web Framework
Problem
When looking for a web framework for Rust, one of the main challenges is that there are many different options to choose from, each with its own set of features and capabilities
Constraints
Assumptions
Considered Alternatives
- Salvo (faster than Actix but no Diesel integration)
- Xitca (unstable)
- Axum (quite slow)
- Rocket (quite slow)
Decision
We will use Actix Web as the backend web framework for the Permaplant app.
Rationale
Actix Web is a web framework for Rust that is known for its high performance, modular design, and extensibility. Some of the reasons why Actix Web is a good choice for a web project include its focus on scalability and reliability, its support for asynchronous programming, and its rich ecosystem of plugins and extensions: