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 hyper feature is set by default whenever eventsource-client is added without default-features = false somewhere in the dependency tree.

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 hyper feature 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.