From 0ead4c077a0c06e1bf5a05508c5c0800c79b483b Mon Sep 17 00:00:00 2001 From: Jimmy Stridh Date: Wed, 18 Mar 2026 17:02:12 +0100 Subject: [PATCH 1/2] chore(spec): sync TOON spec fixtures to v3.0.3 --- README.md | 4 ++-- crates/toon/README.md | 2 +- spec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 716fafb..5db1af2 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ TOON automatically detects when arrays contain uniform objects and renders them - Path expansion — Decode dotted keys back into nested structures - DateTime support — Native `chrono` integration (optional feature) - Powerful CLI — Standalone tool for JSON ↔ TOON conversion -- Spec conformant — Full v3.0 test suite (345/345 tests passing) +- Spec conformant — Full v3.0.3 test suite (358/358 tests passing) - Configurable delimiters — Use comma (default), tab, or pipe - Configurable indentation — Custom indent size (default: 2 spaces) - No-std support — Works in embedded environments (with `alloc`) @@ -344,7 +344,7 @@ toon-rs/ ## Specification -This implementation follows the [official TOON v3.0 specification](https://github.com/toon-format/spec/blob/main/SPEC.md) with extensive conformance testing (345/345 tests passing). Key features: +This implementation follows the [official TOON v3.0 specification](https://github.com/toon-format/spec/blob/main/SPEC.md) with extensive conformance testing (358/358 tests passing). Key features: - **Line-oriented**: Each logical token on its own line (or tabular row) - **Indentation-based**: Configurable indentation (default: 2 spaces) diff --git a/crates/toon/README.md b/crates/toon/README.md index 72d6cb6..c565525 100644 --- a/crates/toon/README.md +++ b/crates/toon/README.md @@ -49,7 +49,7 @@ assert_eq!(user, back); ## Conformance - Initialize fixtures: `git submodule update --init --recursive` - Run: `TOON_CONFORMANCE=1 cargo test -p toon-rs --tests` -- Status: 349/349 tests passing (encode: 147, decode: 202) +- Status: 358/358 tests passing (encode: 150, decode: 208) ## License MIT diff --git a/spec b/spec index 57d713a..377a11c 160000 --- a/spec +++ b/spec @@ -1 +1 @@ -Subproject commit 57d713a8bc58cd3a00f00482e406fed06f5749b9 +Subproject commit 377a11cbf5552b0a217a5ae5fffb4e1153ef42d6 From 0bab1582fc41c62033a63fa534c539c9e2d91222 Mon Sep 17 00:00:00 2001 From: Jimmy Stridh Date: Wed, 18 Mar 2026 17:27:39 +0100 Subject: [PATCH 2/2] docs: clarify spec version vs fixture release --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5db1af2..03f2b66 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ TOON automatically detects when arrays contain uniform objects and renders them - Path expansion — Decode dotted keys back into nested structures - DateTime support — Native `chrono` integration (optional feature) - Powerful CLI — Standalone tool for JSON ↔ TOON conversion -- Spec conformant — Full v3.0.3 test suite (358/358 tests passing) +- Spec conformant — Full conformance suite from spec release v3.0.3 (358/358 tests passing) - Configurable delimiters — Use comma (default), tab, or pipe - Configurable indentation — Custom indent size (default: 2 spaces) - No-std support — Works in embedded environments (with `alloc`) @@ -344,7 +344,7 @@ toon-rs/ ## Specification -This implementation follows the [official TOON v3.0 specification](https://github.com/toon-format/spec/blob/main/SPEC.md) with extensive conformance testing (358/358 tests passing). Key features: +This implementation follows the [official TOON v3.0 specification](https://github.com/toon-format/spec/blob/main/SPEC.md) with extensive conformance testing against the v3.0.3 fixture release (358/358 tests passing). Key features: - **Line-oriented**: Each logical token on its own line (or tabular row) - **Indentation-based**: Configurable indentation (default: 2 spaces)