Skip to main content

Crate bevy_s2n_quic

Crate bevy_s2n_quic 

Source
Expand description

§bevy-s2n-quic

An Aeronet compatible Bevy plugin providing network IO with QUIC based on s2n-quic.

§Getting Started

Add the default plugins to your app:

use bevy::prelude::*;
use bevy_s2n_quic::QuicDefaultPlugins;

App::new()
    .add_plugins(QuicDefaultPlugins);

See the simple_net_system example for a basic setup of connecting a server and client

§Feature Flags

FlagDescription
connection-errorsAdds error components when connections fail
stream-errorsAdds error components when streams fail
performance-warnsWarns when buffers fill faster than they drain (default)

Modules§

async_plugin
client
common
server

Structs§

QuicAeronetPlugins
The plugin group for Aeronet event handling.
QuicDefaultPlugins
The default set of plugins needed to make the Bevy Quic components function and handle errors and connection attempts.