11 releases (5 breaking)

0.7.1 Mar 30, 2026
0.6.0 Mar 15, 2026
0.4.0 Oct 10, 2025
0.3.0 Jul 28, 2025

#1226 in Network programming

Download history 15/week @ 2025-12-18 33/week @ 2025-12-25 96/week @ 2026-01-15 167/week @ 2026-01-22 26/week @ 2026-02-05 25/week @ 2026-02-12 46/week @ 2026-02-19 181/week @ 2026-03-12 454/week @ 2026-03-19 248/week @ 2026-03-26 7/week @ 2026-04-02

890 downloads per month
Used in 10 crates (2 directly)

MIT/Apache

130KB
3K SLoC

Build status codecov Dependencies crates.io docs.rs

turn-types

Repository containing an implementation of TURN (RFC5766) protocol writing in the Rust programming language. turn-types builds on top of stun-types to provide the relevant attributes and methods for TURN applications.

Relevant standards

  • RFC5766: Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)
  • RFC6062: Traversal Using Relays around NAT (TURN) Extensions for TCP Allocations
  • RFC6156: Traversal Using Relays around NAT (TURN) Extension for IPv6
  • RFC8656: Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)

Dependencies

~8–11MB
~120K SLoC