mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-02 12:58:23 +00:00
Update MSRV to rust 1.59 in the CI and documentation
This is only required for dependencies of slint-build and xtask. So this is not enforced yet and will still work with 1.56 with for C++ or when not using slint-build.
This commit is contained in:
parent
e85e69fda0
commit
452bc2a696
7 changed files with 6 additions and 7 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, macOS-11, windows-2019]
|
||||
rust_version: [stable, 1.56]
|
||||
rust_version: [stable, 1.59]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ All notable changes to this project are documented in this file.
|
|||
- On wasm, the input event are handled via a hidden `<input>` element, allowing the keyboard
|
||||
to show on mobile platform
|
||||
- The size of the window is kept when reloading a window in the preview (instead of being reset to the preferred size)
|
||||
- Minimum rust version is now 1.59
|
||||
|
||||
### Added
|
||||
|
||||
|
|
|
|||
|
|
@ -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.56 or newer. You can check which version you have installed
|
||||
have Rust installed, make sure that it's at least version 1.59 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)
|
||||
|
|
|
|||
|
|
@ -63,4 +63,4 @@ cargo run --release --bin printerdemo
|
|||
|
||||
### Minimum Supported Rust Version
|
||||
|
||||
This crate's minimum supported `rustc` version is `1.56.0`.
|
||||
This crate's minimum supported `rustc` version is 1.59.
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ This guide lists all API incompatible changes between major versions and describ
|
|||
|
||||
## Migrating from Version 0.1.x to 0.2.0
|
||||
|
||||
In 0.2.0 we have increased the minimum version of rust. You need to have rust compiler version >= 1.56 installed.
|
||||
|
||||
### Models
|
||||
|
||||
#### `Model::row_data`
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ This page explains how to build and test Slint.
|
|||
### Installing Rust
|
||||
|
||||
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.56 or newer. You can check which version you have installed
|
||||
have Rust installed, make sure that it's at least version 1.59 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.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ In this tutorial, we use C++ as the host programming language. We also support o
|
|||
You will need a development environment that can compile C++20 with CMake 3.19.
|
||||
We do not provide binaries of Slint yet, so we will use the CMake integration that will automatically build
|
||||
the tools and library from source. Since it is implemented in the Rust programming language, this means that
|
||||
you also need to install a Rust compiler (1.56). You can easily install a Rust compiler
|
||||
you also need to install a Rust compiler (1.59). You can easily install a Rust compiler
|
||||
following the instruction from [the Rust website](https://www.rust-lang.org/learn/get-started).
|
||||
We are going to use `cmake`'s builtin FetchContent module to fetch the source code of Slint.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue