pingora
pingora copied to clipboard
Only compile pingora-openssl and its deps when openssl is enabled.
Enabling boringssl should only compile pingora-boringssl but pingora-openssl still gets compiled. This is not what I expected.
This PR fixes this issue by updating the Cargo.toml files for several crates to set default-features to false. This ensures that the openssl feature of pingora-core and its dependency pingora-openssl are only depended on when the openssl feature is enabled.