We're holding back two things:
- Postgres 12 and up breaks `libpq-sys`.
- Ubuntu 20.04 breaks `sqlx`.
We intend to merge this branch as the main release.
`sqlx` requires linking against OpenSSL twice:
- `sqlx-macros` needs to link against OpenSSL as a shared libary for use
at compile time.
- `sqlx` needs to link against OpenSSL a static library for use at
runtime.
You can find the details here:
https://github.com/launchbadge/sqlx/issues/670https://github.com/sfackler/rust-openssl/issues/1337
We go with the fix proposed by @sfackler, and add a test program that we
can use to verify everything works correctly.
We remove a few `OPENSSL`-related variables that were added 4 years ago,
and that no longer appear to be needed.
It turns out that some popular libaries still have problems with OpenSSL
1.1, particularly `postgres` 0.15. So we'll build two sets of images
now.
We also explain the new image tagging scheme, and fix a bug wher the
test script didn't test the newly built image.
Fixes#27, or at least works around it.
This deals with the issues mentioned in
https://github.com/sgrif/pq-sys/pull/18, and it relies heavily on ideas
from @golddranks and @clux.