Decision Workspace
torrentdht vs bittorrent-rs vs mainline
Side-by-side comparison of Rust crates
39
torrentdht
experimentalv0.1.1
DHT discovery with mTLS handshake handoff; optional BitTorrent when the host opts in
47
bittorrent-rs
experimentalv0.1.1
A pure-Rust BitTorrent protocol library supporting Magnet links, DHT, uTP, and NAT-PMP.
71
mainline
stablev8.0.1
Simple, robust, BitTorrent's Mainline DHT implementation
Core Metrics
| torrentdht | bittorrent-rs | mainline | |
|---|---|---|---|
| Health Score | 39 | 47 | 71 |
| Total Downloads | 40 | 52 | 524.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 361 |
| Releases | 2 | 2 | 44 |
| Last Updated | 88d ago | 42d ago | 9d ago |
| Age | 2m | 3m | 3y |
Health Breakdown
torrentdht
Maintenance
9
Quality
9
Community
6
Popularity
2
Documentation
13
bittorrent-rs
Maintenance
14
Quality
15
Community
6
Popularity
2
Documentation
10
mainline
Maintenance
18
Quality
18
Community
16
Popularity
7
Documentation
12
Technical Details
| torrentdht | bittorrent-rs | mainline | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.1 | 8.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 29 | 8 | 23 |
| Crate Size | 226KB | 120KB | 79KB |
| Features | 0 | 11 | 4 |
| Yanked % | 0.0% | 0.0% | 2.3% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 3 |
Links
Quick Verdict
- •mainline leads with a health score of 71/100, but none of the options score above 80.
- •mainline is depended on by 361 crates — strongest ecosystem trust.
- •torrentdht, bittorrent-rs are pre-1.0 — API may change.