Cargo Features

[dependencies]
actix-client-ip-cloudflare = { version = "0.2.0", default-features = false, features = ["fetch-ips", "fetch-ips-rustls", "fetch-ips-openssl"] }
default = fetch-ips

The fetch-ips feature is set by default whenever actix-client-ip-cloudflare is added without default-features = false somewhere in the dependency tree.

fetch-ips default = fetch-ips-rustls

Affects fetch_cf_ips::fetch_trusted_cf_ips

fetch-ips-rustls fetch-ips = awc

Enables rustls of awc

awc:

TLS via Rustls v0.20

fetch-ips-openssl = awc

Enables openssl of awc

awc:

TLS via OpenSSL

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.

awc fetch-ips-openssl? fetch-ips-rustls?