Remove additional reference to cargo-install

This commit is contained in:
Simon Hausmann 2024-09-11 09:01:37 +02:00 committed by Simon Hausmann
parent cc97571af0
commit 6868052dd1
2 changed files with 6 additions and 9 deletions

View file

@ -46,12 +46,11 @@ fn main() {
The [`slint` crate documentation](https://slint.dev/docs/rust/slint/)
contains more advanced examples and alternative ways to use this crate.
To quickly get started, you can use the [Template Repository](https://github.com/slint-ui/slint-rust-template) with
the code of a minimal application using Slint that can be used as a starting point to your program.
To quickly get started, use the [Template Repository](https://github.com/slint-ui/slint-rust-template) with
the code of a minimal application using Slint as a starting point for your program.
```bash
cargo install cargo-generate
cargo generate --git https://github.com/slint-ui/slint-rust-template
git clone https://github.com/slint-ui/slint-rust-template my-project
```
## More examples

View file

@ -95,13 +95,11 @@ fn main() {
}
```
The [cargo-generate](https://github.com/cargo-generate/cargo-generate) tool is a great tool to up and running quickly with a new
Rust project. You can use it in combination with our [Template Repository](https://github.com/slint-ui/slint-rust-template) to
create a skeleton file hierarchy that uses this method:
Use our [Template Repository](https://github.com/slint-ui/slint-rust-template) to create a skeleton file
hierarchy that uses this method:
```bash
cargo install cargo-generate
cargo generate --git https://github.com/slint-ui/slint-rust-template
git clone https://github.com/slint-ui/slint-rust-template my-project
```
## Generated components