use ini::Ini;
fn main() {
let tmp = Ini::load_from_str(
r#"
"[options]
PgpFetch
DevelSuffixes = -git"#,
);
println!("{tmp:?}");
}
Currently what it returns: Ok(Ini { sections: {None: Properties { data: {"\"[options]\nPgpFetch\nDevelSuffixes": "-git"} }} }).
The first line doesn't contains =, I think it should returns error rather than return a property key which contains \n.
given the following example:
Currently what it returns:
Ok(Ini { sections: {None: Properties { data: {"\"[options]\nPgpFetch\nDevelSuffixes": "-git"} }} })
. The first line doesn't contains=
, I think it should returns error rather than return a property key which contains\n
.