Decision Workspace
fiano_swap vs duende-mlock vs flyweights
Side-by-side comparison of Rust crates
37
fiano_swap
experimentalv0.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.
55
duende-mlock
experimentalv1.0.0
Memory locking for swap-critical daemons (DT-007: Swap Deadlock Prevention)
48
flyweights
experimentalv0.1.5
Interned strings & bytestrings for client-controlled values in long-lived programs.
Core Metrics
| fiano_swap | duende-mlock | flyweights | |
|---|---|---|---|
| Health Score | 37 | 55 | 48 |
| Total Downloads | 518 | 1.0K | 2.5K |
| 30d Downloads | 3 | 115 | 25 |
| Dependents | 0 | 5 | 0 |
| Releases | 1 | 1 | 6 |
| Last Updated | 290d ago | 80d ago | 270d ago |
| Age | 9m | 2m | 9m |
Health Breakdown
fiano_swap
Maintenance
3
Quality
15
Community
6
Popularity
3
Documentation
10
duende-mlock
Maintenance
9
Quality
19
Community
8
Popularity
4
Documentation
15
flyweights
Maintenance
10
Quality
14
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 55/100, but none of the options score above 80.
- •flyweights has the most downloads (2.5K), suggesting wider adoption.
- •fiano_swap, flyweights are pre-1.0 — API may change.