Require Rust v1.42

This commit is contained in:
Arne Beer 2020-11-13 19:23:20 +01:00
parent 47e4767d4c
commit 72059d37da
2 changed files with 3 additions and 3 deletions

View file

@ -118,7 +118,7 @@ Just download both binaries for your system, rename them to `pueue` and `pueued`
#### Via Cargo
You'll need Rust version `>=1.39`
You'll need Rust version `>=1.42`
```bash
cargo install pueue
@ -128,7 +128,7 @@ This will install pueue to `~/.cargo/bin/pueue`
#### From source
You'll need Rust version `>=1.39`
You'll need Rust version `>=1.42`
```bash
git clone git@github.com:Nukesor/pueue

View file

@ -1,7 +1,7 @@
use ::version_check;
fn main() {
if !version_check::is_min_version("1.39.0").unwrap_or(false) {
if !version_check::is_min_version("1.42.0").unwrap_or(false) {
eprintln!("Pueue needs to be build with Rust version >=1.39");
eprintln!("Please update your rust version to stable.");
std::process::exit(1);