postgres_rustls 0.1.2

TLS support for tokio-postgres via tokio-rustls.
Documentation

postgres_rustls

postgres_rustls is a library that adds TLS support to tokio-postgres using tokio-rustls.

Minimum Supported Rust Version (MSRV)

This will frequently be updated to be the same as stable. Specifically, any time stable is updated and that update has "useful" features or compilation no longer succeeds (e.g., due to new compiler lints), then MSRV will be updated.

MSRV changes will correspond to a SemVer patch version bump pre-1.0.0; otherwise a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Before any PR is sent, cargo clippy and cargo t should be run for both --no-default-features and --all-features. Additionally RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features should be run to ensure documentation can be built.

Note when running cargo t for the ignored tests, you will need to make sure PostgreSQL is set up properly. You will need to modify some of the files in test_data/. See test_data/README.md for more information.

Status

This package is actively maintained and will conform to the latest versions of tokio-postgres and tokio-rustls.

The crate is only tested on x86_64-unknown-linux-gnu and x86_64-unknown-openbsd targets, but it should work on most platforms.