Cargo Features
[dependencies]
lemmy-client = { version = "1.0.3", default-features = false, features = ["default-tls", "native-tls", "rustls-tls", "leptos"] }
- default = default-tls
-
The
default-tls
feature is set by default wheneverlemmy-client
is added without
somewhere in the dependency tree.default-features = false - default-tls default
-
Enables default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- native-tls
-
Enables native-tls of reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- rustls-tls
-
Enables rustls-tls of reqwest
- leptos
-
Enables leptos, AbortController of web-sys
LemmyClient has 5 features without comments.