Currently cornfig::parse returns the a tree of parsed values which isn't super useful for library use. A serde::Deserializer implementation should be written to attempt to deserialize into structs.
It's possible to serialize the Corn output using serde then deserialize it again, but this comes with a lot of overhead and requires shipping another format library.
Currently
cornfig::parse
returns the a tree of parsed values which isn't super useful for library use. Aserde::Deserializer
implementation should be written to attempt to deserialize into structs.It's possible to serialize the Corn output using serde then deserialize it again, but this comes with a lot of overhead and requires shipping another format library.