Cargo Features

naia-client has no features set by default.

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

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


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

bevy_support = bevy_ecs

Enables bevy_support of naia-shared


Enables zstd_support of naia-shared

transport_webrtc = naia-client-socket
transport_udp = local_ipaddress

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?
bevy_ecs bevy_support?

Enables bevy_ecs ^0.12.1

local_ipaddress transport_udp?