bump minimum Rust to 1.57

Addresses a breakage with cdfb61f. the `named-profile` feature
wasn't available in 1.56.
This commit is contained in:
Scott Lamb 2022-04-14 10:58:23 -07:00
parent cdfb61fb35
commit 2e49a1a0c8
4 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@ jobs:
name: Rust ${{ matrix.rust }}
strategy:
matrix:
rust: [ "stable", "1.56", "nightly" ]
rust: [ "stable", "1.57", "nightly" ]
include:
- rust: nightly
extra_args: "--features nightly --benches"

View File

@ -11,6 +11,7 @@ Each release is tagged in Git and on the Docker repository
* [#219](https://github.com/scottlamb/moonfire-nvr/issues/219): fix
live stream failing with `ws close: 1006` on URLs with port numbers.
* build Docker images with link-time optimization.
* bump minimum Rust version to 1.57.
## 0.7.4 (2022-04-13)

View File

@ -207,7 +207,7 @@ following command:
$ brew install node
```
Next, you need Rust 1.56+ and Cargo. The easiest way to install them is by
Next, you need Rust 1.57+ and Cargo. The easiest way to install them is by
following the instructions at [rustup.rs](https://www.rustup.rs/). Avoid
your Linux distribution's Rust packages, which tend to be too old.
(At least on Debian-based systems; Arch and Gentoo might be okay.)

View File

@ -5,6 +5,7 @@ authors = ["Scott Lamb <slamb@slamb.org>"]
edition = "2018"
resolver = "2"
license-file = "../LICENSE.txt"
rust-version = "1.57"
[features]