mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-21 07:41:51 +00:00
Prepeare for release: update version in docs
This commit is contained in:
parent
085d122a04
commit
b900da1918
4 changed files with 6 additions and 6 deletions
|
@ -17,11 +17,11 @@ In your Cargo.toml:
|
|||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
slint = "1.12"
|
||||
slint = "1.13"
|
||||
...
|
||||
|
||||
[build-dependencies]
|
||||
slint-build = "1.12"
|
||||
slint-build = "1.13"
|
||||
```
|
||||
|
||||
In the `build.rs` file:
|
||||
|
|
|
@ -24,7 +24,7 @@ In your `Cargo.toml` add:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
slint = "1.12"
|
||||
slint = "1.13"
|
||||
```
|
||||
|
||||
And in your `main.rs`:
|
||||
|
|
|
@ -75,11 +75,11 @@ build = "build.rs"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
slint = "1.12"
|
||||
slint = "1.13"
|
||||
...
|
||||
|
||||
[build-dependencies]
|
||||
slint-build = "1.12"
|
||||
slint-build = "1.13"
|
||||
```
|
||||
|
||||
Use the API of the slint-build crate in the `build.rs` file:
|
||||
|
|
|
@ -72,7 +72,7 @@ version = "1.12"
|
|||
default-features = false
|
||||
features = ["compat-1-2", "unsafe-single-threaded", "libm", "renderer-software"]
|
||||
[build-dependencies]
|
||||
slint-build = "1.12"
|
||||
slint-build = "1.13"
|
||||
```
|
||||
|
||||
## Changes to `build.rs`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue