Bump MSRV to 1.60

This commit is contained in:
Simon Hausmann 2022-07-26 08:51:13 +02:00 committed by Simon Hausmann
parent 20d5cb72ed
commit fe3d4b7177
13 changed files with 13 additions and 12 deletions

View file

@ -16,7 +16,7 @@ FetchContent_Declare(
FetchContent_MakeAvailable(Corrosion)
list(PREPEND CMAKE_MODULE_PATH ${Corrosion_SOURCE_DIR}/cmake)
find_package(Rust 1.59 REQUIRED MODULE)
find_package(Rust 1.60 REQUIRED MODULE)
option(SLINT_FEATURE_COMPILER "Enable support for compiling .slint files to C++ ahead of time" ON)

View file

@ -12,7 +12,7 @@ description = "Slint C++ integration"
repository = "https://github.com/slint-ui/slint"
homepage = "https://slint-ui.com"
publish = false
rust-version = "1.59"
rust-version = "1.60"
# prefix used to convey path to generated includes to the C++ test driver
links = "slint_cpp"

View file

@ -30,7 +30,7 @@ The recommended and most flexible way to use the C++ API is to build Slint from
First you need to install the prerequisites:
* Install Rust by following the [Rust Getting Started Guide](https://www.rust-lang.org/learn/get-started). If you already
have Rust installed, make sure that it's at least version 1.59 or newer. You can check which version you have installed
have Rust installed, make sure that it's at least version 1.60 or newer. You can check which version you have installed
by running `rustc --version`. Once this is done, you should have the ```rustc``` compiler and the ```cargo``` build system installed in your path.
* **[cmake](https://cmake.org/download/)** (3.19 or newer)
* A C++ compiler that supports C++20 (e.g., **MSVC 2019 16.6** on Windows)