Cargo Features
[dependencies]
lightyear_websocket = { version = "0.25.5", default-features = false, features = ["client", "server", "self-signed"] }
- default = self-signed
-
The
self-signedfeature is set by default wheneverlightyear_websocketis added withoutsomewhere in the dependency tree.default-features = false - client
-
Enables client of aeronet_websocket
aeronet_websocket:
Enables the
clientmodule.Affects
lightyear_websocket::client,lightyear_websocket::prelude.client… - server
-
Enables std of bevy_reflect and server of aeronet_websocket
aeronet_websocket:
Enables the
servermodule.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.