readme: update for stable rust
This commit is contained in:
parent
57efbe2937
commit
546e3b9452
12
README.md
12
README.md
|
@ -26,22 +26,20 @@ License along with Hagrid. If not, see
|
||||||
Quick Start
|
Quick Start
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Building Hagrid requires a working nightly Rust toolchain. The
|
Building Hagrid requires a working stable Rust toolchain.
|
||||||
easiest way to get the toolchain is to download [rustup](https://rustup.rs).
|
The easiest way to get the toolchain is to download [rustup](https://rustup.rs).
|
||||||
|
|
||||||
Additionally, install external dependencies are required. Get them (on Debian or
|
Additionally, some external dependencies are required.
|
||||||
Ubuntu) with
|
Get them (on Debian or Ubuntu) with
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install gnutls-bin nettle-dev gcc llvm-dev libclang-dev build-essential pkg-config gettext
|
sudo apt install gnutls-bin nettle-dev gcc llvm-dev libclang-dev build-essential pkg-config gettext
|
||||||
```
|
```
|
||||||
|
|
||||||
After rustup and all other dependencies are installed, get the nightly compiler and tools, copy the
|
After Rust and the other dependencies are installed, copy the config file, then simply compile and run:
|
||||||
config file, and simply compile and run:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd hagrid
|
cd hagrid
|
||||||
rustup override set nightly-2020-06-01
|
|
||||||
cp Rocket.toml.dist Rocket.toml
|
cp Rocket.toml.dist Rocket.toml
|
||||||
cargo run
|
cargo run
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue