Commit Graph

36 Commits

Author SHA1 Message Date
Eric Kidd 0dab4b64c7 Update everything we can
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.
2021-01-04 14:24:29 -05:00
Eric Kidd 089001b45a Update documentation for `sqlx`
We also add a `CHANGELOG.md` file.
2020-09-04 08:40:24 -04:00
Eric Kidd 727d912b3b Add support for static linking of `sqlx`
`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/670
https://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.
2020-09-03 16:24:49 -04:00
Eric Kidd 47be0cd958 Update dependencies and docs 2020-06-05 09:22:59 -04:00
Marcus Bitzl b5214bc618 Add cargo deb support 2020-05-13 09:22:17 +02:00
Eric Kidd 1f2f0260c1 Build OpenSSL 1.1.1 by default (fixes #91)
OpenSSL 1.0.2 has reached its end-of-life and it will no longer recieve
security fixes. So we're changing our tagging scheme.
2020-04-10 09:26:17 -04:00
Eric Kidd 2e1bf11f3c Update mdbook & add graphviz support
We add the handy mdbook-graphviz plugin, which allows us to include
inline DOT diagrams in our manuals. Nice!
2020-03-28 16:21:52 -04:00
Tom Fay 8f2936c318 Use ADD --chown 2019-11-13 10:14:16 +00:00
Eric Kidd 318c95d365 Remove obsolete note 2019-04-28 13:55:14 -04:00
Eric Kidd 17db9d6272 Update README for new images 2019-04-28 13:37:21 -04:00
Eric Kidd e50cbda169 Allow building with OpenSSL 1.0 or 1.1
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.
2019-04-27 09:21:32 -04:00
Eric Kidd 8f3d28c26e examples/using-diesel: Fix link errors 2019-04-18 11:34:20 -04:00
Eric Kidd 14ff0ce4bf Add cargo-audit support 2018-07-25 07:10:46 -04:00
Eric Kidd 7119ebae22 Add hints on how to cache builds 2018-07-09 09:08:59 -04:00
Eric Kidd 79804c01e6 Add extra hint about `diesel` setup 2018-07-09 08:20:11 -04:00
Eric Kidd bc32059eee Update documentation for making `diesel` work 2018-04-25 07:02:35 -04:00
Eric Kidd 96abda6d77 Add support for `mdbook` (for documentation) 2018-04-25 06:52:32 -04:00
snobu 70ba887f66 Reworded README for multi target 2018-03-26 13:01:57 +03:00
snobu a770dbe45e Fix README for musl ARM target 2018-03-26 12:52:56 +03:00
Adrian Calinescu 8fc88ff03a
Added ARMhf build info to README 2018-03-25 17:39:23 +03:00
Eric Kidd d33fbc37d2 Add `sqlite` support for `diesel` applications (fixes #28)
This appears to work fine from inside an Alpine container, but it hasn't
been extensively tested yet.
2017-12-16 16:15:02 -05:00
Eric Kidd 4959d3188a Fix `build-release` example to work on current TravisCI
The Travis UUID has been changed from 1000 to 2000, so now making images
is considerably more annoying than before.
2017-10-24 09:37:21 -04:00
Eric Kidd 0c08aa7e47 Add link to golddranks/rust_musl_docker 2017-10-24 09:07:57 -04:00
Eric Kidd fcc6921ddb Add working example and test case for diesel
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.
2017-10-24 09:05:22 -04:00
Eric Kidd 4ab9c3461f Link to some similar tools 2017-10-24 09:04:32 -04:00
Eric Kidd ac72ab16ab Demo multi-stage Docker containers 2017-10-13 07:13:10 -04:00
Eric Kidd 372d547138 Add libz and libpq to support diesel 2017-09-26 09:26:46 -04:00
Eric Kidd 33fc8d98f3 Edit documentation for `openssl-probe`
@dkastner tested this out this proposed code snippet from @cssivision. Thank you!
2017-09-15 11:55:08 -04:00
cssivision d9d0f9fba1 Add openssl certificate look up 2017-07-26 12:57:29 +08:00
Eric Kidd 1bf7dc854e Add instructions for building releases with Travis CI 2016-09-12 08:39:22 -04:00
Eric Kidd ae38d01259 Remind myself how to release this correctly 2016-09-12 06:48:26 -04:00
Eric Kidd 6193f455bf Fix typo in README.md 2016-04-17 07:46:15 -04:00
Eric Kidd 09c9198dc1 Add licenses 2016-04-17 07:45:08 -04:00
Eric Kidd 1bae9725ae Overhaul extensively and add test script 2016-04-17 07:42:09 -04:00
Eric Kidd 16962993f9 Use tag `stable` for example derived Dockerfile 2016-04-17 06:29:44 -04:00
Eric Kidd 0d3bf73856 Create initial Dockerfile and README.md
This seems to work fine locally.
2016-04-16 10:00:12 -04:00