README: add section about installing lohr

This commit is contained in:
Antoine Martin 2021-03-30 23:11:52 +02:00
parent a516d841e1
commit 933e164259

View file

@ -21,6 +21,22 @@ file at the repo root.
This is a very destructive process: anything removed from the single source of This is a very destructive process: anything removed from the single source of
truth is effectively removed from any mirror as well. 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 ** Setup
*** Quickstart *** Quickstart