Files
Narayan Bhat 53aa5ac92d feat(documentation): add polymorphic generate_schema macro (#1183)
Co-authored-by: pixincreate@work <69745008+pixincreate@users.noreply.github.com>
2023-05-19 11:07:54 +00:00
..
2022-11-16 20:37:50 +05:30

router_derive

Utility macros for the router crate.

This crate provides the following macros:

  • #[derive(DebugAsDisplay)]: To use the Debug implementation of a type as its Display implementation.
  • #[derive(DieselEnum)] and #[diesel_enum]: To derive the boilerplate code required to use enums with the diesel crate and a PostgreSQL database.