A Mach library for reading TOML 1.0.
Add the dependency to mach.toml:
[dep.toml]
git = "https://github.com/briar-systems/mach-toml"
ref = "branch/dev"Then bind the library in a source file:
use toml;
toml.parse reads a TOML 1.0 document into a table owned by an allocator, toml.get_* reads values by dotted path, and toml.dnit releases the table.
See CONTRIBUTING.md for building, testing and the contribution rules.