Update dependencies in readme and docs

This commit is contained in:
Olivier Goffart 2023-04-03 07:37:09 +02:00
parent cae1ef1238
commit 34f41f35f1
3 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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