Decision Workspace
location-macros vs path-absolutize vs normpath
Side-by-side comparison of Rust crates
41
location-macros
growingv0.1.2
Collection of macros for obtaining the absolute path of the project root
66
path-absolutize
stablev4.0.1
A library for extending `Path` and `PathBuf` in order to get an absolute path and remove the containing dots.
66
normpath
stablev1.5.2
More reliable path manipulation
Core Metrics
| location-macros | path-absolutize | normpath | |
|---|---|---|---|
| Health Score | 41 | 66 | 66 |
| Total Downloads | 20.7K | 19.2M | 33.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 9 | 5.0K | 1.3K |
| Releases | 3 | 35 | 15 |
| Last Updated | 1298d ago | 90d ago | 20d ago |
| Age | 3y 6m | 8y 1m | 5y 11m |
Health Breakdown
location-macros
Maintenance
4
Quality
15
Community
9
Popularity
5
Documentation
8
path-absolutize
Maintenance
13
Quality
18
Community
15
Popularity
8
Documentation
12
normpath
Maintenance
16
Quality
16
Community
14
Popularity
8
Documentation
12
Technical Details
| location-macros | path-absolutize | normpath | |
|---|---|---|---|
| Version | 0.1.2 | 4.0.1 | 1.5.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | BSL-1.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 3 | 9 |
| Crate Size | 4KB | 6KB | 23KB |
| Features | 0 | 1 | 1 |
| Yanked % | 0.0% | 5.7% | 6.7% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.80 | 1.81.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •path-absolutize leads with a health score of 66/100, but none of the options score above 80.
- •normpath has the most downloads (33.0M), suggesting wider adoption.
- •path-absolutize is depended on by 5.0K crates — strongest ecosystem trust.
- •⚠ location-macros has not been updated in over a year.
- •location-macros is pre-1.0 — API may change.