mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-25 13:43:50 +00:00
Update the version in docs
This commit is contained in:
parent
6dce5ab32e
commit
4844450d01
9 changed files with 12 additions and 12 deletions
|
|
@ -36,7 +36,7 @@ include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
SixtyFPS
|
SixtyFPS
|
||||||
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
||||||
GIT_TAG v0.1.2
|
GIT_TAG v0.1.3
|
||||||
SOURCE_SUBDIR api/sixtyfps-cpp
|
SOURCE_SUBDIR api/sixtyfps-cpp
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(SixtyFPS)
|
FetchContent_MakeAvailable(SixtyFPS)
|
||||||
|
|
@ -107,7 +107,7 @@ include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
SixtyFPS
|
SixtyFPS
|
||||||
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
||||||
GIT_TAG v0.1.2
|
GIT_TAG v0.1.3
|
||||||
SOURCE_SUBDIR api/sixtyfps-cpp
|
SOURCE_SUBDIR api/sixtyfps-cpp
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(SixtyFPS)
|
FetchContent_MakeAvailable(SixtyFPS)
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
SixtyFPS
|
SixtyFPS
|
||||||
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
||||||
GIT_TAG v0.1.2
|
GIT_TAG v0.1.3
|
||||||
SOURCE_SUBDIR api/sixtyfps-cpp
|
SOURCE_SUBDIR api/sixtyfps-cpp
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(SixtyFPS)
|
FetchContent_MakeAvailable(SixtyFPS)
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
SixtyFPS
|
SixtyFPS
|
||||||
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
||||||
GIT_TAG v0.1.2
|
GIT_TAG v0.1.3
|
||||||
SOURCE_SUBDIR api/sixtyfps-cpp
|
SOURCE_SUBDIR api/sixtyfps-cpp
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(SixtyFPS)
|
FetchContent_MakeAvailable(SixtyFPS)
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ In your `Cargo.toml` add:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sixtyfps = "0.1.2"
|
sixtyfps = "0.1.3"
|
||||||
```
|
```
|
||||||
|
|
||||||
And in your `main.rs`:
|
And in your `main.rs`:
|
||||||
|
|
|
||||||
|
|
@ -67,11 +67,11 @@ resolver = "2" # avoid dependency conflicts on some platforms
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sixtyfps = "0.1.2"
|
sixtyfps = "0.1.3"
|
||||||
...
|
...
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
sixtyfps-build = "0.1.2"
|
sixtyfps-build = "0.1.3"
|
||||||
```
|
```
|
||||||
|
|
||||||
In the `build.rs` file:
|
In the `build.rs` file:
|
||||||
|
|
|
||||||
|
|
@ -23,11 +23,11 @@ In your Cargo.toml:
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sixtyfps = "0.1.2"
|
sixtyfps = "0.1.3"
|
||||||
...
|
...
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
sixtyfps-build = "0.1.2"
|
sixtyfps-build = "0.1.3"
|
||||||
```
|
```
|
||||||
|
|
||||||
In the `build.rs` file:
|
In the `build.rs` file:
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
SixtyFPS
|
SixtyFPS
|
||||||
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
||||||
GIT_TAG v0.1.2
|
GIT_TAG v0.1.3
|
||||||
SOURCE_SUBDIR api/sixtyfps-cpp
|
SOURCE_SUBDIR api/sixtyfps-cpp
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(SixtyFPS)
|
FetchContent_MakeAvailable(SixtyFPS)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ The tiles in the game should have a random placement. We'll need to add the <`ra
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sixtyfps = "0.1.2"
|
sixtyfps = "0.1.3"
|
||||||
rand = "0.8" # Added
|
rand = "0.8" # Added
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ edition = "2018"
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sixtyfps = "0.1.2"
|
sixtyfps = "0.1.3"
|
||||||
```
|
```
|
||||||
|
|
||||||
The `resolver = "2"` line is there to avoid some errors because of conflicting dependencies on some platforms.
|
The `resolver = "2"` line is there to avoid some errors because of conflicting dependencies on some platforms.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue