Package documentation

tome

1.0.0

By Peregrine Finch

tome

Package Version Hex Docs Tests

A TOML 1.0 parser for Pooka.

sh
pooka add tome
Pooka
import tome

let assert Ok(config) = tome.parse("answer = 42")
assert tome.get(config, "answer") == Some(tome.TInt(42))

Tables retain their written order. Parse failures include a line number. The TOML 1.0 conformance fixtures retain their upstream MIT licence in test/fixtures/toml/.

See the API documentation for the rest.

Licence

Licensed under the Apache License, Version 2.0.