mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 15:17:25 +00:00
We don't need the resolver=2 with edition 2021
This commit is contained in:
parent
a45dcc1f9a
commit
e2ec76f9ef
3 changed files with 2 additions and 8 deletions
|
@ -15,15 +15,12 @@ Then we edit `Cargo.toml` to add the sixtyfps dependency:
|
|||
```toml
|
||||
[package]
|
||||
#...
|
||||
edition = "2018"
|
||||
resolver = "2"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
sixtyfps = "0.1.6"
|
||||
```
|
||||
|
||||
The `resolver = "2"` line is there to avoid some errors because of conflicting dependencies on some platforms.
|
||||
|
||||
Finally we copy the hello world program from the [SixtyFPS documentation](https://sixtyfps.io/docs/rust/sixtyfps/) into our `src/main.rs`:
|
||||
|
||||
```rust,noplayground
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue