Package documentation
tome
1.0.0tome
A TOML 1.0 parser for Pooka.
pooka add tome
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.