Decision Workspace
idcard vs china_identification_card vs cn-id-card
Side-by-side comparison of Rust crates
40
idcard
growingv0.3.0
Chinese Identity Card Utilities.
56
china_identification_card
stablev1.1.26
A Rust library for validating Chinese identification card numbers based on official rules and checksums.
39
cn-id-card
growingv0.1.8
Chinese identification card number verification, including region code, birthday, and check code.
Core Metrics
| idcard | china_identification_card | cn-id-card | |
|---|---|---|---|
| Health Score | 40 | 56 | 39 |
| Total Downloads | 10.3K | 16.1K | 10.6K |
| 30d Downloads | 621 | 46 | 12 |
| Dependents | 3 | 0 | 0 |
| Releases | 6 | 42 | 8 |
| Last Updated | 955d ago | 55d ago | 1040d ago |
| Age | 4y 11m | 1y 4m | 4y |
Health Breakdown
idcard
Maintenance
4
Quality
14
Community
5
Popularity
5
Documentation
12
china_identification_card
Maintenance
16
Quality
19
Community
6
Popularity
5
Documentation
10
cn-id-card
Maintenance
4
Quality
17
Community
3
Popularity
5
Documentation
10
Technical Details
| idcard | china_identification_card | cn-id-card | |
|---|---|---|---|
| Version | 0.3.0 | 1.1.26 | 0.1.8 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 4 | 0 | 3 |
| Crate Size | 43KB | 5KB | 55KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •china_identification_card leads with a health score of 56/100, but none of the options score above 80.
- •⚠ idcard, cn-id-card have not been updated in over a year.
- •idcard, cn-id-card are pre-1.0 — API may change.