Cargo Features
[dependencies]
trunk = { version = "0.20.0", default-features = false, features = ["rustls", "native-tls", "update_check"] }
- 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 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
- native-tls
-
use native-tls/openssl as TLS stack
Enables tls-openssl of axum-server, native-tls of reqwest and tokio-tungstenite
- update_check default = crates_io_api
-
enable the update check on startup
Affects
common::UPDATE
…
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.