This repository contains a template for a simple calculator application built with Rust and Slint, used as part of Rust Workshop.
This template is designed for workshop participants to learn the basics of desktop application development with Rust for backend logic and Slint for the UI.
- Rust: Install Rust
- Cargo: Included with Rust installation
- Slint: Installable via
cargo add slint
src/main.rs
: Calculator backend logic (implemented in Rust).ui/start_window.slint
: User interface (created with Slint).
- Addition, subtraction, multiplication, and division.
-
Clone this repository:
git clone https://github.com/cristianaprecup/Rust-Workshop-Desktop-Application.git cd Rust-Workshop-Desktop-Application
-
Install dependencies:
cargo install slint-viewer
-
Run the application:
cargo run
This template serves as a starting point to:
- Build simple UIs with Slint
- Implement application logic in Rust