From e073fa9b41a47c6a33b232f5eda55b977b0b9c59 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 26 Jan 2022 18:20:22 -0800 Subject: update rust README dependency section (ubuntu focal) --- rust/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'rust') 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 -- cgit v1.2.3