Decision Workspace
composer-semver vs semver-php vs compare_version
Side-by-side comparison of Rust crates
56
composer-semver
experimentalv0.2.0
A faithful Rust port of composer/semver: Composer-flavored Version, Constraint, and Stability — normalize, compare, and match version constraints.
36
semver-php
experimentalv0.1.0
Composer semver parsing and constraint matching for Rust
67
compare_version
stablev2.0.9
A Rust library for comparing semantic versioning strings and checking version compatibility.
Core Metrics
| composer-semver | semver-php | compare_version | |
|---|---|---|---|
| Health Score | 56 | 36 | 67 |
| Total Downloads | 1.1K | 86 | 19.8K |
| 30d Downloads | 918 | 0 | 0 |
| Dependents | 167 | 0 | 292 |
| Releases | 2 | 1 | 38 |
| Last Updated | 15d ago | 189d ago | 2d ago |
| Age | 23d | 6m | 1y 8m |
Health Breakdown
composer-semver
Maintenance
13
Quality
14
Community
12
Popularity
4
Documentation
13
semver-php
Maintenance
5
Quality
13
Community
6
Popularity
2
Documentation
10
compare_version
Maintenance
19
Quality
20
Community
13
Popularity
5
Documentation
10
Technical Details
| composer-semver | semver-php | compare_version | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 2.0.9 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | EUPL-1.2 | MIT | MIT |
| Dependencies | 3 | 4 | 0 |
| Crate Size | 30KB | 51KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.95 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compare_version leads with a health score of 67/100, but none of the options score above 80.
- •compare_version is depended on by 292 crates — strongest ecosystem trust.
- •composer-semver, semver-php are pre-1.0 — API may change.