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:
Olivier Goffart 2021-06-30 17:20:49 +02:00
parent 05aae8339c
commit 423656d900
7 changed files with 11 additions and 11 deletions

View file

@ -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)

View file

@ -22,7 +22,7 @@ In your `Cargo.toml` add:
```toml
[dependencies]
sixtyfps = "0.0.6"
sixtyfps = "0.1.0"
```
And in your `main.rs`:

View file

@ -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:

View 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:

View 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);

View file

@ -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
```

View file

@ -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`: