Cargo Features

[dependencies]
bevy_renet2 = { version = "0.1.0", default-features = false, features = ["serde", "steam", "netcode", "native_transport", "memory_transport", "wt_server_transport", "wt_client_transport", "ws_server_transport", "ws_client_transport"] }
default = netcode

The netcode feature is set by default whenever bevy_renet2 is added without default-features = false somewhere in the dependency tree.

serde

Enables serde of renet2_netcode

renet2_netcode:

Enable serialization

steam

Enables renet2_steam and steamworks

Affects bevy_renet2::steam

netcode default memory_transport? native_transport? ws_client_transport? ws_server_transport? wt_client_transport? wt_server_transport?

Enables renet2_netcode

Affects bevy_renet2::netcode

native_transport = netcode

Enables native_transport of renet2_netcode

renet2_netcode:

Enable native UdpSocket transports

memory_transport = netcode

Enables memory_transport of renet2_netcode

renet2_netcode:

Enable in-memory transports

wt_server_transport = netcode

Enables wt_server_transport of renet2_netcode

renet2_netcode:

Enable the WebTransport server transport

wt_client_transport = netcode

Enables wt_client_transport of renet2_netcode

renet2_netcode:

Enable the WebTransport client transport (WASM only)

ws_server_transport = netcode

Enables ws_server_transport of renet2_netcode

renet2_netcode:

Enable the WebSocket server transport

ws_client_transport = netcode

Enables ws_client_transport of renet2_netcode

renet2_netcode:

Enable the WebSocket client transport (WASM only)