Rust, Postgres and openssl

Thank you. That is good to know. Things look very different in the 0.15.2 tag.

I have now tried building the cockroachlabs secure example against a bunch of postgres crate releases, 15.2, 14 something, ...all the way down to 10 something. None of them work. Failing with

error[E0433]: failed to resolve: could not find `tls` in `postgres`

and the like,

The cockroachlabs example is here: Build a Rust App with CockroachDB and the Rust-Postgres Driver | CockroachDB Docs It says noting useful about when it was written or what versions it was written against. It does contain the warning:

// Warning! This API will be changing in the next version of these crates.

The upshot of all this is that I'm totally lost. Nothing works and there is no hint of documentation anywhere. Couple that with my being very new to Rust and it's hopeless.

I do have an insecure connection working and can make queries to my hearts content. So all I need is a dummies guide, a holding hand and a working example of how to make a secure connection.