Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow absence of [modules] in TOML file. #66

Merged
merged 1 commit into from
Sep 20, 2020

Conversation

ijackson
Copy link
Contributor

@ijackson ijackson commented Sep 5, 2020

Hi. Thanks for this crate.

I found it odd that a completely empty log spec file was not valid. The [modules] table is required, even though it can be empty - and in many configurations it is not needed.

This very small change improves this.

Making the modules field of LogSpecification an Option allows it to be
omitted entirely.  This makes an empty log spec TOML valid.

Signed-off-by: Ian Jackson <[email protected]>
@emabee emabee merged commit 0bfd3c7 into emabee:master Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants