Cargo Features
[dependencies]
aeronet_webtransport = { version = "0.11.0", default-features = false, features = ["client", "server", "self-signed", "dangerous-configuration", "document-features"] }
- default = self-signed
-
The
self-signed
feature is set by default wheneveraeronet_webtransport
is added without
somewhere in the dependency tree.default-features = false - client
-
Enables the
client
module.Affects
aeronet_webtransport::client
… - server
-
Enables the
server
module. - 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 wtransport ^0.3.1
- 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 wtransport ^0.3.1
- document-features
-
Enable this when generating docs.
Enables document-features