Decision Workspace
file-mode vs readable-perms vs fd-lock
Side-by-side comparison of Rust crates
48
file-mode
growingv0.1.2
Decode Unix file mode bits, change them and apply them to files
45
readable-perms
growingv0.1.3
More usable UNIX file permissions interface
65
fd-lock
growingv4.0.4
Advisory cross-platform lock on a file using a file descriptor to it.
Core Metrics
| file-mode | readable-perms | fd-lock | |
|---|---|---|---|
| Health Score | 48 | 45 | 65 |
| Total Downloads | 141.1K | 9.6K | 39.1M |
| 30d Downloads | 1.8K | 90 | 3.3M |
| Dependents | 121 | 5 | 1.2K |
| Releases | 3 | 4 | 23 |
| Last Updated | 1857d ago | 2060d ago | 382d ago |
| Age | 5y 1m | 5y 7m | 6y 9m |
Health Breakdown
file-mode
Maintenance
4
Quality
14
Community
12
Popularity
6
Documentation
12
readable-perms
Maintenance
9
Quality
17
Community
5
Popularity
5
Documentation
9
fd-lock
Maintenance
7
Quality
19
Community
18
Popularity
8
Documentation
13
Technical Details
| file-mode | readable-perms | fd-lock | |
|---|---|---|---|
| Version | 0.1.2 | 0.1.3 | 4.0.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | GPL-3.0-or-later | MIT OR Apache-2.0 |
| Dependencies | 4 | 3 | 4 |
| Crate Size | 15KB | 10KB | 16KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 3 |
Links
Quick Verdict
- •fd-lock leads with a health score of 65/100, but none of the options score above 80.
- •fd-lock is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ file-mode, readable-perms, fd-lock have not been updated in over a year.
- •file-mode, readable-perms are pre-1.0 — API may change.