Skip to content

Conversation

@lemorage
Copy link
Contributor

This is a continuation of the unmerged #368.

Resolves #344.

Copy link
Member

@badmonster0 badmonster0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this, especially for careful tests for the Duration parsing logic!

I didn't notice there's no existing completed Duration parser for Rust, so the effort is larger than I original expected. Thanks for the effort!

- Replaced naive parsing with structured component-based approach
- Enhanced both iso8601 and human-readable parsers with proper validation and unit order checks
- Added more tests, achieving 97.52% test coverage
@badmonster0 badmonster0 merged commit a37eddc into cocoindex-io:main May 20, 2025
9 checks passed
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.

[FEATURE] Support TimeDelta Type (Python and Rust)

2 participants