Re:Jiff: A brand new Datetime library for Rust, from the aut...
by steveklabnik on Tuesday July 23, 2024 @01:12PM
(#41048460)
Yeah, full agreement here. I almost said something along the lines of "it's almost like extending #[derive(Default)] with serde-like attributes to control which fields get what defaults, but with nicer syntax," but got a little lazy with it since we're in agreement anyway. It is annoying that deriving Default is all or nothing.
I didn't even think about the builder thing, but you're right there too.
I didn't even think about the builder thing, but you're right there too.