summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-01-26 18:20:22 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-01-26 18:20:22 -0800
commite073fa9b41a47c6a33b232f5eda55b977b0b9c59 (patch)
tree98365ac6c922ae91e3a0a6303cc5d18158aef832
parent909eb1e37214fe0d5f0efb54bb37700cf10c7013 (diff)
downloadfatcat-e073fa9b41a47c6a33b232f5eda55b977b0b9c59.tar.gz
fatcat-e073fa9b41a47c6a33b232f5eda55b977b0b9c59.zip
update rust README dependency section (ubuntu focal)
-rw-r--r--rust/README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/rust/README.md b/rust/README.md
index e9752fa7..38882398 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -18,12 +18,14 @@ The SQL database schema (and migrations) are under `./migrations/`.
You need the following dependencies installed locally to build, run tests, and
do development work:
-- rust stable, 2018 edition, 1.36+ (eg, via "rustup", includes cargo tool)
+- rust stable, minimum supported version 1.41, 2018 edition, (eg, via "rustup", includes cargo tool)
- diesel (`cargo install diesel_cli`)
-- postgres (compatible with 9.6+; we run 11.x in production)
-- postgres libs (debian/ubuntu: `libsqlite3-dev libpq-dev`)
+- postgresql (we run 13.x in production; should be forwards-compatible, and likely works back to 9.6, but not tested)
+- postgresql libs (debian/ubuntu: `libsqlite3-dev libpq-dev`)
- libsodium library and development headers (debian/ubuntu: `libsodium-dev`)
-- OpenSSL
+
+The best supported environment for development and deployment is Ubuntu Focal
+LTS (20.04) (as of January 2022).
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