colin-kiegel / rust-derive-builder

derive builder implementation for rust structs
https://colin-kiegel.github.io/rust-derive-builder/
Apache License 2.0
1.32k stars 88 forks source link

support suppressing default `Clone` derivation #325

Closed mathstuf closed 4 months ago

mathstuf commented 4 months ago

I'd like to instead use perfect_derive(Clone) than derive(Clone). I can do the former with builder_struct_addr, but this conflicts with the derive(Clone) added by default. A direct dependency on perfect_derive seems excessive, but an escape hatch to do Clone in a different way would be nice.

mathstuf commented 4 months ago

Suppression is more reliable with pattern = "owned" instead.