Skip to content

wrapper around `tokio-postgres-rustls-improved` for use as a patch

Notifications You must be signed in to change notification settings

khorsolutions/tokio-postgres-rustls-patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tokio-postgres-rustls

crate codecov tests

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.

Usage:

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.

License

tokio-postgres-rustls-improved is distributed under the MIT license

About

wrapper around `tokio-postgres-rustls-improved` for use as a patch

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages