Update version number in docs

This commit is contained in:
Olivier Goffart 2022-10-28 09:36:24 +02:00
parent 3d2daf6073
commit 17aa0d7203
6 changed files with 8 additions and 8 deletions

View file

@ -17,11 +17,11 @@ In your Cargo.toml:
build = "build.rs"
[dependencies]
slint = "0.3.0"
slint = "0.3.1"
...
[build-dependencies]
slint-build = "0.3.0"
slint-build = "0.3.1"
```
In the `build.rs` file:

View file

@ -22,7 +22,7 @@ In your `Cargo.toml` add:
```toml
[dependencies]
slint = "0.3.0"
slint = "0.3.1"
```
And in your `main.rs`:

View file

@ -72,11 +72,11 @@ build = "build.rs"
edition = "2021"
[dependencies]
slint = "0.3.0"
slint = "0.3.1"
...
[build-dependencies]
slint-build = "0.3.0"
slint-build = "0.3.1"
```
Use the API of the slint-build crate in the `build.rs` file:

View file

@ -37,7 +37,7 @@ default-features = false
features = ["compat-0-3-0", "unsafe-single-threaded", "libm"]
[build-dependencies]
slint-build = "0.3.0"
slint-build = "0.3.1"
```
The default features of the `slint` crate are tailored towards hosted environments and includes the "std" feature. In bare metal environments,