From e551d67278bcd4889ad235f0c19f014a03b90678 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Fri, 15 Sep 2023 07:14:22 +0200 Subject: [PATCH] chore: msrv 1.70.0 --- .github/workflows/devel.yml | 2 +- Cargo.toml | 3 ++- docs/content/building-from-source.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/devel.yml b/.github/workflows/devel.yml index 39601a0..ada860a 100644 --- a/.github/workflows/devel.yml +++ b/.github/workflows/devel.yml @@ -60,7 +60,7 @@ jobs: # Specific Rust channels - build: pinned os: ubuntu-22.04 - rust: 1.66.0 + rust: 1.70.0 - build: stable os: ubuntu-22.04 rust: stable diff --git a/Cargo.toml b/Cargo.toml index 90c1d24..ecf9b97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,8 @@ [package] name = "static-web-server" version = "2.21.1" +edition = "2021" +rust-version = "1.70.0" authors = ["Jose Quintana "] license = "MIT OR Apache-2.0" description = "A cross-platform, high-performance and asynchronous web server for static files-serving." @@ -13,7 +15,6 @@ keywords = [ "http-server" ] categories = ["network-programming", "web-programming::http-server"] -edition = "2021" include = [ "src/**/*.rs", "Cargo.toml", diff --git a/docs/content/building-from-source.md b/docs/content/building-from-source.md index 75d6fbd..c69d321 100644 --- a/docs/content/building-from-source.md +++ b/docs/content/building-from-source.md @@ -6,7 +6,7 @@ Follow these instructions to either build **`SWS`** project from the source or t If you want to build **SWS** from the source, all you need is a [Rust 2021 Edition](https://blog.rust-lang.org/2021/05/11/edition-2021.html) installed. -So make sure to install Rust [1.66.0](https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html) or higher (or nightly) along with [the toolchain(s)](https://rust-lang.github.io/rustup/concepts/toolchains.html) of your preference. +So make sure to install Rust [1.70.0](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html) or newer (or nightly) along with [the toolchain(s)](https://rust-lang.github.io/rustup/concepts/toolchains.html) of your preference. Then clone the repository and use [Cargo](https://doc.rust-lang.org/cargo/) to build the project from the source. -- libgit2 1.7.2