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

actix-contrib-rest

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

7 unstable releases (3 breaking)

0.4.1 Dec 24, 2023
0.4.0 Dec 24, 2023
0.3.1 Sep 27, 2023
0.2.0 Aug 30, 2023
0.1.1 Aug 27, 2023

#77 in #rest

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–38MB
~650K SLoC