zig-toml icon indicating copy to clipboard operation
zig-toml copied to clipboard

Zig TOML (v1.0.0) parser

Results 6 zig-toml issues
Sort by recently updated
recently updated
newest added

Parsing optionals fail at runtime when we use ReleaseFast optimization. ```zig const std = @import("std"); const toml = @import("zig-toml"); const Opts = struct { sub: ?Sub, }; const Sub =...

this is an example of toml ```toml [tasks.a] cmd = "echo 123" [tasks.b] cmd = "echo 123" ``` I need a possible way to parse this tasks, I can't predict...

please see the below picture ![Image](https://github.com/user-attachments/assets/906616e4-24d6-482e-9096-8c31884402d1) if move config code to another single code file, not in main entrypoint file, memory not leak any more.

As I am building the serializer, I think we need some sort of way to deal with formatting configuration for the individual fields like which fields need to be serialized...

Seems like it's only done for multi-line basic currently > Multi-line literal strings are surrounded by three single quotes on each side and allow newlines. Like literal strings, there is...

Hello. I am putting together a configuration struct that has a union value as an option. So far, deserializing enums does not work. Like in the example below. ```zig const...