Cargo Features
[dependencies]
eventsource-client = { version = "0.17.1", default-features = false, features = ["hyper", "native-tls", "hyper-rustls-native-roots", "hyper-rustls-webpki-roots"] }
- default = hyper
-
The
hyperfeature is set by default whenevereventsource-clientis added withoutsomewhere in the dependency tree.default-features = false - hyper default hyper-rustls-native-roots? hyper-rustls-webpki-roots? native-tls?
-
Enables hyper of launchdarkly-sdk-transport
launchdarkly-sdk-transport:
hyper: Enable hyper v1 HTTP client implementation (HTTP-only).
Includes proxy support, timeouts, and HTTP/1 + HTTP/2.
Use this for plain HTTP connections or when TLS is handled elsewhere. - native-tls = hyper
-
Enables native-tls of launchdarkly-sdk-transport
launchdarkly-sdk-transport:
hyper-tls: Enable HTTPS support using the native TLS library. Includes all
hyperfeature dependencies plus native TLS for HTTPS. Use this for HTTPS connections when you want to use the platform's native TLS implementation. - hyper-rustls-native-roots = hyper
-
Enables hyper-rustls-native-roots of launchdarkly-sdk-transport
launchdarkly-sdk-transport:
hyper-rustls-native-roots: Enable HTTPS support using rustls with native root certificates.
- hyper-rustls-webpki-roots = hyper
-
Enables hyper-rustls-webpki-roots of launchdarkly-sdk-transport
launchdarkly-sdk-transport:
hyper-rustls-webpki-roots: Enable HTTPS support using rustls with webpki root certificates.
eventsource-client has 5 features without comments.