Cargo Features

naia-client has no features set by default.

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

Enables wbindgen of optional naia-client-socket and naia-shared

mquad

Enables mquad of optional naia-client-socket and naia-shared

bevy_support

Enables bevy_support of naia-shared

zstd_support

Enables zstd_support of naia-shared

transport_webrtc = naia-client-socket
transport_udp = base64, local_ipaddress, once_cell, reqwest, tokio

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-client-socket transport_webrtc?
local_ipaddress transport_udp?
base64 transport_udp?

Enables base64 ^0.13

tokio transport_udp?
reqwest transport_udp?

Enables reqwest ^0.11

once_cell transport_udp?