#builder-pattern #former #general-purpose #former-meta

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.

37 releases (19 stable)

2.16.0 Apr 22, 2025
2.11.0 Oct 30, 2024
2.7.0 Jul 13, 2024
1.1.0 May 14, 2024
0.1.9 Jan 18, 2022

#4 in #former

Download history 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 297/week @ 2025-03-01 385/week @ 2025-03-08 288/week @ 2025-03-15 80/week @ 2025-03-22 227/week @ 2025-03-29 699/week @ 2025-04-05 238/week @ 2025-04-12 961/week @ 2025-04-19 302/week @ 2025-04-26

2,243 downloads per month
Used in 70 crates (via former)

MIT license

530KB
10K 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