Decision Workspace
xattr vs extattr vs iocore
Side-by-side comparison of Rust crates
unix extended filesystem attributes
Extended Attributes API bindings for Rust
IOCore is a safe library for unix CLI tools and Systems programming. IOCore provides the [`iocore::Path`] abstraction of file-system paths designed to replace most [`std::path`] and [`std::fs`] operations with practical methods, other abstractions include: - handling file-system permissions via [`iocore::PathPermissions`] powered by the crate [`trilobyte`]. - handling file-system timestamps via [`iocore::PathTimestamps`] granularly via [`iocore::PathDateTime`]. IOCore provides the [`iocore::walk_dir`] function and its companion trait [`iocore::WalkProgressHandler`] which traverses file-systems quickly via threads. IOcore provides [`iocore::User`] which provides unix user information such as uid, path to home etc. The module [`iocore::env`] provides [`iocore::env:args`] returns a [`Vec<String>`] from [`std::env:args`], and [`iocore::env:var`] that returns environment variables as string.
Core Metrics
| xattr | extattr | iocore | |
|---|---|---|---|
| Health Score | 58 | 42 | 55 |
| Total Downloads | 156.7M | 54.0K | 32.5K |
| 30d Downloads | 12.0M | 6.0K | 319 |
| Dependents | 1.2K | 0 | 54 |
| Releases | 30 | 3 | 34 |
| Last Updated | 188d ago | 1204d ago | 248d ago |
| Age | 10y 8m | 3y 4m | 2y 5m |
Health Breakdown
Technical Details
| xattr | extattr | iocore | |
|---|---|---|---|
| Version | 1.6.1 | 1.0.0 | 3.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | GPL-2.0-only | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 14 |
| Crate Size | 16KB | 18KB | 63KB |
| Features | 2 | 0 | 1 |
| Yanked % | 10.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •xattr leads with a health score of 58/100, but none of the options score above 80.
- •xattr is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ extattr has not been updated in over a year.