diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-03 10:43:52 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-03 10:43:54 -0800 |
commit | a330cbb94c90aa79bb5016d83540c99e671a91f3 (patch) | |
tree | 92265cecf58c59a99a1e267a0c687a65fdc9b9f6 | |
parent | 2f116294dd662df6b76ea431aa56c6cd8ea4193b (diff) | |
download | fatcat-a330cbb94c90aa79bb5016d83540c99e671a91f3.tar.gz fatcat-a330cbb94c90aa79bb5016d83540c99e671a91f3.zip |
bump required rust to 1.36
This isn't a fatcat rust requirement, but instead a diesel requirement,
via rust-smallvec, which in v1.0 uses the alloc crate:
https://github.com/servo/rust-smallvec/issues/73
I think the reason this came up now is that diesel-cli is an
application and doesn't have a Cargo.lock file, and the build was
updated. Using some binary mechanism to install these dependencies would
be more robust, but feels like a yak shave right now.
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | rust/README.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 961c47de..c44f44ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ variables: PIPENV_VENV_IN_PROJECT: "true" CARGO_HOME: ".cargo_cache" -image: "rust:1.35-stretch" +image: "rust:1.36-stretch" unified_test: variables: diff --git a/rust/README.md b/rust/README.md index c0bfa52d..6f213629 100644 --- a/rust/README.md +++ b/rust/README.md @@ -18,7 +18,7 @@ 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.34+ (eg, via "rustup", includes cargo tool) +- rust stable, 2018 edition, 1.36+ (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`) |