Cargo Features

[dependencies]
launchdarkly-server-sdk = { version = "2.4.1", default-features = false, features = ["rustls", "event-compression"] }
default = rustls

The rustls feature is set by default whenever launchdarkly-server-sdk is added without default-features = false somewhere in the dependency tree.

rustls default

Enables rustls of eventsource-client, http1 and http2 of hyper-rustls ^0.24.1

event-compression = flate2

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.

hyper-rustls rustls

Enables hyper-rustls ^0.24.1

flate2 event-compression?