srt-runtime 0.11.0

SRT (Secure Reliable Transport, draft-sharabayko-srt-01) packet codecs + sans-IO HSv5 Caller-Listener and Rendezvous handshake state machines, an ARQ reliability engine, a TSBPD delivery scheduler, LiveCC packet pacing, FileCC window-based congestion control, optional (crypto feature) payload encryption, and an optional (tokio feature) async UDP socket adapter; no_std core.
Documentation
//! Handshakes must stay movable between threads, or a connection cannot be
//! run as its own task on a multi-thread runtime. A `Cell`/`Rc` added later
//! would break that silently; these fail to compile instead.

use srt_runtime::{CallerHandshake, ListenerHandshake, RendezvousHandshake};

fn assert_send<T: Send>() {}

#[test]
fn handshakes_can_run_as_their_own_task() {
    assert_send::<CallerHandshake>();
    assert_send::<ListenerHandshake>();
    assert_send::<RendezvousHandshake>();
}

#[cfg(feature = "tokio")]
#[test]
fn the_socket_adapters_can_run_as_their_own_task() {
    use srt_runtime::io::{SrtListener, SrtSocket};
    assert_send::<SrtSocket>();
    assert_send::<SrtListener>();
}