4
4
Fork
You've already forked hare-toml
2
A hare library for parsing TOML documents.
  • Hare 98.8%
  • Ruby 0.8%
  • Makefile 0.4%
Find a file
2025年08月16日 10:02:59 -07:00
example Update for hare 0.25.2 and remove webdocs 2025年06月21日 14:51:29 -04:00
toml Update for hare 0.25.2 and remove webdocs 2025年06月21日 14:51:29 -04:00
toml_test Skip failed tests 2025年08月16日 10:02:59 -07:00
tools Skip failed tests 2025年08月16日 10:02:59 -07:00
.gitignore Update for hare 0.25.2 and remove webdocs 2025年06月21日 14:51:29 -04:00
LICENSE Update copyright 2024年07月06日 18:31:51 -04:00
Makefile Fix the install script 2023年12月12日 14:52:27 -05:00
README.md Skip failed tests 2025年08月16日 10:02:59 -07:00

hare-toml, version 0.2.1

This package implements the TOML format for Hare, version 1.0.0.

Installation

System-wide installation

# make install

Vendoring

$ git subtree -P vendor/hare-toml/ add https://codeberg.org/lunacb/hare-toml master

Usage

See the documented source code with haredoc toml. There's an example program that shows how you can validate and process a TOML configuration. It can be run with hare run ./example.

Running the tests

hare-toml is tested both by internal tests and by the toml-test suite. The make check command runs all tests. For just the internal ones you can run make check_local.

The test data is located at toml_test/vendor/, and can be updated from the root directory of this repository with:

$ toml-test -toml 1.0.0 -copy toml_test/vendor/

The tests themselves are performed with auto-generated Hare source files that can be generated with tools/generate_tests.rb.