MyNixOS website logo
Description

TOML for Modern C++

toml11 is a C++11 (or later) header-only toml parser/encoder depending only on C++ standard library.

  • It is compatible to the latest version of TOML v1.0.0.
  • It is one of the most TOML standard compliant libraries, tested with the language agnostic test suite for TOML parsers by BurntSushi.
  • It shows highly informative error messages.
  • It has configurable container. You can use any random-access containers and key-value maps as backend containers.
  • It optionally preserves comments without any overhead.
  • It has configurable serializer that supports comments, inline tables, literal strings and multiline strings.
  • It supports user-defined type conversion from/into toml values.
  • It correctly handles UTF-8 sequences, with or without BOM, both on posix and Windows.
Metadata

Version

3.7.1

License

Maintainers (1)

Platforms (44)

    Darwin
    FreeBSD 13
    Linux
    NetBSD
    OpenBSD
    Redox
    Solaris
    Windows
Show all
  • aarch64-darwin
  • aarch64-linux
  • aarch64-netbsd
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • i686-cygwin
  • i686-darwin
  • i686-freebsd13
  • i686-linux
  • i686-netbsd
  • i686-openbsd
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • powerpc-netbsd
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv32-netbsd
  • riscv64-linux
  • riscv64-netbsd
  • s390-linux
  • s390x-linux
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd13
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris