-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
sync: consider using a different TOML parser #187
Comments
I don't really care much about this :) What would be major benefit be of removing this. Compile time? Size?
I think the performance benefit would be so minor that users won't actually notice
Which is nice, but the binary is already very small.
While I could see the use for this, we should first decide how we want to allow maintainers to document decisions regarding tests. |
I don't think it's worth the effort for this. Dependencies are good, not bad. We want to have to maintain less, not more stuff :) So I think we should leave this, at least until we've got everything else done and we launch. Then we can always revist the conversation. |
As we're now actively supporting arbitrary keys in our |
Slow reply, sorry. I'll keep this open for now because we could also consider eventually moving to |
tests.toml
Just while I'm looking through the issues... The situation here is still the same:
|
We don't need to support the entire TOML syntax, just the syntax of:
#
begins a commentsome-uuid = bool
includes/excludes a UUIDUsing our own parser would:
To illustrate the final point, given a
tests.toml
file:And the Nim program:
The output is:
That is, as you might expect, the comments aren't available in the end data structure:
See also:
The text was updated successfully, but these errors were encountered: