summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-10-01 15:37:52 -0400
committerBryan Newbold <bnewbold@robocracy.org>2019-10-01 15:37:54 -0400
commit1cb871a0f7a276db09a1c2705cd7cc7bb9cff721 (patch)
treeaef87ae84af92c326891e352c51ac306c9b940ca
parentd17712902a17fad39f2f668d7f46bc5e42bb120d (diff)
downloadfatcat-1cb871a0f7a276db09a1c2705cd7cc7bb9cff721.tar.gz
fatcat-1cb871a0f7a276db09a1c2705cd7cc7bb9cff721.zip
update rust README re: openssl
I believe an openssl library is still required locally, but with the SSL/TLS removal it now doesn't matter if it is OpenSSL 1.0 or 1.1. This is only a temporary work-around. When we update rust code generation, we will need to revisit these changes. The current version of swagger-rs still depends on HTTPS and OpenSSL 1.0 (via dependencies).
-rw-r--r--rust/README.md18
1 files changed, 1 insertions, 17 deletions
diff --git a/rust/README.md b/rust/README.md
index 2f67c1f8..875bd274 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -23,7 +23,7 @@ do development work:
- postgres (compatible with 9.6+; we run 11.x in production)
- postgres libs (debian/ubuntu: `libsqlite3-dev libpq-dev`)
- libsodium library and development headers (debian/ubuntu: `libsodium-dev`)
-- OpenSSL 1.0 (not compatible with 1.1; see "OpenSSL 1.0" section below)
+- OpenSSL
We need to create a new `fatcat` postgres user and database to run tests and
develop with. On debian/ubuntu, a UNIX account named `postgres` is
@@ -60,22 +60,6 @@ Note that most "integration" level tests are written in python and run by
See `HACKING` for some more advanced tips and commands.
-### OpenSSL 1.0
-
-Ubuntu bionic (18.04) and later ship with OpenSSL 1.1, you can install OpenSSL
-1.0 with:
-
- # note that libssl1.0-dev conflicts with libssl-dev
- sudo apt install openssl1.0 libssl1.0-dev
-
-And then build with:
-
- cargo clean
- OPENSSL_LIB_DIR="/usr/lib/x86_64-linux-gnu" OPENSSL_INCLUDE_DIR="/usr/include/openssl" cargo build --release
-
-There is a [github tracking issue](https://github.com/internetarchive/fatcat/issues/42)
-for this dependency problem.
-
## Configuration
All configuration goes through environment variables, the notable ones being: