build a rust desktop app with slint.
cargo run to run it.
- Install Rust
- Install cargo-generate
cargo install cargo-generate
- Set up a sample project with template.
cargo generate --git https://github.com/slint-ui/slint-rust-template --name <project-name>
cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name <project-name>
- docker
docker init docker build --tag <iamge-name> . docker run <image-name> docker stop <image-name>