12 releases
| new 0.3.8 | Dec 7, 2025 |
|---|---|
| 0.3.7 | Nov 17, 2025 |
| 0.3.6 | Mar 7, 2025 |
| 0.3.5 | Nov 6, 2024 |
| 0.1.0 | Feb 10, 2021 |
#1121 in Rust patterns
248 downloads per month
Used in slack-blocks-render
62KB
638 lines
Despatma is a collection of design pattern macros (despatma).
It aims to provide the most common implementations for design patterns at run-time.
This project is still a work in progress. The end goal is to be as Loki is for C++ and more if possible. The following patterns are currently implemented:
- abstract_factory - with the help of [interpolate_traits] macro
- visitor
- dependency_container
lib.rs:
Despatma is a collection of design pattern macros (despatma).
It aims to provide the most common implementations for design patterns at run-time.
This project is still a work in progress. The end goal is to be as Loki is for C++ and more if possible. The following patterns are currently implemented:
- abstract_factory - with the help of interpolate_traits macro
- visitor
- dependency_container
Dependencies
~0.7–1.2MB
~21K SLoC