Closed
Description
This is somewhat related to #258
I am thinking about the following usecase: When I have a application where I can define regexes in a config file and the app reads the config on boot, I cannot use serde_derive
with Regex
:
#[derive(Deserialize)]
struct Config {
something: Regex,
}
But it would be nice to have that possibility. What do you think? Or is there a boilerplate-free way around this I do not see right now?