Decision Workspace
mpnet-rs vs safetensors vs diffai-core
Side-by-side comparison of Rust crates
42
mpnet-rs
growingv0.1.3
This is a translation of MPNet from PyTorch into Rust Candle.
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.
60
diffai-core
experimentalv0.5.1
Core library for AI/ML diff analysis - PyTorch, Safetensors, tensor statistics
Core Metrics
| mpnet-rs | safetensors | diffai-core | |
|---|---|---|---|
| Health Score | 42 | 68 | 60 |
| Total Downloads | 5.6K | 11.0M | 7.7K |
| 30d Downloads | 6 | 2.4M | 90 |
| Dependents | 0 | 1.3K | 22 |
| Releases | 4 | 21 | 24 |
| Last Updated | 724d ago | 128d ago | 9d ago |
| Age | 2y 1m | 3y 3m | 8m |
Health Breakdown
mpnet-rs
Maintenance
8
Quality
15
Community
5
Popularity
4
Documentation
10
safetensors
Maintenance
16
Quality
16
Community
13
Popularity
8
Documentation
15
diffai-core
Maintenance
18
Quality
12
Community
10
Popularity
5
Documentation
15
Technical Details
| mpnet-rs | safetensors | diffai-core | |
|---|---|---|---|
| Version | 0.1.3 | 0.7.0 | 0.5.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT |
| Dependencies | 6 | 6 | 15 |
| Crate Size | 11KB | 31KB | 77KB |
| Features | 1 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.80 | 1.75 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •safetensors leads with a health score of 68/100, but none of the options score above 80.
- •safetensors is depended on by 1.3K crates — strongest ecosystem trust.
- •⚠ mpnet-rs has not been updated in over a year.