#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.

34 releases (16 stable)

new 2.13.0 Apr 13, 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 139/week @ 2024-12-25 66/week @ 2025-01-01 92/week @ 2025-01-08 161/week @ 2025-01-15 93/week @ 2025-01-22 75/week @ 2025-01-29 146/week @ 2025-02-05 213/week @ 2025-02-12 238/week @ 2025-02-19 172/week @ 2025-02-26 520/week @ 2025-03-05 323/week @ 2025-03-12 104/week @ 2025-03-19 200/week @ 2025-03-26 664/week @ 2025-04-02 277/week @ 2025-04-09

1,295 downloads per month
Used in 70 crates (via former)

MIT license

460KB
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