Decision Workspace
rat_mime_guess vs mediatypes vs infer
Side-by-side comparison of Rust crates
36
rat_mime_guess
experimentalv0.1.0
通过文件扩展名猜测 MIME 类型,使用 PHF 实现 O(1) 查找
47
mediatypes
experimentalv0.2.0
A comprehensive collection of MIME types (media types) as string constants
65
infer
growingv0.22.0
Small crate to infer file type based on magic number signatures
Core Metrics
| rat_mime_guess | mediatypes | infer | |
|---|---|---|---|
| Health Score | 36 | 47 | 65 |
| Total Downloads | 36 | 394 | 130.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 10 | 5.1K |
| Releases | 1 | 2 | 38 |
| Last Updated | 214d ago | 236d ago | 86d ago |
| Age | 7m | 7m | 7y 7m |
Health Breakdown
rat_mime_guess
Maintenance
4
Quality
14
Community
6
Popularity
2
Documentation
10
mediatypes
Maintenance
8
Quality
14
Community
9
Popularity
3
Documentation
13
infer
Maintenance
13
Quality
17
Community
12
Popularity
8
Documentation
15
Technical Details
| rat_mime_guess | mediatypes | infer | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.0 | 0.22.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | LGPL-3.0-or-later | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 2 | 1 |
| Crate Size | 22KB | 89KB | 21KB |
| Features | 1 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | 1.74 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •infer leads with a health score of 65/100, but none of the options score above 80.
- •infer is depended on by 5.1K crates — strongest ecosystem trust.