#gamedev #quic #networking #bevy #require

aeronet_wt_native

Native WebTransport transport implementation for aeronet

6 releases (3 breaking)

0.4.0 Dec 14, 2023
0.3.0 Nov 5, 2023
0.2.0 Oct 23, 2023
0.1.4 Oct 9, 2023

#51 in #require

MIT/Apache

65KB
1.5K SLoC

aeronet_wt_native

crates.io docs.rs

A WebTransport transport implementation of aeronet, which uses the QUIC protocol under the hood to provide reliable streams and unreliable datagrams.

This transport can be used in a native app to provide a client and server transport using wtransport as the WebTransport protocol implementation. Using this requires the tokio async runtime.

Transport

Before a message (of a user-specified type) can be transported along a WebTransport connection, it must first be converted to/from its serialized byte form. This is achieved using aeronet::TryIntoBytes and aeronet::TryFromBytes. The transport will not process the bytes any further than converting the bytes using these functions - the implementation will not do any higher-level functions such as message batching.

Dependencies

~20–36MB
~662K SLoC