Decision Workspace
infer vs infer2 vs file-format
Side-by-side comparison of Rust crates
65
infer
growingv0.22.0
Small crate to infer file type based on magic number signatures
51
infer2
experimentalv0.21.1
Small crate to infer file type based on magic number signatures
67
file-format
growingv0.29.0
Crate for determining the file format of a given file or stream.
Core Metrics
| infer | infer2 | file-format | |
|---|---|---|---|
| Health Score | 65 | 51 | 67 |
| Total Downloads | 130.0M | 2.7K | 2.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 5.1K | 103 | 613 |
| Releases | 38 | 2 | 34 |
| Last Updated | 86d ago | 162d ago | 196d ago |
| Age | 7y 7m | 5m | 5y |
Health Breakdown
infer
Maintenance
13
Quality
17
Community
12
Popularity
8
Documentation
15
infer2
Maintenance
10
Quality
16
Community
8
Popularity
4
Documentation
13
file-format
Maintenance
11
Quality
20
Community
13
Popularity
8
Documentation
15
Technical Details
| infer | infer2 | file-format | |
|---|---|---|---|
| Version | 0.22.0 | 0.21.1 | 0.29.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT/Apache-2.0 |
| Dependencies | 1 | 1 | 0 |
| Crate Size | 21KB | 21KB | 57KB |
| Features | 3 | 3 | 13 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.74 | — | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •file-format leads with a health score of 67/100, but none of the options score above 80.
- •infer has the most downloads (130.0M), suggesting wider adoption.
- •infer is depended on by 5.1K crates — strongest ecosystem trust.