Bump version number in mcu docs

This commit is contained in:
Simon Hausmann 2024-01-31 09:11:01 +01:00
parent 660dcd52b0
commit a90a75266d

View file

@ -29,7 +29,7 @@ Start by adding a dependency to the `slint` and the `slint-build` crates to your
Start with the `slint` crate like this:
```sh
cargo add slint@1.3.0 --no-default-features --features "compat-1-2 unsafe-single-threaded libm"
cargo add slint@1.4.0 --no-default-features --features "compat-1-2 unsafe-single-threaded libm"
```
The default features of the `slint` crate are tailored towards hosted environments and includes the "std" feature. In bare metal environments,
@ -51,7 +51,7 @@ This is the default when using the Rust 2021 Edition, but not if you use a works
Then add the `slint-build` crate as a build dependency:
```sh
cargo add --build slint-build@1.3.0
cargo add --build slint-build@1.4.0
```
For reference: These are the relevant parts of your `Cargo.toml` file,
@ -67,11 +67,11 @@ edition = "2021"
## ... your other dependencies
[dependencies.slint]
version = "1.3.0"
version = "1.4.0"
default-features = false
features = ["compat-1-2", "unsafe-single-threaded", "libm"]
[build-dependencies]
slint-build = "1.3.0"
slint-build = "1.4.0"
```
## Changes to `build.rs`