Cargo Features

naia-server has no features set by default.

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

Enables bevy_support of naia-shared


Enables zstd_support of naia-shared

transport_webrtc = naia-server-socket

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

Enables bevy_ecs ^0.12.1