Cargo Features

[dependencies]
lightyear_webtransport = { version = "0.25.3", default-features = false, features = ["client", "server", "self-signed", "dangerous-configuration"] }
default = self-signed

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

client

Enables client of aeronet_webtransport

aeronet_webtransport:

Enables the client module.

Affects lightyear_webtransport::client, lightyear_webtransport::prelude.client

server

Enables std of bevy_reflect and server of aeronet_webtransport

aeronet_webtransport:

Enables the server module.

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-configuration and 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.

bevy_reflect server?