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

56 releases (stable)

new 2.35.0 Nov 7, 2025
2.32.0 Oct 25, 2025
2.21.0 Jul 31, 2025
2.11.0 Oct 30, 2024
0.1.9 Jan 18, 2022

#79 in #general-purpose

Download history 380/week @ 2025-07-19 399/week @ 2025-07-26 664/week @ 2025-08-02 450/week @ 2025-08-09 119/week @ 2025-08-16 264/week @ 2025-08-23 402/week @ 2025-08-30 465/week @ 2025-09-06 247/week @ 2025-09-13 354/week @ 2025-09-20 654/week @ 2025-09-27 189/week @ 2025-10-04 155/week @ 2025-10-11 255/week @ 2025-10-18 468/week @ 2025-10-25 127/week @ 2025-11-01

1,032 downloads per month
Used in 69 crates (via former)

MIT license

1MB
12K SLoC

Contains (rust library, 11KB) liblib.rlib

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.1–1.7MB
~30K SLoC