From 1cb871a0f7a276db09a1c2705cd7cc7bb9cff721 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 1 Oct 2019 15:37:52 -0400 Subject: 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). --- rust/README.md | 18 +----------------- 1 file changed, 1 insertion(+), 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: -- cgit v1.2.3