doc: Simplify Getting Started for Rust

There's no need anymore to use cargo-generate.
This commit is contained in:
Simon Hausmann 2024-09-11 08:21:58 +02:00 committed by Simon Hausmann
parent 8859be7695
commit b8c6a09a94

View file

@ -134,11 +134,10 @@ Run the example with `npm start` and a window appears with the green "Hello Worl
We recommend using [rust-analyzer](https://rust-analyzer.github.io) and [our editor integrations for Slint](https://github.com/slint-ui/slint/tree/master/editors) for following this tutorial.
Install the [template](https://github.com/slint-ui/slint-rust-template) with the following commands:
Clone or download the template repository:
```sh
cargo install cargo-generate
cargo generate --git https://github.com/slint-ui/slint-rust-template --name memory
git clone https://github.com/slint-ui/slint-rust-template memory
cd memory
```