Cargo Features
[dependencies]
pingora = { version = "0.3.0", default-features = false, features = ["openssl", "boringssl", "proxy", "lb", "cache"] }
- default = openssl
-
The
openssl
feature is set by default wheneverpingora
is added without
somewhere in the dependency tree.default-features = false - openssl default
-
Enables openssl of optional pingora-cache, pingora-core, optional pingora-load-balancing, and optional pingora-proxy
- boringssl
-
Enables boringssl of optional pingora-cache, pingora-core, optional pingora-load-balancing, and optional pingora-proxy
- proxy lb? = pingora-proxy
-
Affects
pingora::proxy
… - lb = pingora-load-balancing, proxy
-
Affects
pingora::lb
… - cache = pingora-cache
-
Affects
pingora::cache
…
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.