Decision Workspace
extfn vs trait-ext vs easy-ext
Side-by-side comparison of Rust crates
51
extfn
experimentalv0.1.3
Call any freestanding function as `a.foo(b)` instead of `foo(a, b)` just by adding `#[extfn]` and renaming the first parameter to `self`.
31
trait-ext
growingv0.1.1
Small macro for trait extension implementation.
65
easy-ext
stablev1.0.3
A lightweight attribute macro for easily writing extension trait pattern.
Core Metrics
| extfn | trait-ext | easy-ext | |
|---|---|---|---|
| Health Score | 51 | 31 | 65 |
| Total Downloads | 7.6K | 1.5K | 3.0M |
| 30d Downloads | 79 | 3 | 166.9K |
| Dependents | 3 | 0 | 721 |
| Releases | 4 | 1 | 23 |
| Last Updated | 213d ago | 1135d ago | 24d ago |
| Age | 8m | 3y 1m | 7y 1m |
Health Breakdown
extfn
Maintenance
10
Quality
14
Community
7
Popularity
5
Documentation
15
trait-ext
Maintenance
1
Quality
16
Community
3
Popularity
4
Documentation
7
easy-ext
Maintenance
16
Quality
16
Community
14
Popularity
8
Documentation
11
Technical Details
| extfn | trait-ext | easy-ext | |
|---|---|---|---|
| Version | 0.1.3 | 0.1.1 | 1.0.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | Apache-2.0 OR MIT |
| Dependencies | 3 | 0 | 1 |
| Crate Size | 10KB | 1KB | 30KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 13.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.72 | — | 1.31 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •easy-ext leads with a health score of 65/100, but none of the options score above 80.
- •easy-ext is depended on by 721 crates — strongest ecosystem trust.
- •⚠ trait-ext has not been updated in over a year.
- •extfn, trait-ext are pre-1.0 — API may change.