Skip to content

feat: add TOON output format for token-efficient AI processing - #1

Merged
CodingInCarhartts merged 3 commits into
masterfrom
Toon-Functionality
Nov 1, 2025
Merged

feat: add TOON output format for token-efficient AI processing#1
CodingInCarhartts merged 3 commits into
masterfrom
Toon-Functionality

Conversation

@CodingInCarhartts

Copy link
Copy Markdown
Owner
  • Add support for TOON format using rtoon library
  • Implement TOON serialization in formatter with 2-5% token savings for code repositories
  • Update CLI to accept "toon" as valid format option
  • Add comprehensive tests covering TOON formatting and validation
  • Bump version to 0.2.0 and add changelog
  • Update README with TOON format documentation and examples
  • Make formatter functions public for testing purposes
  • Enhance CLI argument validation for output formats
  • Fix scanner logic for improved include pattern matching in subdirectories

- Add support for TOON format using rtoon library
- Implement TOON serialization in formatter with 2-5% token savings for code repositories
- Update CLI to accept "toon" as valid format option
- Add comprehensive tests covering TOON formatting and validation
- Bump version to 0.2.0 and add changelog
- Update README with TOON format documentation and examples
- Make formatter functions public for testing purposes
- Enhance CLI argument validation for output formats
- Fix scanner logic for improved include pattern matching in subdirectories
@CodingInCarhartts CodingInCarhartts self-assigned this Nov 1, 2025
- Remove unnecessary `use rtoon;` import that was flagged by clippy
- The import was redundant as rtoon is only used with full path `rtoon::encode_default`
- Improves code cleanliness and resolves linting warning
- Replace field assignments on Config::default() with direct struct initialization
- Fix two instances in packer_tests.rs for include patterns and file size limit tests
- Improves code style and eliminates clippy warnings
@CodingInCarhartts
CodingInCarhartts merged commit 6004b9c into master Nov 1, 2025
6 checks passed
@CodingInCarhartts
CodingInCarhartts deleted the Toon-Functionality branch November 1, 2025 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant