idanarye / rust-typed-builder

Compile-time type-checked builder derive
https://crates.io/crates/typed-builder
Apache License 2.0
904 stars 52 forks source link

Allow specifying custom derives on all generated builder variants #144

Open Niedzwiedzw opened 3 months ago

Niedzwiedzw commented 3 months ago

when generating a builder for a struct like

struct Foo {
    foo: i32,
    bar: i32
}

I'd like to be able to add my own custom derives to all the intermediate types, so that I can store, serialize and clone the

FooBuilder<(), i32> intermediate builder step