Decision Workspace
serial_int vs typed_ids vs caretta-id
Side-by-side comparison of Rust crates
47
serial_int
growingv2.0.1
Safe, easy-to-use auto-increment integers
37
typed_ids
growingv0.2.0
Create unique identifiers for each type. This newtype approach helps to make illegal states unrepresentable by typing your unique ids.
61
caretta-id
experimentalv0.12.2
Renamed to grain-id — see https://crates.io/crates/grain-id
Core Metrics
| serial_int | typed_ids | caretta-id | |
|---|---|---|---|
| Health Score | 47 | 37 | 61 |
| Total Downloads | 22.9K | 4.8K | 1.1K |
| 30d Downloads | 37 | 36 | 600 |
| Dependents | 0 | 1 | 20 |
| Releases | 15 | 2 | 14 |
| Last Updated | 675d ago | 1507d ago | today |
| Age | 5y 3m | 4y 1m | 4m |
Health Breakdown
serial_int
Maintenance
4
Quality
21
Community
7
Popularity
5
Documentation
10
typed_ids
Maintenance
3
Quality
14
Community
6
Popularity
4
Documentation
10
caretta-id
Maintenance
19
Quality
15
Community
10
Popularity
4
Documentation
13
Technical Details
| serial_int | typed_ids | caretta-id | |
|---|---|---|---|
| Version | 2.0.1 | 0.2.0 | 0.12.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 5 | 18 |
| Crate Size | 7KB | 4KB | 39KB |
| Features | 1 | 0 | 10 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •caretta-id leads with a health score of 61/100, but none of the options score above 80.
- •serial_int has the most downloads (22.9K), suggesting wider adoption.
- •⚠ serial_int, typed_ids have not been updated in over a year.
- •typed_ids, caretta-id are pre-1.0 — API may change.