Cargo Features

[dependencies]
lightyear_websocket = { version = "0.25.5", default-features = false, features = ["client", "server", "self-signed"] }
default = self-signed

The self-signed feature is set by default whenever lightyear_websocket is added without default-features = false somewhere in the dependency tree.

client

Enables client of aeronet_websocket

aeronet_websocket:

Enables the client module.

Affects lightyear_websocket::client, lightyear_websocket::prelude.client

server

Enables std of bevy_reflect and server of aeronet_websocket

aeronet_websocket:

Enables the server module.

Affects lightyear_websocket::server, lightyear_websocket::prelude.server

self-signed default

Enables wtransport/self-signed, allowing you to generate self-signed certificates easily for use in a server.

Note that, without explicitly allowing your server's self-signed certificate, clients will not be able to connect to a server with self-signed certificates.

Enables self-signed of aeronet_websocket

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.

bevy_reflect server?