Decision Workspace
nhs-number vs nhs-number-cli vs token-identifier
Side-by-side comparison of Rust crates
59
nhs-number
stablev1.0.2
United Kingdom (UK) National Health Service (NHS) Number — parse, format, and validate the ten-digit identifier used by UK NHS England, UK NHS Scotland, UK NHS Wales, and UK NHS Isle of Man.
51
nhs-number-cli
growingv0.3.0
Command line tool that validates United Kingdom (UK) National Health Service (NHS) Numbers, one per line, from standard input.
34
token-identifier
growingv0.1.0
A library to create 32 bit tokens with checkbits and identifier of such tokens
Core Metrics
| nhs-number | nhs-number-cli | token-identifier | |
|---|---|---|---|
| Health Score | 59 | 51 | 34 |
| Total Downloads | 4.7K | 1.1K | 1.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 8 | 0 | 0 |
| Releases | 11 | 4 | 1 |
| Last Updated | today | today | 606d ago |
| Age | 1y | 1y | 1y 8m |
Health Breakdown
nhs-number
Maintenance
19
Quality
17
Community
9
Popularity
4
Documentation
10
nhs-number-cli
Maintenance
18
Quality
13
Community
6
Popularity
4
Documentation
10
token-identifier
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
8
Technical Details
| nhs-number | nhs-number-cli | token-identifier | |
|---|---|---|---|
| Version | 1.0.2 | 0.3.0 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 OR GPL-2.0 OR GPL-3.0 OR BSD-3-Clause | MIT OR Apache-2.0 OR GPL-2.0 OR GPL-3.0 OR BSD-3-Clause | non-standard |
| Dependencies | 2 | 8 | 2 |
| Crate Size | 27KB | 26KB | 17KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nhs-number leads with a health score of 59/100, but none of the options score above 80.
- •⚠ token-identifier has not been updated in over a year.
- •nhs-number-cli, token-identifier are pre-1.0 — API may change.