aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-semver
AgeCommit message (Collapse)Author
11 daysrefactor(semver): change ConstraintInterface to a closed enumnsfisis
Replace the dyn ConstraintInterface trait objects with an AnyConstraint enum closing over its four implementors (Simple, Multi, MatchAll, MatchNone), mirroring the earlier Rule enum conversion. Rename constraint.rs to simple_constraint.rs to match the renamed Constraint type. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20refactor: re-export module items to shorten import pathsnsfisis
2026-05-20chore: allow unused codensfisis
2026-05-20fix(compile): fix all remaining compile errorsnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19fix(compile): fix more random compile errorsnsfisis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19fix(compile): fix various compile errorsnsfisis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17chore: cargo clippy --fixnsfisis
2026-05-17fix(semver): resolve shirabe-semver compile errorsnsfisis
- Replace RefCell with Mutex in Constraint for thread safety - Add clone_box() to ConstraintInterface for cloning trait objects - Propagate Result from Constraint::new() and unwrap at call sites - Fix VersionParser instantiation (unit struct, not fn) - Add indexmap dependency to shirabe-semver
2026-05-17chore(style): cargo fmtnsfisis
2026-05-17feat(port): port VersionParser.phpnsfisis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17feat(port): port Intervals.phpnsfisis
Add Clone derives to Constraint, Interval, and DevConstraintSet (needed for IntervalCollection). Add preg_match/preg_replace/preg_split stubs to shirabe-php-shim. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16feat(port): port Constraint.phpnsfisis
2026-05-16feat(port): port MultiConstraint.phpnsfisis
2026-05-16feat(port): add as_any/is_disjunctive to ConstraintInterface (needed for ↵nsfisis
MultiConstraint)
2026-05-16feat(port): port Semver.phpnsfisis
2026-05-16feat(port): port Bound.phpnsfisis
2026-05-16feat(port): port Comparator.phpnsfisis
2026-05-16feat(port): port Interval.phpnsfisis
2026-05-16feat(port): port CompilingMatcher.phpnsfisis
2026-05-16feat(port): port MatchAllConstraint.phpnsfisis
2026-05-16feat(port): port MatchNoneConstraint.phpnsfisis
2026-05-16feat(port): port ConstraintInterface.phpnsfisis
2026-05-16feat(port): add template files for composer/semvernsfisis