From 1fadc52731fe40464f1257de994ac71afe9c2f79 Mon Sep 17 00:00:00 2001 From: Mathijs van Veluw Date: Sun, 5 Mar 2023 10:33:35 +0100 Subject: [PATCH] Updated Building binary (markdown) --- Building-binary.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Building-binary.md b/Building-binary.md index b33fb1a..195babc 100644 --- a/Building-binary.md +++ b/Building-binary.md @@ -1,9 +1,17 @@ +--- +> :information_source: **NOTE:** The (**MSRV**) Minimum Support Rust Version policy is **N-2**, which means that if the current Rust version is **v1.67**, we support building with **v1.65**, and when **v1.69** is stable, the MSRV would be **v1.67**.
+That means that new Rust features which come to stable can not be used once a new stable has been released, but have to wait for two more releases.
+To be sure you are using the stable version we strongly suggest to use [rustup](https://rustup.rs/) which makes installing and updating Rust very easy.
+Any version below the MSRV will generate a warning, and you are on your own when forcing to build with an older version. +--- + This page is primarily for those interested in vaultwarden development, or who have a specific reason for wanting to build their own binary. Typical users should either [[deploy via Docker|Which-container-image-to-use]], [[extract the pre-built binaries|Pre-built binaries]] from the Alpine-based Docker images, or look for a [[third-party package|Third-party-packages]]. ## Dependencies -- `Rust stable` (strongly recommended to use [rustup](https://rustup.rs/)) +- `Rust stable` (strongly recommended to use [rustup](https://rustup.rs/))
+ :warning: The (MSRV) minimum support Rust version is **N-2**, which means that if the current Rust version is **v1.67**, we support building with **v1.65**.
- On a Debian based distro some general packages to make sure building should go fine install the following: `build-essential`, `git` - `OpenSSL` (should be available in path, see [openssl crate docs](https://docs.rs/openssl/latest/openssl/#automatic)) On a Debian based distro, you need to install `pkg-config` and `libssl-dev`