From 933e164259904959cc8ef2d1e01428214d99429b Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 30 Mar 2021 23:11:52 +0200 Subject: [PATCH] README: add section about installing lohr --- README.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.org b/README.org index 341d31b..a1f250c 100644 --- a/README.org +++ b/README.org @@ -21,6 +21,22 @@ file at the repo root. This is a very destructive process: anything removed from the single source of truth is effectively removed from any mirror as well. +** Installing + +=lohr= is [[https://crates.io/crates/lohr][published on crates.io]], so you can install it with ~cargo install~: + +#+begin_src sh +$ cargo +nightly install lohr +#+end_src + +We currently require a nightly compiler because [[https://github.com/SergioBenitez/Rocket][Rocket]] needs one to compile (a +0.5.0 which compiles on stable Rust is in the making, stay tuned!). You can +install a nightly toolchain with the following command: + +#+begin_src sh +$ rustup install nightly +#+end_src + ** Setup *** Quickstart