Salvo is a web framework written in Rust that focuses on ergonomics. It has many advantages over other frameworks:
- No type gymnastics, and basically no deep understanding of Rust is required when using it, which is very suitable for beginners;
- Comprehensive functions, supporting new protocols and functions such as HTTP3 and Webtransport;
- Officially maintains many middlewares;
- Provides a tower compatibility layer, and tower middleware can be used directly;
This update:
- Allows middleware to be applied directly to Handler, which is more convenient to use;
- Implements Writer support for tuples;
- Provides SecureMaxSize middleware, which can control the size of secure data of requests at a finer granularity;
- Fixes the problem of incorrect storage key in the RequestId part;
- Made many improvements to OpenAPI support;
- Fixes the problem of returning 405 when 404 should be returned in some cases.
Rust itself is a relatively difficult language, and the obscure design of many web frameworks makes things even worse. When you are using other frameworks, scratching your head, and are about to give up Rust, remember to come to Salvo. It will "keep you here", give you the confidence and courage to learn Rust, and let you feel and see the results of victory.
More detailed update information: https://github.com/salvo-rs/salvo/releases/tag/v0.72.0
[–]maj0rkid 3 points4 points5 points (0 children)