Decision Workspace
ring-buffer-macro vs maplit vs array-deque
Side-by-side comparison of Rust crates
49
ring-buffer-macro
experimentalv0.2.0
A procedural macro for creating ring buffer (circular buffer) data structures at compile time
63
maplit
growingv1.0.2
Collection “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet.
57
array-deque
experimentalv0.4.0
Fixed-capacity circular buffer implementations: heap-allocated ArrayDeque and stack-allocated StackArrayDeque. Efficient O(1) operations, no_std support.
Core Metrics
| ring-buffer-macro | maplit | array-deque | |
|---|---|---|---|
| Health Score | 49 | 63 | 57 |
| Total Downloads | 30 | 101.1M | 5.5K |
| 30d Downloads | 4 | 4.6M | 603 |
| Dependents | 0 | 15.7K | 0 |
| Releases | 2 | 10 | 5 |
| Last Updated | 48d ago | 2407d ago | 2d ago |
| Age | 3m | 10y 10m | 9m |
Health Breakdown
ring-buffer-macro
Maintenance
14
Quality
14
Community
6
Popularity
2
Documentation
13
maplit
Maintenance
4
Quality
21
Community
19
Popularity
8
Documentation
11
array-deque
Maintenance
18
Quality
16
Community
6
Popularity
4
Documentation
13
Technical Details
| ring-buffer-macro | maplit | array-deque | |
|---|---|---|---|
| Version | 0.2.0 | 1.0.2 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT/Apache-2.0 | MIT |
| Dependencies | 3 | 0 | 2 |
| Crate Size | 29KB | 9KB | 13KB |
| Features | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | — | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •maplit leads with a health score of 63/100, but none of the options score above 80.
- •maplit is depended on by 15.7K crates — strongest ecosystem trust.
- •⚠ maplit has not been updated in over a year.
- •ring-buffer-macro, array-deque are pre-1.0 — API may change.