Decision Workspace
dig-relay-protocol vs dig-protocol vs dig-nat
Side-by-side comparison of Rust crates
46
dig-relay-protocol
experimentalv0.3.3
Canonical NODE-TO-RELAY wire protocol for the DIG Network relay — the RLY-001..RLY-007 RelayMessage set + RelayPeerInfo, JSON over WebSocket, byte-identical to the wire vendored across dig-gossip/dig-relay/dig-nat.
48
dig-protocol
experimentalv0.2.0
DIG Network L2 protocol types extending Chia's wire protocol (opcodes 200+)
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
| dig-relay-protocol | dig-protocol | dig-nat | |
|---|---|---|---|
| Health Score | 46 | 48 | 48 |
| Total Downloads | 70 | 814 | 10.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5 | 115 |
| Releases | 4 | 4 | 30 |
| Last Updated | 35d ago | 83d ago | 34d ago |
| Age | 2m | 5m | 2m |
Health Breakdown
dig-relay-protocol
Maintenance
12
Quality
15
Community
5
Popularity
2
Documentation
12
dig-protocol
Maintenance
13
Quality
14
Community
8
Popularity
3
Documentation
10
dig-nat
Maintenance
11
Quality
9
Community
11
Popularity
5
Documentation
12
Technical Details
| dig-relay-protocol | dig-protocol | dig-nat | |
|---|---|---|---|
| Version | 0.3.3 | 0.2.0 | 0.21.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 7 | 8 | 29 |
| Crate Size | 58KB | 48KB | 267KB |
| Features | 2 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.75.0 | — | 1.75.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dig-protocol leads with a health score of 48/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.