tokio-postgres-rustls icon indicating copy to clipboard operation
tokio-postgres-rustls copied to clipboard

rustls crypto default `aws_lc_rs` v `ring` used in tokio-postgres-rustls

Open rbox-risk opened this issue 1 year ago • 0 comments

Hi thanks for helpful crate.

As of 0.23.0 rustls defaults to use crypto provider aws-lc-rs rustls crate 0.23.0 docs

This project uses rustls = { version = "0.23", default-features = false, features = ["std", "logging", "tls12", "ring"] } enforcing ring (without resorting to patches).

Is there a way we can opt-in to previous non-default features such as ring, rather than having to opt-out of default features of rustls e.g. aligning to rustls via a feature? I'm thinking here of other dependencies separate to tokio-postgres-rustls that may depend on default rustls

rbox-risk avatar Sep 28 '24 12:09 rbox-risk