refinery
refinery copied to clipboard
New version forces compilation of native-TLS
With the new version, it's enforced that native TLS is compiled as soon as you enable tokio-postgres. Is it possible to move that to another feature?
Previously, we had this feature section:
tokio-postgres = ["dep:tokio-postgres", "tokio", "tokio/rt"]
but now we have
tokio-postgres = ["dep:postgres-native-tls", "dep:native-tls", "dep:tokio-postgres", "tokio", "tokio/rt"]
Just hit this as well. I was previously establishing my own connection with my own TLS based on rustls, but now I have a native-tls dependency I would prefer not to use.