Working with TOML files

Tom's Obvious, Minimal Language (TOML) is a minimal configuration file format created by Tom Preston-Werner. TOML files serve the same purpose as other configuration formats, for example, the famous INI—although TOML's goal is to be easier to read and easier to parse. YAML and JSON are other very popular configuration formats that you may have encountered. Pkg makes extensive usage of TOML for storing package metadata.

You can read more about TOML, including the full specification, at https://github.com/toml-lang/toml.

A TOML parser for Julia is available at https://github.com/wildart/TOML.jl, but we don't need to explicitly add it as Pkg comes bundled with a TOML parser that we will use instead. But, this means that ...

Get Julia Programming Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.