Released a TOML library with zero dependencies in Rust.

Published: (March 7, 2026 at 12:38 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Overview

Shiguredo is shifting its development focus from C++ to Rust. As part of this transition, we have implemented various libraries in Rust, and we are now releasing a TOML library.

Features

  • Zero dependencies – the library has no external dependencies.
  • Specification support – compatible with TOML v1.0.0 and v1.1.0.
  • Full test suite compatibility – passes the official toml-test suite with a 100 % score, indicating full compatibility.
  • Fuzzing support – extensive fuzz testing ensures robustness against unexpected inputs.
  • Rewriting functionality – added based on user requests, using the positional‑tracking mechanism from the nojson library.

Implementation Details

  • The library builds on Shiguredo’s internal approach of minimizing dependencies by creating and maintaining our own Rust libraries.
  • Rewriting capabilities were introduced after fixing several identified bugs, leveraging the positional tracking used in the dependency‑free nojson JSON library.

Repository

The source code and documentation are available on GitHub:

https://github.com/shiguredo/toml-rs

0 views
Back to Blog

Related posts

Read more »

I Built a Solana Tip Jar

!Kingfaithohttps://media2.dev.to/dynamic/image/width=50,height=50,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fu...