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 wheneveractix-client-ip-cloudflare
is added without
somewhere in the dependency tree.default-features = false - fetch-ips default = fetch-ips-rustls
-
Affects
fetch_cf_ips::fetch_trusted_cf_ips
… - fetch-ips-rustls fetch-ips = awc
-
awc:
TLS via Rustls v0.20
- fetch-ips-openssl = 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.