Decision Workspace
libmat vs lin_alg vs nalgebra
Side-by-side comparison of Rust crates
32
libmat
growingv0.2.0
This library provides tools for linear algebra.
69
lin_alg
stablev1.4.1
Vector, matrix, and quaternion operations for general purposes
64
nalgebra
growingv0.34.1
General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices.
Core Metrics
| libmat | lin_alg | nalgebra | |
|---|---|---|---|
| Health Score | 32 | 69 | 64 |
| Total Downloads | 4.0K | 27.7K | 61.0M |
| 30d Downloads | 4 | 1.2K | 4.5M |
| Dependents | 0 | 122 | 15.0K |
| Releases | 3 | 47 | 121 |
| Last Updated | 1732d ago | 32d ago | 188d ago |
| Age | 4y 9m | 1y 4m | 11y 4m |
Health Breakdown
libmat
Maintenance
4
Quality
9
Community
6
Popularity
4
Documentation
9
lin_alg
Maintenance
18
Quality
21
Community
12
Popularity
5
Documentation
13
nalgebra
Maintenance
11
Quality
13
Community
17
Popularity
8
Documentation
15
Technical Details
| libmat | lin_alg | nalgebra | |
|---|---|---|---|
| Version | 0.2.0 | 1.4.1 | 0.34.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | Apache-2.0 |
| Dependencies | 2 | 4 | 47 |
| Crate Size | 12KB | 36KB | 389KB |
| Features | 0 | 6 | 38 |
| Yanked % | 33.3% | 0.0% | 5.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | 1.87.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •lin_alg leads with a health score of 69/100, but none of the options score above 80.
- •nalgebra has the most downloads (61.0M), suggesting wider adoption.
- •nalgebra is depended on by 15.0K crates — strongest ecosystem trust.
- •⚠ libmat has not been updated in over a year.
- •libmat, nalgebra are pre-1.0 — API may change.