Mark the IniDefault struct as non exhaustive, as discussed here: https://github.com/QEDK/configparser-rs/issues/19#issuecomment-941020519
The default values used in Ini::new and Ini::new_cs are moved inside IniDefault::default(), otherwise the workflow to create a new IniDefault and update a few values in it is quite cumbersome.
Mark the IniDefault struct as non exhaustive, as discussed here: https://github.com/QEDK/configparser-rs/issues/19#issuecomment-941020519 The default values used in
Ini::new
andIni::new_cs
are moved insideIniDefault::default()
, otherwise the workflow to create a new IniDefault and update a few values in it is quite cumbersome.