Decision Workspace
metered-macro vs function-timer-macro vs function-timer
Side-by-side comparison of Rust crates
47
metered-macro
growingv0.9.0
The derive macros of the metered metric library (MetricTree, LabelSet, SpanLabels), consumed through the `metered` and `metered-tracing` re-exports.
55
function-timer-macro
growingv0.6.3
Macro that allow to time a function and emit a metric using metrics crate
54
function-timer
growingv0.9.3
Macro that allow to time a function and emit a metric using metrics crate
Core Metrics
| metered-macro | function-timer-macro | function-timer | |
|---|---|---|---|
| Health Score | 47 | 55 | 54 |
| Total Downloads | 7.9M | 29.3K | 30.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 17 | 12 | 0 |
| Releases | 13 | 10 | 12 |
| Last Updated | 66d ago | 77d ago | 77d ago |
| Age | 7y 8m | 3y 7m | 3y 7m |
Health Breakdown
metered-macro
Maintenance
12
Quality
10
Community
8
Popularity
8
Documentation
9
function-timer-macro
Maintenance
12
Quality
15
Community
8
Popularity
5
Documentation
15
function-timer
Maintenance
15
Quality
14
Community
5
Popularity
5
Documentation
15
Technical Details
| metered-macro | function-timer-macro | function-timer | |
|---|---|---|---|
| Version | 0.9.0 | 0.6.3 | 0.9.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 10 | 3 | 6 |
| Crate Size | 9KB | 5KB | 13KB |
| Features | 1 | 0 | 0 |
| Yanked % | 15.4% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.65.0 | 1.65.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •function-timer-macro leads with a health score of 55/100, but none of the options score above 80.
- •metered-macro has the most downloads (7.9M), suggesting wider adoption.