mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-22 08:12:48 +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"
|
build = "build.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
slint = "1.12"
|
slint = "1.13"
|
||||||
...
|
...
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
slint-build = "1.12"
|
slint-build = "1.13"
|
||||||
```
|
```
|
||||||
|
|
||||||
In the `build.rs` file:
|
In the `build.rs` file:
|
||||||
|
|
|
@ -24,7 +24,7 @@ In your `Cargo.toml` add:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
slint = "1.12"
|
slint = "1.13"
|
||||||
```
|
```
|
||||||
|
|
||||||
And in your `main.rs`:
|
And in your `main.rs`:
|
||||||
|
|
|
@ -75,11 +75,11 @@ build = "build.rs"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
slint = "1.12"
|
slint = "1.13"
|
||||||
...
|
...
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
slint-build = "1.12"
|
slint-build = "1.13"
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the API of the slint-build crate in the `build.rs` file:
|
Use the API of the slint-build crate in the `build.rs` file:
|
||||||
|
|
|
@ -72,7 +72,7 @@ version = "1.12"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["compat-1-2", "unsafe-single-threaded", "libm", "renderer-software"]
|
features = ["compat-1-2", "unsafe-single-threaded", "libm", "renderer-software"]
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
slint-build = "1.12"
|
slint-build = "1.13"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Changes to `build.rs`
|
## Changes to `build.rs`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue