This document outlines the development roadmap for mojo-toml.
- ✅ Proper dotted key support
- ✅ Duplicate key detection
- ✅ Enhanced error messages with line/column context
- ✅ Named type constants (replaced magic numbers)
- ✅ Parser.reset() method for reusability
- ✅ Test reorganisation (96 tests across 10 files)
- ✅ Performance benchmarks and documentation
- ✅ Full nested table structures
- ✅ Dotted table headers
[a.b.c] - ✅ Proper Dict navigation
- ✅ 79 tests passing
Skipped - jumped directly to v0.2.0 after community feedback enabled nested tables.
- ✅ Array of tables:
[[section]]with full nesting - ✅ Hex/Octal/Binary integers:
0xDEAD,0o755,0b1101 - ✅ TOML writer with round-trip support
- ✅ Partial TOML 1.1:
\xHHand\eescape sequences - ✅ Comprehensive benchmark system with machine info
- ✅ 168 tests passing (127 parser + 41 writer)
- ✅ Complete TOML writer implementation
- ✅ String escaping and formatting
- ✅ Array and table serialisation
- ✅ Round-trip fidelity (parse → write → parse)
- ✅ 137 tests passing
Target: Q1 2026
Features:
- Multiline inline tables with trailing commas
- Optional seconds in datetime/time values
- Complete TOML 1.1 compliance
Estimated Effort: 3-5 days
Target: Q2 2026
Features:
-
Deserializabletrait for struct conversion -
Serializabletrait for struct serialisation - Example implementations and patterns
- Documentation for manual struct mapping
Estimated Effort: 3-5 days
See REFLECTION_SERIALIZATION.md for analysis.
Target: TBD (Blocked on Mojo reflection maturity)
Features:
- Automatic serialisation:
from_toml[T](str) - Automatic deserialisation:
to_toml(struct) - Type-safe config loading without manual mapping
- Nested struct support
Blockers:
- Runtime field value access in Mojo reflection
- Stable reflection API
- Dynamic struct construction
Status: Tracking Mojo stdlib development. See REFLECTION_SERIALIZATION.md.
Estimated Effort: 7-10 days (after blockers resolved)
- GitHub releases
- modular-community conda channel
- Official Mojo package registry (when available)
- README with examples
- API documentation
- Performance documentation
- Tutorial series
- Video walkthroughs
- Example applications showcase
- Integration with popular Mojo projects
- Contributor guidelines
- Code of conduct
- Comprehensive test suite (96 tests)
- Real-world file parsing
- TOML spec compliance test suite
- Fuzzing tests
- Property-based testing
See specific version plans for areas where contributions would be most valuable. Current priority is v0.4.0 (TOML 1.0 compliance).
For implementation details, see:
- TOML_WRITER_DESIGN.md - Writer implementation
- PERFORMANCE.md - Performance characteristics
- TEST_ORGANIZATION.md - Test structure
We follow Semantic Versioning:
- Major (1.0.0): Breaking API changes
- Minor (0.x.0): New features, backward compatible
- Patch (0.0.x): Bug fixes
Current pre-1.0 status indicates the API may still evolve based on community feedback.