Cargo Features
[dependencies]
lightyear_webtransport = { version = "0.25.3", default-features = false, features = ["client", "server", "self-signed", "dangerous-configuration"] }
- default = self-signed
-
The
self-signedfeature is set by default wheneverlightyear_webtransportis added withoutsomewhere in the dependency tree.default-features = false - client
-
Enables client of aeronet_webtransport
aeronet_webtransport:
Enables the
clientmodule.Affects
lightyear_webtransport::client,lightyear_webtransport::prelude.client… - server
-
Enables std of bevy_reflect and server of aeronet_webtransport
aeronet_webtransport:
Enables the
servermodule.Affects
lightyear_webtransport::server,lightyear_webtransport::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 (or using
dangerous-configurationand disabling certificate validation), clients will not be able to connect to a server with self-signed certificates.Enables self-signed of aeronet_webtransport
- dangerous-configuration
-
Enables
wtransport/dangerous-configuration, allowing you to use potentially dangerous certificate validation configurations.You should not use dangerous configurations in production builds of your app.
Enables dangerous-configuration of aeronet_webtransport
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.