Cargo Features

naia-server has no features set by default.

[dependencies]
naia-server = { version = "0.24.0", features = ["bevy_support", "zstd_support", "transport_webrtc", "transport_udp"] }
bevy_support

Enables bevy_support of naia-shared

zstd_support

Enables zstd_support of naia-shared

transport_webrtc = naia-server-socket
transport_udp = base64, http, ring, url

Enables advanced_handshake and transport_udp of naia-shared

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

naia-server-socket transport_webrtc?
ring transport_udp?

Enables ring ^0.16.15

http transport_udp?
base64 transport_udp?

Enables base64 ^0.13

url transport_udp?