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/) The [`slint` crate documentation](https://slint.dev/docs/rust/slint/)
contains more advanced examples and alternative ways to use this crate. 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 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 that can be used as a starting point to your program. the code of a minimal application using Slint as a starting point for your program.
```bash ```bash
cargo install cargo-generate git clone https://github.com/slint-ui/slint-rust-template my-project
cargo generate --git https://github.com/slint-ui/slint-rust-template
``` ```
## More examples ## 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 Use our [Template Repository](https://github.com/slint-ui/slint-rust-template) to create a skeleton file
Rust project. You can use it in combination with our [Template Repository](https://github.com/slint-ui/slint-rust-template) to hierarchy that uses this method:
create a skeleton file hierarchy that uses this method:
```bash ```bash
cargo install cargo-generate git clone https://github.com/slint-ui/slint-rust-template my-project
cargo generate --git https://github.com/slint-ui/slint-rust-template
``` ```
## Generated components ## Generated components