Decision Workspace
ndarray-safetensors vs ndarray-stats vs safetensors
Side-by-side comparison of Rust crates
44
ndarray-safetensors
growingv0.3.0
Serialize / deserialize ndarrays with safetensors.
69
ndarray-stats
growingv0.7.0
Statistical routines for the n-dimensional array data structures provided by ndarray.
68
safetensors
growingv0.7.0
Provides functions to read and write safetensors which aim to be safer than their PyTorch counterpart. The format is 8 bytes which is an unsized int, being the size of a JSON header, the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets for the values in the rest of the file.
Core Metrics
| ndarray-safetensors | ndarray-stats | safetensors | |
|---|---|---|---|
| Health Score | 44 | 69 | 68 |
| Total Downloads | 12.8K | 4.8M | 11.0M |
| 30d Downloads | 1.9K | 254.1K | 2.4M |
| Dependents | 6 | 1.7K | 1.3K |
| Releases | 5 | 8 | 21 |
| Last Updated | 387d ago | 89d ago | 128d ago |
| Age | 1y 3m | 7y 4m | 3y 3m |
Health Breakdown
ndarray-safetensors
Maintenance
7
Quality
17
Community
5
Popularity
5
Documentation
10
ndarray-stats
Maintenance
14
Quality
13
Community
20
Popularity
8
Documentation
14
safetensors
Maintenance
16
Quality
16
Community
13
Popularity
8
Documentation
15
Technical Details
| ndarray-safetensors | ndarray-stats | safetensors | |
|---|---|---|---|
| Version | 0.3.0 | 0.7.0 | 0.7.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT/Apache-2.0 | Apache-2.0 |
| Dependencies | 3 | 14 | 6 |
| Crate Size | 10KB | 59KB | 31KB |
| Features | 2 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | 1.65.0 | 1.80 |
| Owners | 1 | 3 (team) | 2 |
Links
Quick Verdict
- •ndarray-stats leads with a health score of 69/100, but none of the options score above 80.
- •safetensors has the most downloads (11.0M), suggesting wider adoption.
- •ndarray-stats is depended on by 1.7K crates — strongest ecosystem trust.
- •⚠ ndarray-safetensors has not been updated in over a year.