mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Bump version number in mcu docs
This commit is contained in:
parent
660dcd52b0
commit
a90a75266d
1 changed files with 4 additions and 4 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue