Update version information to 1.3.0

This commit is contained in:
Tobias Hunger 2023-09-25 13:31:59 +02:00 committed by Tobias Hunger
parent d6695c55cb
commit da7023a073
4 changed files with 9 additions and 9 deletions

View file

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

View file

@ -23,7 +23,7 @@ In your `Cargo.toml` add:
```toml
[dependencies]
slint = "1.2.0"
slint = "1.3.0"
```
And in your `main.rs`:

View file

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

View file

@ -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.2.0 --no-default-features --features "compat-1-2 unsafe-single-threaded libm"
cargo add slint@1.3.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.2.0
cargo add --build slint-build@1.3.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.2.0"
version = "1.3.0"
default-features = false
features = ["compat-1-2", "unsafe-single-threaded", "libm"]
[build-dependencies]
slint-build = "1.2.0"
slint-build = "1.3.0"
```
## Changes to `build.rs`