Decision Workspace
htscodecs-sys vs ryg-rans-sys vs ans
Side-by-side comparison of Rust crates
38
htscodecs-sys
growingv1.2.1
FFI bindings for htscodecs. htscodecs is automatically built and linked statically. Requires a C compiler.
45
ryg-rans-sys
growingv1.2.0
FFI bindings for ryg_rans. ryg_rans is automatically built and linked statically. Requires a C compiler.
57
ans
experimentalv0.4.0
rANS entropy coding with bits-back primitives. no_std, zero dependencies.
Core Metrics
| htscodecs-sys | ryg-rans-sys | ans | |
|---|---|---|---|
| Health Score | 38 | 45 | 57 |
| Total Downloads | 2.0K | 16.5K | 1.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4 | 24 |
| Releases | 1 | 10 | 11 |
| Last Updated | 1656d ago | 974d ago | 96d ago |
| Age | 4y 6m | 4y 4m | 8m |
Health Breakdown
htscodecs-sys
Maintenance
1
Quality
17
Community
6
Popularity
4
Documentation
10
ryg-rans-sys
Maintenance
4
Quality
16
Community
8
Popularity
5
Documentation
12
ans
Maintenance
14
Quality
14
Community
10
Popularity
4
Documentation
15
Technical Details
| htscodecs-sys | ryg-rans-sys | ans | |
|---|---|---|---|
| Version | 1.2.1 | 1.2.0 | 0.4.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | BSD-3-Clause | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 2 |
| Crate Size | 2.7MB | 331KB | 29KB |
| Features | 0 | 4 | 0 |
| Yanked % | 0.0% | 10.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.71.0 | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ans leads with a health score of 57/100, but none of the options score above 80.
- •ryg-rans-sys has the most downloads (16.5K), suggesting wider adoption.
- •⚠ htscodecs-sys, ryg-rans-sys have not been updated in over a year.
- •ans is pre-1.0 — API may change.