Decision Workspace
etc-passwd vs pwd vs whoami
Side-by-side comparison of Rust crates
50
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.3
Rust library for getting information about the current user and environment
Core Metrics
| etc-passwd | pwd | whoami | |
|---|---|---|---|
| Health Score | 50 | 54 | 81 |
| Total Downloads | 49.1K | 5.6M | 234.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 21 | 185 | 6.2K |
| Releases | 5 | 7 | 59 |
| Last Updated | 588d ago | 1537d ago | 59d ago |
| Age | 6y 2m | 9y | 9y 2m |
Health Breakdown
etc-passwd
Maintenance
4
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.3 |
| 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 | 29KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 1.7% |
| 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 6.2K crates — strongest ecosystem trust.
- •⚠ etc-passwd, pwd have not been updated in over a year.
- •etc-passwd is pre-1.0 — API may change.