You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should support at least aws-lc-rs, because it is now the standard crypto library.
Proposed Solutions
Add feature like runtime-{}-rustls-ring (default via runtime-{}-rustls) and runtime-{}-rustls-aws-lc-rs
Additional Information
This isn't so much about one library offering advantages over another, but rather the problem that the lack of customization can lead to conflicts across libraries when someone hardcodes a variant.
I don't think it's a good idea to keep adding feature flags just to pass through SQLx's TLS backend options, especially since we may support other drivers in the future. I think it would be better to decouple these options.
Activity
Huliiiiii commentedon Oct 8, 2026
I added some documentation about this in #3227.
I don't think it's a good idea to keep adding feature flags just to pass through SQLx's TLS backend options, especially since we may support other drivers in the future. I think it would be better to decouple these options.