From 3b6e969972bfe4ab4669dd0aa5c86ee3e8ec0291 Mon Sep 17 00:00:00 2001 From: Mathijs van Veluw Date: Wed, 29 Jun 2022 16:13:43 +0200 Subject: [PATCH] Updated Building binary (markdown) --- Building-binary.md | 58 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 18 deletions(-) diff --git a/Building-binary.md b/Building-binary.md index e6be80d..4ca603b 100644 --- a/Building-binary.md +++ b/Building-binary.md @@ -3,15 +3,14 @@ This page is primarily for those interested in vaultwarden development, or who h 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 nightly` (strongly recommended to use [rustup](https://rustup.rs/)) +- `Rust stable` (strongly recommended to use [rustup](https://rustup.rs/)) - 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/0.10.16/openssl/#automatic)) +- `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` - For the SQlite3 backend on a Debian based distro you need to install `libsqlite3-dev` - For the MySQL backend on a Debian based distro you need to install `libmariadb-dev-compat` and `libmariadb-dev` - For the PostgreSQL on a Debian based distro you need to install `libpq-dev` and `pkg-config` -- `NodeJS` (only when compiling the web-vault, install through your system's package manager, use the [prebuilt binaries](https://nodejs.org/en/download/)) or [nodesource binary distribution](https://github.com/nodesource/distributions) -*Note: web-vault currently uses a package base (e.g. node-sass