#actix-web #web-framework #web-apps #rest #error #query #top

actix-contrib-rest

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

8 releases (4 breaking)

0.5.0 Jul 12, 2024
0.4.1 Dec 24, 2023
0.3.1 Sep 27, 2023
0.2.0 Aug 30, 2023
0.1.1 Aug 27, 2023

#32 in #top

Download history 11/week @ 2024-03-31 4/week @ 2024-05-19 1/week @ 2024-05-26 1/week @ 2024-06-30 82/week @ 2024-07-07 17/week @ 2024-07-14

100 downloads per month

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

~20–35MB
~631K SLoC