auto-builder 0.2.0

A derive macro to implement the builder pattern for any struct
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# auto-builder

This crate provides a derive macro that implements the builder pattern for any struct.

```rs
#[derive(Builder)]
struct Foo {           
    a: i32,
    b: Option<i32>,
 }

let foo = FooBuilder::new().a(1).b(Some(2)).build();
assert!(foo.is_ok());

```