Decision Workspace
etc-passwd vs pwd vs whoami
Side-by-side comparison of Rust crates
51
etc-passwd
growingv0.2.2
Get user information stored in the password file `/etc/passwd`.
54
pwd
growingv1.4.0
Safe interface to pwd.h
81
whoami
stablev2.1.1
Rust library for getting information about the current user and environment
Core Metrics
| etc-passwd | pwd | whoami | |
|---|---|---|---|
| Health Score | 51 | 54 | 81 |
| Total Downloads | 40.9K | 3.3M | 118.2M |
| 30d Downloads | 935 | 130.2K | 10.5M |
| Dependents | 21 | 161 | 4.8K |
| Releases | 5 | 7 | 56 |
| Last Updated | 392d ago | 1341d ago | 45d ago |
| Age | 5y 8m | 8y 6m | 8y 7m |
Health Breakdown
etc-passwd
Maintenance
5
Quality
15
Community
10
Popularity
6
Documentation
15
pwd
Maintenance
3
Quality
20
Community
12
Popularity
8
Documentation
11
whoami
Maintenance
17
Quality
21
Community
20
Popularity
8
Documentation
15
Technical Details
| etc-passwd | pwd | whoami | |
|---|---|---|---|
| Version | 0.2.2 | 1.4.0 | 2.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | CC-PDDC | Apache-2.0 OR BSL-1.0 OR MIT |
| Dependencies | 3 | 2 | 5 |
| Crate Size | 16KB | 4KB | 28KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 1.8% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.74.1 | — | 1.75 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •whoami has the highest health score (81/100) — a strong overall choice.
- •whoami is depended on by 4.8K crates — strongest ecosystem trust.
- •⚠ etc-passwd, pwd have not been updated in over a year.
- •etc-passwd is pre-1.0 — API may change.