mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
9 lines
362 B
Markdown
9 lines
362 B
Markdown
# `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.
|