NOTE: This is a one-line shim to re-export tokio-postgres-rustls-improved in projects where tokio-postgres-rustls is in the dependency tree through a 3rd part crate; the original tokio-postgres-rustls repo appears to be unmaintained and has known bugs with virtually no test coverage or CI pipeline.
This crate is NOT PUBLISHED and is not intended to be used as a direct dependency. It is meant to be used with cargo patch to replace tokio-postgres-rustls in projects where tokio-postgres-rustls is in the depdency tree through 3rd party crates and is not easily changed to tokio-postgres-rustls-improved.
Please note that this shim uses ring by default to maintain compatibility with the last released version of tokio-postgres-rustls. The upstream tokio-postgres-rustls-improved defaults to aws-lc-rs.
With ring (to maintain parity with original tokio-postgres-rustls):
[patch.crates-io]
tokio-postgres-rustls = { git = "https://github.com/khorsolutions/tokio-postgres-rustls-patch.git", tag = "ring" }With aws-lc-rs (default for tokio-postgres-rustls and upstream rustls):
[patch.crates-io]
tokio-postgres-rustls = { git = "https://github.com/khorsolutions/tokio-postgres-rustls-patch.git", tag = "aws-lc-rs" }Please note that tags are used since features are not supported via cargo's patch feature at this time.
tokio-postgres-rustls-improved is distributed under the MIT license