News for hackers. Stuff that matters.
Re:Announcing Rust 1.19 by fnord123 on Thursday July 20, 2017 @07:11PM (#14816978)
I think the derive_builder crate is worth a mention here:

https://docs.rs/derive_builder/0.5.0/derive_builder/

Re:Announcing Rust 1.19 by saghm on Friday July 21, 2017 @03:05PM (#14823030)
The main reason I haven't used derive_builder much is that I'd much rather have a compile-time guarantee that all the field that I want are filled out than have to check for an error at runtime (or worse, just `unwrap/expect` everywhere). I'm not sure there's currently a way around this on stable, but I'd personally prefer writing boilerplate for my types than having to handle errors in places that shouldn't need them.