10 releases

0.3.6 Mar 7, 2025
0.3.5 Nov 6, 2024
0.3.4 Sep 24, 2024
0.3.2 Aug 16, 2024
0.1.0 Feb 10, 2021

#481 in Procedural macros

Download history 191/week @ 2024-12-11 76/week @ 2024-12-18 73/week @ 2024-12-25 6/week @ 2025-01-01 102/week @ 2025-01-08 62/week @ 2025-01-15 51/week @ 2025-01-22 48/week @ 2025-01-29 23/week @ 2025-02-05 17/week @ 2025-02-12 15/week @ 2025-02-19 21/week @ 2025-02-26 149/week @ 2025-03-05 126/week @ 2025-03-12 66/week @ 2025-03-19 28/week @ 2025-03-26

373 downloads per month
Used in 5 crates (3 directly)

MIT license

17KB
374 lines

Despatma

githubcrates-iodocs-rsworkflow

Despatma is a collection of design pattern macros (despatma) born from a Honours project. 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:

Next up for investigation is:

  • Decorator
  • Proxy
  • Adapter
  • Mediator
  • Observer
  • A smarter Visitor

Dependencies

~205–630KB
~15K SLoC