Decision Workspace
rift-nat vs nat-overstep vs dig-nat
Side-by-side comparison of Rust crates
51
rift-nat
experimentalv0.1.4
NAT traversal, STUN, and TURN support for Rift P2P
42
nat-overstep
experimentalv0.1.0
Lightweight NAT traversal toolkit: RFC 8489 STUN client, ICE-style candidate gathering, TCP simultaneous-open hole punching, and a TURN-inspired TCP relay fallback with Happy Eyeballs racing
48
dig-nat
experimentalv0.21.2
Abstract NAT traversal for DIG Node peer connections — one connect() API over direct, UPnP/IGD, NAT-PMP, PCP, relay-coordinated hole-punch, and relay.dig.net as last-resort fallback; establishes an mTLS peer connection with peer_id = SHA256(TLS SPKI DER).
Core Metrics
| rift-nat | nat-overstep | dig-nat | |
|---|---|---|---|
| Health Score | 51 | 42 | 48 |
| Total Downloads | 549 | 21 | 10.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 15 | 0 | 115 |
| Releases | 5 | 1 | 30 |
| Last Updated | 241d ago | 47d ago | 34d ago |
| Age | 8m | 1m | 2m |
Health Breakdown
rift-nat
Maintenance
15
Quality
12
Community
8
Popularity
3
Documentation
13
nat-overstep
Maintenance
10
Quality
13
Community
5
Popularity
2
Documentation
12
dig-nat
Maintenance
11
Quality
9
Community
11
Popularity
5
Documentation
12
Technical Details
| rift-nat | nat-overstep | dig-nat | |
|---|---|---|---|
| Version | 0.1.4 | 0.1.0 | 0.21.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 11 | 5 | 29 |
| Crate Size | 20KB | 30KB | 267KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.84 | 1.75.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rift-nat leads with a health score of 51/100, but none of the options score above 80.
- •dig-nat has the most downloads (10.1K), suggesting wider adoption.
- •dig-nat is depended on by 115 crates — strongest ecosystem trust.