Registry / networking / quinn-udp

quinn-udp

JSON →
library0.6.0rscratesunverified

UDP sockets with ECN information for the QUIC transport protocol.

# Cargo.toml [dependencies] quinn-udp = "0.6.0"
INSTALL
IMPORT
SIG · QUINN-UDP
Q
quinn-udp
networkingrustv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UdpSocket
use quinn_udp::UdpSocket;

Binds a UDP socket with ECN support.

use quinn_udp::UdpSocket; use std::net::SocketAddr; fn main() { let addr: SocketAddr = "127.0.0.1:0".parse().unwrap(); let socket = UdpSocket::bind(addr).unwrap(); println!("Bound to {}", socket.local_addr().unwrap()); }
Debug
Known issues
gotchaRequires a runtime that supports async I/O (e.g., tokio).
fix
Use with an async runtime like tokio or async-std.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Resources
quinn-udp — cargo add quinn-udp · libregistry