#turn-server #sans-io #protocols #turn

no-std turn-server-proto

TURN server protocol in a sans-IO fashion

13 releases (6 breaking)

new 0.7.1 Mar 30, 2026
0.6.0 Mar 15, 2026
0.4.1 Oct 20, 2025
0.3.0 Jul 28, 2025

#3 in #turn-server

Download history 34/week @ 2025-12-07 79/week @ 2025-12-14 27/week @ 2025-12-21 1/week @ 2025-12-28 9/week @ 2026-01-11 178/week @ 2026-01-18 31/week @ 2026-01-25 13/week @ 2026-02-01 16/week @ 2026-02-08 11/week @ 2026-02-15 20/week @ 2026-02-22 339/week @ 2026-03-15 332/week @ 2026-03-22

671 downloads per month
Used in 6 crates

MIT/Apache

380KB
9K SLoC

Build status codecov Dependencies crates.io docs.rs

turn-server-proto

Repository containing an implementation of a simple TURN (RFC5766) server written in the Rust programming language.

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)

Rustls crypto providers

turn-server-proto does not enable any cryptographic providers on rustls. It is the user's responsibility (library or application) to enable and use the relevant cryptographic provider (ring, aws-lc-rs, RustCrypto, etc), that they wish to use.

Dependencies

~10–25MB
~269K SLoC