Skip to content

Modernize dependencies and Unicode support - #2

Merged
hanwencheng merged 1 commit into
masterfrom
codex/modernize-common-substrings-rust
Jul 12, 2026
Merged

Modernize dependencies and Unicode support#2
hanwencheng merged 1 commit into
masterfrom
codex/modernize-common-substrings-rust

Conversation

@hanwencheng

Copy link
Copy Markdown
Owner

What changed

  • update Criterion from 0.3 to 0.8.2 and move the crate to Rust 2024 with MSRV 1.86
  • make substring construction and length calculations Unicode-safe
  • add threshold validation and stronger regression tests
  • resolve current Clippy and rustfmt findings
  • add CI for formatting, Clippy, tests, doctests, and benchmark compilation
  • add weekly Dependabot updates

Validation

  • cargo fmt --all -- --check
  • cargo test --all-features (5 integration tests and 1 doctest)
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo bench --no-run
  • cargo package --allow-dirty

@hanwencheng
hanwencheng marked this pull request as ready for review July 12, 2026 07:51
@hanwencheng
hanwencheng merged commit cc660e3 into master Jul 12, 2026
2 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.

1 participant