Skip to content

UPB-CS-Rust/Rust-Workshop-Desktop-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator App Template

This repository contains a template for a simple calculator application built with Rust and Slint, used as part of Rust Workshop.

Purpose

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.

Requirements

  • Rust: Install Rust
  • Cargo: Included with Rust installation
  • Slint: Installable via cargo add slint

Project Structure

  • src/main.rs: Calculator backend logic (implemented in Rust).
  • ui/start_window.slint: User interface (created with Slint).

Features

  • Addition, subtraction, multiplication, and division.

How to Run the Application

  1. Clone this repository:

    git clone https://github.com/cristianaprecup/Rust-Workshop-Desktop-Application.git
    cd Rust-Workshop-Desktop-Application
  2. Install dependencies:

    cargo install slint-viewer
  3. Run the application:

    cargo run

Learning Through Practice

This template serves as a starting point to:

  • Build simple UIs with Slint
  • Implement application logic in Rust

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published