#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

#63 in #builder-pattern

Download history 1641/week @ 2024-08-14 593/week @ 2024-08-21 3019/week @ 2024-08-28 2938/week @ 2024-09-04 520/week @ 2024-09-11 270/week @ 2024-09-18 261/week @ 2024-09-25 498/week @ 2024-10-02 506/week @ 2024-10-09 384/week @ 2024-10-16 224/week @ 2024-10-23 1107/week @ 2024-10-30 845/week @ 2024-11-06 352/week @ 2024-11-13 448/week @ 2024-11-20 519/week @ 2024-11-27

2,458 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.7MB
~34K SLoC