Cargo Features
[dependencies]
trunk = { version = "0.21.7", default-features = false, features = ["rustls", "rustls-aws-lc", "native-tls", "update_check", "vendored"] }
- default = rustls, update_check
-
These default features are set whenever
trunk
is added without
somewhere in the dependency tree.default-features = false - rustls default
-
use rustls as TLS stack
Enables tls-rustls-no-provider of axum-server, rustls-tls and rustls-tls-native-roots of reqwest, rustls and rustls-tls-native-roots of tokio-tungstenite and rustls of crates_io_api
required for the update check
Affects
build::RtcBuild.root_certificate
,build::RtcBuild.accept_invalid_certs
,tools::HttpClientOptions.root_certificate
,tools::HttpClientOptions.accept_invalid_certificates
… - rustls-aws-lc
-
Enables tls-rustls of axum-server, rustls of crates_io_api, rustls-tls and rustls-tls-native-roots of reqwest, rustls and rustls-tls-native-roots of tokio-tungstenite
- native-tls = openssl
-
use native-tls/openssl as TLS stack
Enables tls-openssl of axum-server, native-tls of reqwest and tokio-tungstenite
Affects
build::RtcBuild.root_certificate
,build::RtcBuild.accept_invalid_certs
,tools::HttpClientOptions.root_certificate
,tools::HttpClientOptions.accept_invalid_certificates
… - update_check default = crates_io_api
-
enable the update check on startup
Affects
common::UPDATE
… - vendored
-
enable vendoring on crates supporting that
Enables vendored of optional openssl
for enabling vendoring
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.