
Released a TOML library with zero dependencies in Rust.
Shiguredo has begun shifting its development focus from C++ to Rust. As part of this transition, we've been implementing various libraries in Rust, and this time we've released a TOML library. By default, Shiguredo uses the JSONC format when developing applications in Rust. JSONC is an incompatible extension of JSON that allows comments and trailing commas, making it convenient to use. Additionally, the nojson dependency-free JSON library supports it. However, Rust is primarily designed for TOML usage. Despite this, the default library does not include TOML support, and most major TOML libraries have significant dependencies. Therefore, we decided to develop our own TOML implementation with minimized dependencies. shiguredo/toml-rs Dependencies: 0 Supports TOML v1.0.0 and v1.1.0 specifications Compatible with toml-test Fuzzing support Rewriting functionality toml-test is a testing suite officially provided by the TOML project. A score of 100% indicates full compatibility, making this p
Continue reading on Dev.to
Opens in a new tab




