mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Update dependencies in readme and docs
This commit is contained in:
parent
cae1ef1238
commit
34f41f35f1
3 changed files with 5 additions and 5 deletions
|
@ -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:
|
||||
|
|
|
@ -22,7 +22,7 @@ In your `Cargo.toml` add:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
slint = "0.3.4"
|
||||
slint = "1.0.0"
|
||||
```
|
||||
|
||||
And in your `main.rs`:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue