#actix-web #web-apps #web-framework #error #error-response #rest #pagination

actix-contrib-rest

Util types and functions for REST and webapp projects built on top of the Actix Web framework

9 releases (5 breaking)

0.6.0 Nov 4, 2024
0.5.0 Jul 12, 2024
0.4.1 Dec 24, 2023
0.3.1 Sep 27, 2023
0.1.1 Aug 27, 2023

#2184 in Web programming

MIT/Apache

37KB
356 lines

actix-contrib-rest

Util types and functions for REST and webapp projects built on top of the Actix Web framework.

It does include structs and methods to:

  • ⚠️ Managing errors.
  • 📣 Properly serialize errors, with a JSON response explaining the reason.
  • 📄 Pagination and query search structs.
  • 🛢 Basic types for managing DB connections and transactions (sqlx-postgres feature).
  • ✅ Basic methods to easily deals with streams and integration tests.

Check the 📖 docs at https://docs.rs/actix-contrib-rest/.

(❗️) This project is in a very early stage.

About

Project Home: https://github.com/mrsarm/rust-actix-contrib-rest.

Authors

  • Mariano Ruiz (mrsarm at gmail.com).

License

This project is licensed under either of the following licenses, at your option:

Dependencies

~21–37MB
~668K SLoC