#builder-pattern #fundamental #general-purpose #macro-derive

macro former_meta

A flexible implementation of the Builder pattern supporting nested builders and collection-specific subformers. Implementation of its derive macro. Should not be used independently, instead use module::former which relies on the module.

32 releases (14 stable)

2.11.0 Oct 30, 2024
2.9.0 Sep 5, 2024
2.7.0 Jul 13, 2024
1.1.0 May 14, 2024
0.1.9 Jan 18, 2022

#62 in #builder-pattern

Download history 768/week @ 2024-07-29 248/week @ 2024-08-05 1560/week @ 2024-08-12 1098/week @ 2024-08-19 2829/week @ 2024-08-26 1871/week @ 2024-09-02 1918/week @ 2024-09-09 386/week @ 2024-09-16 332/week @ 2024-09-23 495/week @ 2024-09-30 419/week @ 2024-10-07 437/week @ 2024-10-14 224/week @ 2024-10-21 816/week @ 2024-10-28 1100/week @ 2024-11-04 297/week @ 2024-11-11

2,478 downloads per month
Used in 69 crates (via former)

MIT license

450KB
9K SLoC

Module :: former_meta

experimental rust-status docs.rs discord

A flexible implementation of the Builder pattern supporting nested builders and collection-specific subformers. Implementation of its derive macro. Should not be used independently, instead use module::former which relies on the module.

Not intended to be used without runtime. This module and runtime is aggregate in module::former is here.

To add to your project

cargo add former_meta

Dependencies

~1.2–1.8MB
~35K SLoC