https://github.com/tato/sometoml
a little bit of toml for you
https://github.com/tato/sometoml
toml zig
Last synced: over 1 year ago
JSON representation
a little bit of toml for you
- Host: GitHub
- URL: https://github.com/tato/sometoml
- Owner: tato
- License: bsd-2-clause
- Created: 2022-08-18T08:08:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-29T02:54:18.000Z (over 3 years ago)
- Last Synced: 2024-10-24T16:50:34.867Z (over 1 year ago)
- Topics: toml, zig
- Language: Zig
- Homepage:
- Size: 199 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README

### sometoml
- is a toml v1.0.0 library for zig
- supports serialization and deserialization
- is still in early stages
### not yet implemented
- date types
- good error reporting
### also planned
- deserializing into arbitrary zig structs
- customizable serializing and deserializing
- and then, who knows???
### how to use it
- `git submodule add https://github.com/tato/sometoml`
- `exe.addPackagePath("toml", "sometoml/toml.zig");`
- `const toml = @import("toml");`
- `const doc = toml.parse(allocator, reader);`
🙌