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

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

#59 in #general-purpose

Download history 527/week @ 2024-11-16 220/week @ 2024-11-23 926/week @ 2024-11-30 387/week @ 2024-12-07 454/week @ 2024-12-14 106/week @ 2024-12-21 120/week @ 2024-12-28 100/week @ 2025-01-04 79/week @ 2025-01-11 172/week @ 2025-01-18 75/week @ 2025-01-25 117/week @ 2025-02-01 110/week @ 2025-02-08 261/week @ 2025-02-15 254/week @ 2025-02-22 272/week @ 2025-03-01

919 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
~34K SLoC