Currently many operations in this utility operate at the file level, directly appending strings and bytes. We'll get better results with higher-level abstractions: never directly appending to Config.toml, for example, but using a toml-parsing crate instead. Likewise, writing the tests file will be much easier using a template system like handlebars. Note that this mention of handlebars isn't a requirement to use that particular crate, just an example of a plausible templating engine.
It is not necessary to implement this before #679 or #686, but those issues will probably be easier to fix after the fix for this has been implemented.
Currently many operations in this utility operate at the file level, directly appending strings and bytes. We'll get better results with higher-level abstractions: never directly appending to
Config.toml, for example, but using a toml-parsing crate instead. Likewise, writing the tests file will be much easier using a template system likehandlebars. Note that this mention of handlebars isn't a requirement to use that particular crate, just an example of a plausible templating engine.It is not necessary to implement this before #679 or #686, but those issues will probably be easier to fix after the fix for this has been implemented.