rustio rustio.net
48

dig-nat

v0.21.2 Experimental

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).

Apache-2.0 OR MIT Edition 2021 MSRV 1.75.0
Network programming #p2p#dig#nat#stun#traversal

Quick Verdict

  • ✓Actively maintained (updated 34d ago)
  • !Pre-1.0: API may have breaking changes
  • ✓Trusted by 115 crates
  • !Heavy dependency tree (29 direct deps)
  • ✓Permissive license (Apache-2.0 OR MIT)

Security

Checking security advisories...
Downloads
10.1K
Dependents
115
Releases
30
Size
267KB

Deep Insights

📉
Download decline

1.1K downloads in the last 30 days, down 82% from the previous period. May indicate migration to alternatives.

🔗
Moderate adoption

115 crates depend on dig-nat. Reasonable ecosystem adoption, though not yet a core dependency.

👤
Prolific maintainer

The primary maintainer publishes 87 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

📦
Heavy dependency tree

29 direct dependencies. Consider the impact on compile times and supply chain complexity.

🌟
Used by top crates

Notable dependents include dig-dht, dig-download, dig-peer, dig-peer-selector, dig-onion. When high-quality crates choose dig-nat, it's a strong quality signal.

Health Breakdown

Maintenance 11/25

Recency, release consistency, active ratio

Quality 9/25

Yanked ratio, deps, size, maturity, features

Community 11/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
4/day avg-100%
01002008/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v0.18.0
39%
v0.21.0
37%
v0.21.2
14%
v0.20.0
8%
v0.15.0
3%

Release Timeline

10 releasessince 2026
J
F
M
A
M
J
J
A
S
O
N
D
2026
10
Less
More

README

Loading README...

Maintainers

Dependencies
29
direct dependencies
Dependents
115
crates depend on dig-nat

Similar Crates