Decision Workspace
fiano_swap vs duende-mlock vs flyweights
Side-by-side comparison of Rust crates
37
fiano_swap
growingv0.1.0
A simple generic swap function for two values using Copy trait. This library provides a safe and easy way to swap variables in Rust.
50
duende-mlock
growingv1.0.0
Memory locking for swap-critical daemons (DT-007: Swap Deadlock Prevention)
46
flyweights
growingv0.1.5
Interned strings & bytestrings for client-controlled values in long-lived programs.
Core Metrics
| fiano_swap | duende-mlock | flyweights | |
|---|---|---|---|
| Health Score | 37 | 50 | 46 |
| Total Downloads | 530 | 3.6K | 3.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5 | 0 |
| Releases | 1 | 1 | 6 |
| Last Updated | 486d ago | 276d ago | 466d ago |
| Age | 1y 4m | 9m | 1y 4m |
Health Breakdown
fiano_swap
Maintenance
2
Quality
16
Community
6
Popularity
3
Documentation
10
duende-mlock
Maintenance
3
Quality
20
Community
8
Popularity
4
Documentation
15
flyweights
Maintenance
7
Quality
15
Community
8
Popularity
4
Documentation
12
Technical Details
| fiano_swap | duende-mlock | flyweights | |
|---|---|---|---|
| Version | 0.1.0 | 1.0.0 | 0.1.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | BSD-2-Clause |
| Dependencies | 0 | 3 | 10 |
| Crate Size | 23KB | 13KB | 22KB |
| Features | 0 | 2 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.81.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •duende-mlock leads with a health score of 50/100, but none of the options score above 80.
- •flyweights has the most downloads (3.6K), suggesting wider adoption.
- •⚠ fiano_swap, flyweights have not been updated in over a year.
- •fiano_swap, flyweights are pre-1.0 — API may change.