diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54a082f..233ff31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f46c41..0e8cbea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/guide/build.md b/guide/build.md index de34a48..0e6cae0 100644 --- a/guide/build.md +++ b/guide/build.md @@ -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.) diff --git a/server/Cargo.toml b/server/Cargo.toml index 8c54559..21552ee 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Scott Lamb "] edition = "2018" resolver = "2" license-file = "../LICENSE.txt" +rust-version = "1.57" [features]