OptionalStruct
OptionalStruct copied to clipboard
Macro copying a struct with Option fields. Useful for config initialization
... so that you can make nested optional structs across different files
I've been using optional_struct without using the macro for over a year because I couldn't get the macro to work properly with my usage of clap. Your recent changes were...
I've been using optional_struct without the macro for over a year. With #30 I could theoretically use the macro instead, but in the intervening year I added a couple of...
Thanks for the very handy library, which has made managing config files in [tenx](https://github.com/cortesi/tenx) much nicer. It would be great to have support for `HashMap` and `Vec` struct attributes, where...
Instead of passing the generated optional struct to the `optional_rename` attribute, I want to pass a custom (non-generated) type. For example: ```rust use optional_struct::{optional_struct, Applicable}; #[optional_struct] #[derive(Clone, Eq, PartialEq, Debug)]...