mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Update some more version number
Meaning that following the docs or tutorial won't work until the release is complete
This commit is contained in:
parent
05aae8339c
commit
423656d900
7 changed files with 11 additions and 11 deletions
|
|
@ -39,7 +39,7 @@ include(FetchContent)
|
|||
FetchContent_Declare(
|
||||
SixtyFPS
|
||||
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
||||
GIT_TAG v0.0.6
|
||||
GIT_TAG v0.1.0
|
||||
SOURCE_SUBDIR api/sixtyfps-cpp
|
||||
)
|
||||
FetchContent_MakeAvailable(SixtyFPS)
|
||||
|
|
@ -110,7 +110,7 @@ include(FetchContent)
|
|||
FetchContent_Declare(
|
||||
SixtyFPS
|
||||
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
|
||||
GIT_TAG v0.0.6
|
||||
GIT_TAG v0.1.0
|
||||
SOURCE_SUBDIR api/sixtyfps-cpp
|
||||
)
|
||||
FetchContent_MakeAvailable(SixtyFPS)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ In your `Cargo.toml` add:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
sixtyfps = "0.0.6"
|
||||
sixtyfps = "0.1.0"
|
||||
```
|
||||
|
||||
And in your `main.rs`:
|
||||
|
|
|
|||
|
|
@ -65,11 +65,11 @@ In your Cargo.toml:
|
|||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
sixtyfps = "0.0.6"
|
||||
sixtyfps = "0.1.0"
|
||||
...
|
||||
|
||||
[build-dependencies]
|
||||
sixtyfps-build = "0.0.6"
|
||||
sixtyfps-build = "0.1.0"
|
||||
```
|
||||
|
||||
In the `build.rs` file:
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@ In your Cargo.toml:
|
|||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
sixtyfps = "0.0.6"
|
||||
sixtyfps = "0.1.0"
|
||||
...
|
||||
|
||||
[build-dependencies]
|
||||
sixtyfps-build = "0.0.6"
|
||||
sixtyfps-build = "0.1.0"
|
||||
```
|
||||
|
||||
In the `build.rs` file:
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
-->
|
||||
<script type="module">
|
||||
"use strict";
|
||||
//import * as sixtyfps from 'https://sixtyfps.io/releases/0.0.x/wasm-interpreter/sixtyfps_wasm_interpreter.js';
|
||||
import * as sixtyfps from 'https://sixtyfps.io/wasm-interpreter/sixtyfps_wasm_interpreter.js';
|
||||
import * as sixtyfps from 'https://sixtyfps.io/releases/0.1.0/wasm-interpreter/sixtyfps_wasm_interpreter.js';
|
||||
//import * as sixtyfps from 'https://sixtyfps.io/wasm-interpreter/sixtyfps_wasm_interpreter.js';
|
||||
|
||||
async function render_or_error(source, div) {
|
||||
let canvas_id = 'canvas_' + Math.random().toString(36).substr(2, 9);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ The tiles in the game should have a random placement. We'll need to add the <`ra
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
sixtyfps = "0.0.6"
|
||||
sixtyfps = "0.1.0"
|
||||
rand = "0.8" # Added
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Then we edit `Cargo.toml` to add the sixtyfps dependency:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
sixtyfps = "0.0.6"
|
||||
sixtyfps = "0.1.0"
|
||||
```
|
||||
|
||||
Finally we copy the hello world program from the [SixtyFPS documentation](https://sixtyfps.io/docs/rust/sixtyfps/) into our `src/main.rs`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue